Hello,
I'm working on a simple fight script.
At some moments the camera moves to the right and back to the left.
For what I understand:
Unlike the objects whose positons are based on the background, the GUI's positions are based on the camera.
So when I move the camera to the right, the objects stay in place but the GUI's move along with the camera movements.
I need those GUI's to stay at the same place, like the objects.
The reason is that I need to show the player's and enemy's health (in numbers) and for what I know I can only do this with a GUI using a global variable.
I tried to use an invisible character to "Say" the health points in room_RepExec() but there's that flicker at every "update".
Any ideas (if it's possible) to kind of "lock" the GUI's so that they don't follow the camera movements?
Thanks!
I'm working on a simple fight script.
At some moments the camera moves to the right and back to the left.
For what I understand:
Unlike the objects whose positons are based on the background, the GUI's positions are based on the camera.
So when I move the camera to the right, the objects stay in place but the GUI's move along with the camera movements.
I need those GUI's to stay at the same place, like the objects.
The reason is that I need to show the player's and enemy's health (in numbers) and for what I know I can only do this with a GUI using a global variable.
I tried to use an invisible character to "Say" the health points in room_RepExec() but there's that flicker at every "update".
Any ideas (if it's possible) to kind of "lock" the GUI's so that they don't follow the camera movements?
Thanks!