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