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 ! :)
B
2
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: https://dl.dropboxusercontent.com/u/471 ... 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
B
108
S
38
G
17
Posts: 2,172
Reputation: 18,964


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 1 guest