How do I

Get help using Construct 2

Post » Tue Mar 18, 2014 9:26 am

I have made a scroll shooter and decided to make the player bullet spawn by pressing space. But how do I make it so there's a very short delay to prevent the player from just spamming space spawning loads of bullets?
Last edited by ConradMAZE on Tue Mar 18, 2014 10:51 am, edited 2 times in total.
Posts: 11
Reputation: 201

Post » Tue Mar 18, 2014 10:34 am

there are many ways but probably the easiest is

on space pressed -- player spawn bullet
every 0.1 seconds

so you add a second condition WITH your testing for space pressed.
August 2015 - I misplaced a lot of links - I will try to find backups and repost. If You find a post that interests please reply to post with @rampackwobble and I will get a nudge!

If you find my posts useful please consider donating something to a local charity or to the
Posts: 1,194
Reputation: 30,902

Post » Tue Mar 18, 2014 10:52 am

Yes! That works thanks :)
Posts: 11
Reputation: 201

Return to How do I....?

Who is online

Users browsing this forum: supreme676 and 26 guests