Zahk
Member
So in the Draw GUI event of an object, I have the code:
Which, as far as I can tell, should draw the value of the player's x position at the player's x/y coordinates. However, it instead draws the text about 14 pixels left and 40 pixels up from the player's x position.
I haven't changed the text alignment anywhere, and I've made sure obj_player's origin is where it should be, so I really have no idea why it's not printing the text at the player's origin point.
Any ideas?
Code:
draw_text_ext(obj_player.x, obj_player.y, obj_player.x, -1, 50000);
I haven't changed the text alignment anywhere, and I've made sure obj_player's origin is where it should be, so I really have no idea why it's not printing the text at the player's origin point.
Any ideas?