Pages: 1
Topic closed
Hiya all,
I'm having difficulty doing a decreasable life meter on my games. Can anybody explain how you do it for the playable characters and non-playable ones?
It would really help,
Thanks in advance,
Calimero
Offline
well you want a variable, name it Health, and when something happens like u get attacked, tell the variable to decrease by what ever number u choose. but the number must have a negative before it
<change{ Health }by( -10 or whatever number
Last edited by Lanie (2008-02-29 15:23:14)
Offline
For some examples of the graphical representation of health, look here:
Offline
Thanks Lanie. I should of been able to do that actually
Offline
XP Another problem! (You might have guessed i haven't done many Scratch games before!) I've done the instructions that lanie posted and it's working fine... except you have to get the level of score exactly on 0 to end the game! how can you vary it from 0 to -100?
This is my first Scratch game so i haven't used many of the variables before as i've only done animation sorta stuff.
Calimero
Offline
Instead of
"If health = 0"
use
"If health <1
Offline
Lolz I should be able to work these out! You can see the frankly quite badly programmed demo on my profile.
Offline
Topic closed
Pages: 1