You can use on created sprite trigger and do your matching test
Glad to help
Hi,
No he means that you need to add a global variable "GameOver" for example and set it to 1 when the plane is dead.
Then you add a condition on your star generation to avoid generating them when GameOver = 1
What kind of condition do you need for losing the game ?
You lose if they don't match?
In your sample you set events in eventsheet 2 but layout 1 is linked to eventsheet 1, you should move your events on the right eventsheet
Also the important thing is the condition before the first for each to be sure this part of code won't be executed continuously
I would do :
For each Turrets
-- For each TurretsBonus
---TurretsBonus is Overlapping turretRange -------------> set Turrets range to Turrets.Turret.Range *1.5
capx
Develop games in your browser. Powerful, performant & highly capable.
you could make the code for each sequence you need and use a round(random(0,X)).
So when round(random(0,X)) = 1 you could call the code for sequence 1...
Could you post a sample ? it will be easier to help.
Could you send a sample capx?
You are welcome
Member since 20 Aug, 2012