Time Travel Extension

Back

Beta Version 0.8

This extension allows easy to use time manipulation. With only a few lines of code, you can easily go back in time in one of your games.

Here's how it works:

1. You initialize the system with time_system_init()

2. You initialize each object or instance you want to track with time_instance_init()

3. You track the variables you want to be able to go back in time with using the time_track_create functions in each instance you want to track. Examples of variables to track are x, y, speed, direction, image_index, and any alarms you use (use time_track_create_local_array("alarm",0) to track alarm[0], and so on).

4. Have a control object call time_system_record() every step to store the data.

5. When you want to go back in time, stop recording and call time_system_play every step. To change your position (go back in time), use the time_system_time functions.

That's it!

Download:

GMC Link

GMbase Extensions
web metrics