This is an example on how to build a game with time reversal. I made it as a platformer in which you reverse time by pressing SPACE. Then you can change the rewind speed with arrow keys. It was made using Game Maker 8 (this is .gmk file).