Ammo Generator is a powerful tool designed for the Godot game engine. It simplifies the creation and management of ammunition properties within game projects, allowing developers to define attributes such as animation sequences for different types of ammunition, associated weapon names, autofire capabilities, and more.
- Ammo Animations: Easily define and manage animations for different ammunition types.
- Weapon Integration: Associate ammunition with specific weapon names.
- Autofire Support: Configure autofire capabilities for weapons.
- Custom Properties: Add custom properties to ammunition as needed.
- Clone the repository:
git clone https://github.com/ShadowSL3/ammo-generator.git
- Import into Godot:
- Open Godot and import the project by navigating to the cloned repository folder.
-
Creating Ammo Types:
- In the Godot editor, create a new Ammo resource by navigating to
Scripts
->Ammo
->New Ammo
. - Set the properties such as
Weapon Name
,Autofire
, andAnimations
in the Inspector.
- In the Godot editor, create a new Ammo resource by navigating to
-
Assigning Ammo to Weapons:
- Drag and drop the Ammo resource to the desired weapon node in the scene.
- Configure the weapon to use the specified Ammo resource.
-
Customizing Animations:
- Use the AnimationPlayer node to define and customize animations for each Ammo type.
- Link the animations in the Ammo resource properties.
Watch a demonstration of Ammo Generator in action:
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature-name
- Make your changes.
- Commit your changes:
git commit -m "Add some feature"
- Push to the branch:
git push origin feature/your-feature-name
- Open a Pull Request.
Modify Code gd onready
Who Godot 4.0 changed Remove standard keywords onready Now Godot 4.0 Support only gd @export var WeaponName : String
This example show Changed godot Resource Is Example Godot Change Only Script You Use only @ in the other project or implementation contains only @
This project is licensed under the GNU General Public License v3.0. See the LICENSE file for details.
- Thanks to the Godot community for their support and contributions.
- Inspired by various open-source projects and game development tools.
This project is constantly updated. New features are announced every Thursday. Stay tuned for exciting updates!
Made with ❤️ by ShadowSL3