Hi there,
I'm trying to make a health bar of some sort and I decided to use a variable. Is there a way to check "if health = 0" in any way?
Is there also a way to go through a level? I understand the idea of "broadcast" but is there a way to reset it to false?
Thanks!
Offline
if <(health) = (0)> do stuff end
m00nbeam360 wrote:
Is there also a way to go through a level? I understand the idea of "broadcast" but is there a way to reset it to false?
I dont understand what you mean by this.
Offline
Wow, that's absolutely perfect! Thanks so much, now I know what the rounded pieces are for! I'm trying to figure out how to go to the next level but not go through multiples at the same time. Ideas?
Offline
Put these on the stage and make each "Level" as a seperate background. Make sure the level backgrounds are in the right order (background#1 = Level 1, background#2 = Level 2, etc)
when gf clicked set [level v] to (1) forever switch to background (level)
when I receive [levelup v] change [level v] by (1)Then whenever you want to level-up, just use
broadcast [levelup v]
Offline
Actually, you might want to use broadcast and wait so that the levels don't go up to much.
Offline