"Super meatboy"-ish replay
- by Ron
I'm making a platformer built from mini-levels - and I want to create a sort of a replay of all the player tries that the player did for the level.
My question is - what is the best way to record the player's actions in-game, so that I could replay them later when he finishes the level.
I thought about recording only the player's input and replay them later on, each on a clone of the player.
The problem I have with this is with dynamic obstacles (that could be moved around) - if one clone moves them, it throws the simulation off for the rest of the clones.
So then I thought about recording every frame the X/Y of the player, and then just replay it - but that seems it could cause a major memory leak and very ineffective.
So - does anyone have any ideas? :)