https://github.com/viniciusgerevini/godot-navigation-2d-example
https://github.com/viniciusgerevini/godot-navigation-2d-example
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/viniciusgerevini/godot-navigation-2d-example
- Owner: viniciusgerevini
- Created: 2020-12-16T12:30:03.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-12-16T12:50:56.000Z (over 4 years ago)
- Last Synced: 2025-02-03T16:47:37.512Z (4 months ago)
- Language: GDScript
- Size: 118 KB
- Stars: 11
- Watchers: 4
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Godot Navigation 2D example
This is an example of how to use Godot's Navigation 2D pathfinding in a platformer.
Control the character using directional keys or wasd. Space jumps.
This example was created for this video: https://youtu.be/LKyGdiHzIk8
## What is in the box???
Navigation2D related stuff:
- There are two characters, a player controlled character and a follower NPC.
- Path is recalculated every 400 milliseconds.
- Follower will automatically jump and avoid obstacles.Extras:
- Tilemap with auto-tiling enabled.
- Character with movement, jump and gravity implemented.Assets: https://pixelfrog-store.itch.io/kings-and-pigs