Hi everyone,
In the game I am developing, I have enemies coming down from the top, every time you get hit the score increases. I wanted to add an event: When the enemies reach the bottom, the score must decrease, I created the event but it does not work .. Why???
I put the link
dropbox.com/s/5sw86xlx544jo3z/Uno.capx
Because you set if enemy.Y<0 instead of enemy.Y>LayoutHeight or ViewportBottom.
Sorry..but not function !!!!!!
Another option compare enemy.Y > mc.y.
One more thing, you didn't set the text back to score when decrease it.
Notice that you should destroy it when it reached the bottom.
sorry I'm new to the program Construct 2, and your answer is not clear :-(
I mean you only set text when adding the score and forgot to set it back when decrease it.
You will need to compare Y of enemy > Your MC.Y
Then you destroy that Enemy to avoid the score keep decreasing.
thanks, but I solved with dop2000 ;-)
Develop games in your browser. Powerful, performant & highly capable.
That's all I want to tell you at the beginning.
But glad that you solved it.