Shooting every x seconds

For questions about using Classic.

Post » Fri Apr 17, 2015 5:40 pm

What's up community !
So this time I want towers on my map to shot bullets at my main character every x seconds...
Is there any formula for this, all I did at the moment is make towers shot toward my main character every time I press space, but then if I press again the ''mid air'' bullets goes toward him too...
Thank you ! :)
Posts: 6
Reputation: 164

Post » Sat Apr 18, 2015 2:23 am

Hi Flex, here's an example of how to do that, if you want them to always shoot even if the towers aren't onscreen you can just remove the on-screen condition: ... ooting.cap

Hope that helps :) Also be sure to check out the examples from the link in my signature, you can grab the source code to my I Had Hope game on that blog too!
"Construct 4 lets YOU make advanced games! (but not play them)" Construct Classic - Examples Kit
Posts: 2,158
Reputation: 18,481

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 5 guests