This doesn't make much sense, probably why no one responded. You could provide an image demonstrating what you mean.
Compare enemy Y is less than player Y
Develop games in your browser. Powerful, performant & highly capable.
> Look at Layers bar and count them Lol, Of course I can do that but it changes all the time because I add things and I wanted it to be automatic and not change the number every time. There is no such thing as : Layers.count?
> Look at Layers bar and count them
Lol, Of course I can do that but it changes all the time because I add things and I wanted it to be automatic and not change the number every time.
There is no such thing as : Layers.count?
Hehe I know. There isn't anything like this, there really isn't a reason to use number of layers in events and logic.
Look at Layers bar and count them
Where is the challenge with this game? The player has HP but the enemy never attacks.
You do not have permission to view this post
Under properties there is an option called 'First layout'
1. You are using global variable and not fly instance variable for health
2. Not sure what this means, from what I can see you can keep shooting the box to spawn flies
3. Seems like a bug linked to 1. so changing that should fix it
I guess Sleep is another status like the others so check when Drowsy is 0, then add some value to Sleep. If it's normally 0 when it's not activated then you could instead add a condition if it's 1 then subtract 1 and apply Sleep.
Member since 5 Aug, 2013