• 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 Object that Creates Text at the Bottom of the Screen and Can be Changed from Room to Room

O

OmegaYoshi

Guest
I know how to draw text to the screen, and I know how to change where the text appears on screen. My main issue is that I do not know how to create text that can be changed from room to room. My knowledge on programming is next to none, and I would really like to implement this feature into my game. Any help is appreciated.
 

GMWolf

aka fel666
Probably the best way to go is with object variables.

Create an object to draw text on screen. Give it an object variable for the text to render.

Then, in each room, add the object, and change the object variable in each room to say what you need.
 
Top