Trollsplatterer

Help, tutorials and examples for Game Maker

Infinite Stick War of Death V3
click to visit
The third remake of the epic, endless war God has started.

Spiral Lords
click to visit
Lead your empire to conquer the galaxy.
Endurance 3d
click to visit
A survival game with many weapons and enemies.

Paper Flight
click to visit
3D racing game with custom paper airplanes.
Home Search/Browse Comments Trollsplatterer You can help! Links
Terms&Conditions This website has been designed for Firefox Design by Trollsplatterer (©2017)

Health  download now


Health is used in almost every game. But in most games, you also need to show this health. This is very easy in GM, until you try to apply it to multiple instances. The predefined health in GM is a global variable. It can't be used for more than one character. This tutorial tells you how to get it right.

Ratings

General Rating
Your Rating*

Comments/Suggestions

By Comment
ttest
2017-08-09
Hacked
ttest
2017-08-09
alert(1);
Trollsplatterer
2010-12-21
Well, good luck with your game, then.
Anonymous
2010-12-17
Hiya troll! This is Ludwig X from YoYo. Thanks for this tutorial. It helped me in my game. :)
Trollsplatterer
2009-10-30
I'm glad to hear this, $MonehGames$. May your characters have much health :)
$MonehGames$
2009-10-30
Wow, this tutorial is awesome! In fact, all of your tutorials are awesome! Thnkas, this tutorial really helped Trollsplatterer.
Anonymous
2009-07-30
When I create a menu room, on my game.
I have text HP and ammo.

when I have a single room, all is fine.
But if I create a menu room that goes to another room
I always get this message:

Error in code at line 7:
draw_text(x,y-16,string(HP));

at position 26: Unknown variable HP

Please help me.

My Yoyo account name is ubermagivftw
please message me

Trollsplatterer
2009-03-25
If you need specific help, PM me on YoYo Games or send me an e-mail (info@trollsplatterer.be) with details on what you need and what your game looks like.
yoyoman
2009-03-25
help me make a hp bat for my game



* : The rating makes use of your IP-address to remember your vote. IP addresses may change, but your vote will be kept, even though it may no longer be visible here.