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?
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.
Develop games in your browser. Powerful, performant & highly capable.
Yes! That works thanks