Cloud game data

Store and retrieve player progress, settings, and state across sessions using PozyGame's built-in cloud data layer.

Saving data

// Save player progress await sdk.data.set("playerProgress", { level: 12, score: 4800, unlockedItems: ["sword", "shield"] });

Loading data

// Retrieve saved data const progress = await sdk.data.get("playerProgress"); if (progress) { loadLevel(progress.level); setScore(progress.score); }

Deleting data

// Delete a key (e.g. on account reset) await sdk.data.delete("playerProgress");
Cloud saves automatically sync to the player's PozyGame account. Guest users receive local session storage as a fallback — their data will not persist after the browser tab is closed.

Limits