PDA

View Full Version : Rewinding replays


X-Ray99
7 Oct 2009, 19:52
Hey!

I have been browsing several sites looking for the answer but I didn't come across with anything, not even mentioning this...

So: is there a way to rewind the replay in WA?

CyberShadow
7 Oct 2009, 19:56
You mean by pressing R? (see http://worms2d.info/Controls)

X-Ray99
7 Oct 2009, 20:04
Well, I meant like a fast-forward, just fast-backward.
I was checking THIS (http://wormsarmageddon.team17.com/main.html?page=abou&area=cont) list.

Melon
7 Oct 2009, 20:18
Well, I meant like a fast-forward, just fast-backward.
Jumping back to a previous position (as Cybershadow mentioned) is as good as it's going to get without some sort of serious overhaul on how replays work. The replays currently work as a sort of "keylog", where the replay file stores what commands you gave the game and then plays it back (well it's not exactly like this in all respects but I think that description is close enough). In order to play it backwards you'd need to store everything's position at every frame, or something similar, but with up to 48 worms and 200+ mines potentially on the landscape this is unfeasible.

Honestly, I'm not even sure if replay re-winding is possible in any sort of practical way. It'll probably never happen.

X-Ray99
7 Oct 2009, 21:49
Thank you for this detailed answer! :)

Explorer
8 Oct 2009, 13:16
I was checking THIS (http://wormsarmageddon.team17.com/main.html?page=abou&area=cont) list.

By the way, one of the keys on THAT page is different now. In v3.6.19.7 or later, the S key no longer slows down the replay, but pauses (stops) it instead. To slow it down, use "Shift + number keys".

GreeN
8 Oct 2009, 16:47
More realistically then, (Assuming you don't need this complete feature unless you're making a video, in which case the effect could be applied with video editing tools anyway), could we not implement rewinding to certain points? I.e. 5secs ago, 10 secs ago, etc.?

Or would that require starting the replay from the beginning of the game each time anyway, then fast forwarding?

GoDxWyvern
8 Oct 2009, 17:01
Or would that require starting the replay from the beginning of the game each time anyway, then fast forwarding?
Yep, it would. :)

Muzer
8 Oct 2009, 21:16
That could still be automated though; the playback at feature does it near enough, so it shouldn't be too hard to implement a function that rewinds then simulates playback at... up until 5 mins before previous time.