Jump to content
Posted 03 May 2011 - 06:36 PM
Posted 03 May 2011 - 09:41 PM
Posted 04 May 2011 - 03:18 AM
Posted 04 May 2011 - 12:25 PM
Posted 04 May 2011 - 06:24 PM
Posted 05 May 2011 - 08:06 AM
Without reading the article, or have any prior experience of writing replays, here's what my brain came out with:
1. Fixed-rate framerate. 30fps, or whatever. At least the logic part of your game, if you go with multithreaded.
2. Record all actions with timestamps and frame when they occur. Actions should also record all randomized values.
3. You are going to end up with a long list of actions.
4. Replay them.
Posted 05 May 2011 - 01:59 PM
Posted 06 May 2011 - 07:51 PM
I've already made the beginning of a 2d (4p max) multiplayer game on ipad. I'm using cocos2d. The games last maximum 1 minute. I want to get a replay of the most epic ones and use them to decorate the front menu (kind of sceensaver function)
I've already done some replay system (for the same game on PC), but they had some problems/bugs. Mainly from a lack of a consistent interface across all the game objects for replays. I know it's very vague sorry.
My question is, do you have any general advice on making a replay system ?
Even if it's stupid advice. Like "implement StartRecord() and StopRecord()", any advice from someone who has implemented one. Like a postmortem on gamasutra would be great