{"repo":"JarLowrey/GodotWeapons","free":true,"listed":false,"github":"https://github.com/JarLowrey/GodotWeapons","clone":"git clone https://github.com/JarLowrey/GodotWeapons.git","description":"Weapon logic plugin for Godot","language":"GDScript","stars":82,"topics":["godot"],"license":"MIT","category":"game-templates","readme_excerpt":"Weapon Plugin for Godot Weapon bootstrapping in Godot 4.5, written in GDScript. What is a weapon? Essentially, I view it as a tool that can be used periodically. This project aims to flexibly implement tool/weapon usage and provide common components. How To View the examples in Test/ . Elevator Explanation A weapon is an action with a cooldown. This action may end immediately, after a time period, through an animation, or however you decide (just be sure to call end attack [or end action / end reload depending on situation]). Components can be added as direct children to modify the action's ability to start or end, and may have further customization options in the editor. This project aims to cover most common component needs, but you can extend them or add your own if you like. Base components - Ammo: Disables the gun when the capacity drops to zero. Could also work as Stamina - Charge: Disables the weapon when capacity is less than Max Capaciy. - AutoAttack: auto starts the attack upon entering the tree. Restarts the attack once it finished successfully - BoolBlocker: conditions/trigger to start/end action - BulletSpawner: for instancing scenes on weapon state change. For a bullet hell or intensive application, this should be refactored to pull from an object pool. - Magazine (includes reload action): a magazine. Must make children editable to customize via the Capacity and LongAction children nodes. - Combo: counts combos Util - Capacity: Parent class for Ammo, Charge, Mag","default_branch":null,"files":null,"tree":[],"storefront":"/r/JarLowrey","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/JarLowrey/GodotWeapons/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}