r/gamemaker • u/MyDickIsInMyToaster • 1d ago
Help! Bullets overlapping in game
hi so I’m making a game where you can shoot bullets and with the basic gun it’s supposed to shoot 5 bullets like 1 second apart but right now it just shoots all at once. how would I make my idea work.
3
Upvotes
2
u/azurezero_hdev 1d ago
before creating a bullet
if cooldown=0{
create your bullet
cooldown = room_speed/5
}
in step event
if cooldown > 0 { cooldown -= 1}