Soul the Wolf Posted January 4, 2009 Report Share Posted January 4, 2009 Hello guys, I using Game Maker 7, and wonders if someone can teach me to make a easy system of Time Travel, like the Sonic CD, using the Game Maker Language ... I am using the traditional engine 360 of Damezian. I hope to have help, thanks. Link to comment Share on other sites More sharing options...
Power Hedgehog Posted January 4, 2009 Report Share Posted January 4, 2009 Well, with time travel, I would say that it's best to use global variables for setting the current time zone, and changing the sprite index based on the current zone. Link to comment Share on other sites More sharing options...
Kain Posted January 4, 2009 Report Share Posted January 4, 2009 Using the tile_layer_hide( depth) and tile_layer_show( depth) functions along with the instance instance_deactivate_object( obj) and instance_activate_object(obj) functions, it's very simple to switch between time zones (you'd just have four or six layers of tiles and objects: foreground and background for each of past, present, future, etc). The hard part is designing a level with multiple time zones. Game Maker's level editor is not designed for making multi-layered levels. That's one of Game Maker's level editor's many falling points. Link to comment Share on other sites More sharing options...
CrypticSailor Posted January 7, 2009 Report Share Posted January 7, 2009 I would just use global variables as Power mentioned. Would be a bit of a pain with remembering what enemies were destroyed and rings collected x_x... perhaps a script that saves an array of all of these things globally and then loads them/edits when an object with that ID is affected? x_x. (btw I've never played the SCD game so I wouldnt know what Time Travel effects : P) Link to comment Share on other sites More sharing options...
Recommended Posts