Dr_Nomz
Member
so I managed to initialize a global variable (at least as far as the Debug menu is concerned) and now I want to draw it with a HUD object, but my old way doesn't seem to work for some reason.
It's like this:
obj_Control initializes variables upon creation.
obj_HUD Follows Character (step event, jump to position action) and draws them, like so:
*DRAW event for obj_HUD*
"Color = red"
"Font = fnt_1"
"draw_variable: global.equip_slot, x-50, y-50"
Only, even though both objects exist within the same room, nothing happens. This used to work great for displaying global variables, and even worked when I ran an older game on the same program. (gms1.4)
So am I doing something wrong?
It's like this:
obj_Control initializes variables upon creation.
obj_HUD Follows Character (step event, jump to position action) and draws them, like so:
*DRAW event for obj_HUD*
"Color = red"
"Font = fnt_1"
"draw_variable: global.equip_slot, x-50, y-50"
Only, even though both objects exist within the same room, nothing happens. This used to work great for displaying global variables, and even worked when I ran an older game on the same program. (gms1.4)
So am I doing something wrong?