Re: [GD-General] Sports Game Replay
Brought to you by:
vexxed72
From: Jamie F. <ja...@qu...> - 2005-01-25 13:20:05
|
That is the standard way to do it (of course, you only need to record the player inputs, everything else should drop out of the simulation; certainly this is the way we did it in Driver), although it can be a bit of a nightmare to get it working and keep it working. If you can spare the memory, you can add extra data to help keep the thing looking like a replay even when it fails, but that may or may not really help (and will almost certainly cover any bugs in the proper replay code). Things to watch out for: - If you have time delta dependent code, you need to replicate the deltas as well. - Initialize all class members properly, or you'll get different behaviour on replay. - Make sure you test multiple game cycles from early on, i.e. frontend -> game -> frontend -> game. - It's one of the areas which is amenable to automated unit and regression testing. - Random numbers can be bad. If you're using them, make sure you reinitialize with the right seed. Hmmm, that's about all that floats to the top of my brain at the mo. Jamie Brett Bibby wrote: > Hiya, > I think this is as good place as any to post this... > > We're just starting a new sports game project, and we have been asked to > provide replays of the action. We have done many sports games before, but > oddly none had a replay feature (was never requested before by publisher). > Anyways, can anybody provide any tips or insights into things we need to > watch out for or methods to support this feature? > > The game needs to run on the PS2 so memory and IO is limited. Our > characters use virtual controllers for all the movement so is it naive to > just compress and store controller inputs for everything and then rerun the > simulation with that? > > Cheers, > -bb > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Gamedevlists-general mailing list > Gam...@li... > https://lists.sourceforge.net/lists/listinfo/gamedevlists-general > Archives: > http://sourceforge.net/mailarchive/forum.php?forum_id=557 |