-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
I'm trying to figure out how to implement replays and ghost mode and I'm having trouble understanding it.
I imagine I will listen to event "start" for event.detail.opt_replay or event.detail.opt_ghostMod but then I have trouble figuring out, where I would store the data necessary for replication moves of the player/ghost.
In the docs, there is:
var saveState = data.saveState; // contains data you previously saved
var replayData = data.replayData;
var ghostData = data.ghostData;
var socialData = data.socialData;
for gamee.gameInit but for gamee.gameOver there is only mentioning of storing one object. I need to store some user personalisations/progress like in game Basketball Bunny and I want to avoid conflicts/confusion in Ghost Mode between data of the user playing, and data of the ghost player.
Any additional docs would be appreciated.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels