Fire Rate for a gun!

2
  • 6 favourites

Stats

2,050 visits, 2,813 views

Tools

License

This tutorial is licensed under CC BY 4.0. Please refer to the license text if you wish to reuse, share or remix the content contained within this tutorial.

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!