Hello All,
As I keep progressing working on my very first game on C3... I'm experimenting things.
on my actual game things are much more complex even for me to follow, so I re-create a minimalistic .capx with almost the same idea.
In my actual game-project I uses functions and animation priority so it's not exactly the same, I still want to see if I can re-create the solution on my game-project.
Cooldown:
My first attention was to make a Timer for the Cooldown, with no variables or anything but when I tried to do so I got confused and I tried a different approach which is "almost" working but not really.
I describe on the attached .capx how to create the BUG, but I'll explain it also in here in case you didn't download it yet. the Debug-Mode shows the issue as well.
The Bug:
If on the start of the level you'll press 'C' many times as fast as you can,
it will spawn more than 1 splash attack, that's the bug.
My goal is to limit attack to: only one per X time.
(probably less than a second but I will be able to change it).
Thanks ahead for any alternative stable solution.
Download .capx file HERE !