• Hey! Guest! The 39th GMC Jam will take place between November 26th, 12:00 UTC and November 30th, 12:00 UTC. Why not join in! Click here to find out more!

Demo Instant replay / Time reversal Example

sprotz

Member
I have made an example project showing how time can be reversed a few seconds back and replayed. In this case, it is a replay of a football /soccer game. When a goal is scored, the replay is shown. The match AI is not perfect and I will keep working on it. This example includes all the source code. When the game starts, it is sped up tenfold, and when the replay begins, it is reduced to normal speed. It uses Arrays to store positions of each object for each frame.

Timereverse.png

Link: Time Reverse Example
 
Top