• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Warp next room at precise coordonate

Z

Zanguy

Guest
Hi everyone, am new to GameMaker.
I was wondering how to set up a system of warp for moving to another room,
something like in SuperMetroid (and yes I want to keep all power-up, life ...).

Is there any class like "interface" in GameMaker ?

Thanks for your help guys !
 
D

Diveyoc

Guest
There are a handful of tutorials on youtube. Just search for "game maker room transitions" or warp rooms and you'll find them. Most are brief, like 10-15 minute tutorials.
 
Z

Zanguy

Guest
Thanks for your response.
Is there any "interface" class (like in Java or another language object) in GameMaker ?
 
B

bojack29

Guest
No there are no interface classes like Java. A great idea for room warping is to simply use global variables. A warp object would be stationed at the door of something and when you touch it he would modify the warp variables based on his own instance variables
 
Z

Zanguy

Guest
Ok thanks for your advice ! Global variables stay when you change room ?
 
B

bojack29

Guest
Yes. Global variables are variables owned by the system and not any one object. These variables are constant no matter the room.
 
Top