Demo Controls 

WASD to Move

Left Click to Shoot


Template Details

This is a gun template made for reuse in other projects.

Perfect for game jams (read the rules first) and if your lazy like I am and don't want to re-code bullets every single time you open up Godot.

Features

  •  Flamethrower
  •  Quick to set up
  •  Source code
  •  Damage dealing

Feel free to use the particles too, hope you like it!


Download

Download
gun_stuff.zip 8 kB

Install instructions


To use after you unzip the file add to your Godot project.

In your player or enemy script add the gun_container.tcsn to it and add a gun as a child of it. then to start firing call start_shooting() and stop_shooting() on the gun_container.

you can inherit the scripts to edit them or just copy them and make it your own.

to do damage just write a take_damage() function in the actor you want to take damage.

Leave a comment

Log in with itch.io to leave a comment.