Simplesmente incrível!! Eu tava procurando um tutorial que fazia EXATAMENTE isso, to muito supreso que achei especificamente como eu queria. A única coisa que mudei foi o sistemade movimento (que eu já tinha) e o Draw GUI eu mudei pra Draw event pq não queria que ficasse em cima de todas as camadas da tela. Mas foi perfeito!! Muito obrigado pelo tutorial ❤
For some reason my sprite is incredibly small, and when the meter is at 25% is starts depleting backwards?? Everything else works as intended tough, thanks for the tutorial!
Awesome tutorial man, not sure if you'd know but can you make it so that you press a button and it takes off a chunk of stamina? Like for attacks or something?
If you have a attack if statement you could embed it into that for example if(keyboard_check(ord("Attack key"))}{ //Run attack code global.stamina -= 25; } or something similar to that. Since it's a global variable you can access it in anything without having to reference the object. So using "global.stamina +=/ -= / ==" works in any object / function
I got it working great, but one thing I am stuck on is how do you disable for example I am using key X to attack? I am not sure how to disable that keyboard letter when my stamina is 0.
@@ukrainianbimba199 since you seem to be active, i keep getting errors in this line of code: max(0,global.stamina/global.staminamax),1,0,c_white,1); do you know what the problem is?
Wow this is honestly fantastic, super clear and quick. Thanks so much for the video!
Love the simplicity of your codes. You explain everything and showing the long way before learning to create shortcuts. Keep it up man
Thanks! Means a lot :)
Simplesmente incrível!! Eu tava procurando um tutorial que fazia EXATAMENTE isso, to muito supreso que achei especificamente como eu queria. A única coisa que mudei foi o sistemade movimento (que eu já tinha) e o Draw GUI eu mudei pra Draw event pq não queria que ficasse em cima de todas as camadas da tela. Mas foi perfeito!! Muito obrigado pelo tutorial ❤
Now thats what Im talking about, keep it up bro, you deserve much more attention than you get : )
Thank's very much :)
Always nice to see more GMS content out there.
Thank you I plan to continue making tutorials and other videos to do with GM:S so stay tuned :)
Always nice to see informative videos
great work
You're A God To New People
For some reason my sprite is incredibly small, and when the meter is at 25% is starts depleting backwards?? Everything else works as intended tough, thanks for the tutorial!
Very useful, clean code and impressive result. I like short but focused videos as this one. Well done man!
my guy thank u so much!!
Thank you dude!)) You helped me very much)))
No problem :) Thanks for the support!
Awesome tutorial man, not sure if you'd know but can you make it so that you press a button and it takes off a chunk of stamina? Like for attacks or something?
If you have a attack if statement you could embed it into that for example
if(keyboard_check(ord("Attack key"))}{
//Run attack code
global.stamina -= 25;
}
or something similar to that. Since it's a global variable you can access it in anything without having to reference the object. So using "global.stamina +=/ -= / ==" works in any object / function
I got it working great, but one thing I am stuck on is how do you disable for example I am using key X to attack? I am not sure how to disable that keyboard letter when my stamina is 0.
can anyone help me?? I want to draw the GUI above the player'head, how can I do this?
I know I'm three years late but I'm trying to do the same thing except im just trying to make it below the player. Did you figure it out?
don’t know if you still need it, but you can update position of gui on step event setting it to player’s x and y coordinates)
@@ukrainianbimba199 since you seem to be active, i keep getting errors in this line of code: max(0,global.stamina/global.staminamax),1,0,c_white,1);
do you know what the problem is?
6:38