• 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!

GML How to Make Room System?

A

Arda Öztürk

Guest
I want to make a lobby which you can enter like 5 coins or 10 coins and we have like 20 coins. How I can substract 10 coins from our 20 coins and save it?
 
Last edited by a moderator:

Psycho_666

Member
Learn how to use global variables. They transition from room to room.
If you wish to save those inbetween different play sessions, then we are talking external files.
 
L

lemonhead

Guest
Or you could have a persistent controller object in the room which stores as an instance variable.
 
Top