I'm working on a simple project (link) to teach myself the platform and got most things down to have something resembling a 'game'.
Now I'm looking into more complex triggers and mechanisms. I've tried out everything I can think of and can't make this to work:
Trigger after every 'X' amount of 'Y'.
For example;
- trigger reload every 12 shots
- spawn a power up every 20 kills
- increase health/damage of enemies every 100 score points
- enemy has a chance to shoot a nuke (or something) with chance increasing every 10 'regular' shots
I figure I could make it work by using arrays (haven't gotten that far yet). I'm sure it's a very easy solution for anyone with actual experience.
Thanks for the help in advance!