"Super meatboy"-ish replay

Posted by Ron on Game Development See other posts from Game Development or by Ron
Published on 2012-12-19T16:08:21Z Indexed on 2012/12/19 17:14 UTC
Read the original article Hit count: 265

Filed under:
|
|

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? :)

© Game Development or respective owner

Related posts about physics

Related posts about Platformer