> 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.
It is because tile movement moves on a grid so it's trying to move to the grid position from the previous layout (because the object is global). Instead of set x, use set to grid position 0,4 or 0,5 they are the entrance locations.
Member since 5 Aug, 2013