godot-ai-pathfinding-demo
Full Godot 4.1.1 project source included. Clean readable code. I've been working with Godot for a couple years so lots of lessons learned are applied in terms of structure, call-chains, signals and etc. Always learning though. Feedback & suggestions welcome.
Key Features:
- Warrior AI State Machine
- Unit Detection & Proximity Alarms
- AI Pathfinding w/NavigationAgent2D
- Note: The web version doesn't show the real-time AI pathfinding lines but you can see them when debugging the project locally. Here's a zoomed in example:
Other Areas Of Interest:
- Animation States
- Spawning Units
- Global Sound System
- Global Signals
Credits:
- Pixel Frog - https://pixelfrog-assets.itch.io/tiny-swords
- FreeSound.org - https://freesound.org/
Notes:
- Check out my other projects and don't forget to follow. I'm actively updating and developing all new projects.
- Here's another project with a different pathfinding implementation: https://poplava.itch.io/godot-pathfinding-demo. Might be worth a look depending on what you're going for.
- The path finding can be easily improved. Really depends on the type of game you want to make and how you want the AI to behave. In this demo, I'm forcing a battle in the middle so theirs an intentional traffic jam. The units will make an effort to reach their targets but adjust as their surroundings change.
Status | Released |
Category | Assets |
Author | poplava |
Made with | Godot |
Tags | artificial-intelligence, Asset Pack, Godot, Real time strategy, sourcecode, Tutorial |
Purchase
Buy Now$2.99 USD or more
In order to download this asset pack you must purchase it at or above the minimum price of $2.99 USD. You will get access to the following files:
godot-ai-pathfinding-demo.zip 888 kB