L
leonardopixelpro
Guest
Hello. I have tried multiple times to get a string of text (in the color white) at a location on the screen, with no result. what I am trying to achieve is a number to serve as a health counter using a number instead of a more modern health bar or hearts for health. I am trying to make a game likewise to Undertale, but with a IDLE clicker style of game-play.
things i have tried:
HP = 20;
draw_text(304, 80, string(HP));
i have also tried
HP = 20;
draw_text_colour(304, 80, string(HP), c_white, c_white, c_white, c_white, c_black);
even just displaying something like
draw_text(304, 80, "Hello world");
will NOT work.
I have also tried with blocks:
---Script---
HP = 20;
---Draw Text---
text: HP
X:304
Y:80
The Co-ordinates X:304 Y:80 Are Directly Underneath The Word Health
If anyone knows of My error, even though it is most likely obvious.
I have done things exactly as the Gamemaker:Studio Documentation instructs to do.
===================================================================
Please, I Have Tried Everything, unless there is a glitch in the windows 8.1 version that is not on MAC or OSX, Or LINUX, Or STEAM?
Please Help... I am very frustrated...
things i have tried:
HP = 20;
draw_text(304, 80, string(HP));
i have also tried
HP = 20;
draw_text_colour(304, 80, string(HP), c_white, c_white, c_white, c_white, c_black);
even just displaying something like
draw_text(304, 80, "Hello world");
will NOT work.
I have also tried with blocks:
---Script---
HP = 20;
---Draw Text---
text: HP
X:304
Y:80
The Co-ordinates X:304 Y:80 Are Directly Underneath The Word Health
If anyone knows of My error, even though it is most likely obvious.
I have done things exactly as the Gamemaker:Studio Documentation instructs to do.
===================================================================
Please, I Have Tried Everything, unless there is a glitch in the windows 8.1 version that is not on MAC or OSX, Or LINUX, Or STEAM?
Please Help... I am very frustrated...