GameJolt hosting

Chat about anything not covered in these forums, but keep it civil!

Post » Tue Mar 10, 2009 10:49 pm

Timescale would most like not enter into any sort of custom playback/rewind control scheme, and timedelta is pretty much only used for moving things relatively in regards to framerate, regardless of whether you're going "in reverse."

You would have to record all player movement periodically in an array or some such, logging player speed, x/y, direction, etc. as a sort of script to follow. When rewinding, run the script backwards. When spawning a copy, give the copy the script to follow. It would all be terribly complex and more than likely require a 100% custom movement engine to work properly.
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Wed Mar 11, 2009 12:08 am

youd need to save the movement for each frame before that moment and hold about 600 frames or wtv depending on how long the time rewind can be set, or hold information like when the player moved right and for how long, when he jumped and ect, then find a way to play that backwards.
B
52
S
7
G
6
Posts: 1,945
Reputation: 7,610

Previous

Return to Open Topic

Who is online

Users browsing this forum: No registered users and 5 guests