TMAJA thanks that worked
i have else problem
i add other variables
recoil (how fast enemy gun shoots)
burst (how many projectiles spawn when timer is 0)
Your timer for each enemy working
but recoil and burst is for all enemy at once
Please download again this same capx
Or someone else please
Hi IGDev,
(Im on my mobile, cant load/open your project, so I hope I can help otherwise ;D )
you could try giving your enemy objects instance variables (or if you are working with families, give it to them), one for each. With a "for each" event you could check every enemy on your layout; reduce their individual variables by X every X triggers (or seconds, however you want it to be). A third condition inside your for-each loop could check if the variable is = X (compare instance variable) and then trigger other events (hope you got how I mean it ).
But be warned (if you have not had performance issues ever with C2), speaking about mobile games, "Every X seconds"-events *may* have a *huge* impact on cpu usage; if you plan having many enemies onscreen you possibly need an another solution for this (of course it depends on which device you have, its cpu, GHz, etc....).
Hope I helped. Regards
Proxy