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