Fire Rate for a gun!

Stats

1,154 visits, 1,644 views

Tools

Sometimes, when you create a character who has a gun or throws something, you use "when key is down - Shoot" or "Mouse button is down - Shoot", but when you try it, you see that the bullet spawn infinitely in your gun and you just want a bullet every X seconds. How do we do this?

First you have to create an event that says: "When key is down" and then add a Sub event that says: "Every X seconds - (player) spawn object on (layer) (image point).

So that's all, now you can create a more realistic gun to your character.

  • 0 Comments

  • Order by
Want to leave a comment? Login or Register an account!