Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
Hello everyone .. in the game I'm developing I wanted that when the enemies, who come down from the top, when they come out of the screen, the score decreased by one point .. but this does not happen .. Why??? .. I attach the file
Develop games in your browser. Powerful, performant & highly capable.
Because you create the enemy at Y=200. Condition "Enemy.Y<0" is never true.
It's also easier to subtract 1 point from score in event #5 where the enemy is created.
sorry... but how do you subtract a point from the # 5 event ???
How do you currently subtract 1 point? Do the same but in event #5 :)
I'm stupid ... it does not work
I put the link
It does work, you just need to update the text on the screen (set text to "Punti="&Punti), you currently doing this only once on start of the layout.
Also, you don't need event #7 anymore
I want to cry ... it does not work
Oh, man, you mean when you don't kill the enemy and it disappears below the bottom of the screen - then you want to subtract 1 point? I'm sorry, I misunderstood your, that "Enemy.Y<0" condition confused me.
it works ;-) I really wanted this, I adapted it to my needs ... thank you very much.
sorry if I did not understand from the beginning