8 Directional 2D Character Movement Setup ~ Godot 4 Tutorial
Chris' Tutorials Chris' Tutorials
124K subscribers
710 views
49

 Published On Oct 9, 2024

Using Animation Player, Animation Tree, and some basic Gdscript we can make a CharacterBody2D move in 8 directions for Idle and Move when meshed with appropriate 8 directional art work.

Project Download
Ko-fi ➣ https://ko-fi.com/post/PROJECT-8-Dire...
Patreon ➣   / 113711479  

Assets
https://axulart.itch.io/small-8-direc...
https://www.kenney.nl/assets/top-down...

Grid Building Plugin ➣ https://linktr.ee/gridbuilder
World Time Plugin ➣ https://linktr.ee/worldtimeplugin
Item Drops Plugin ➣ https://linktr.ee/itemdrops

➣ Downloadable Assets, Video Courses, and Other Places to Follow Me
https://linktr.ee/ChrisTutorials
https://ko-fi.com/christutorials
  / christutorials  
https://chris-tutorials.itch.io/

00:00 - What to Expect & Sprites Download
00:17 - Player Character Node Setup
01:42 - Animations Setup
06:07 - Walk Animations
07:43 - Notes about Repeating Spritesheet Layouts
08:24 - Animation State Machine Blend Space 2D Setup
11:59 - Player Movement Code (Gdscript)
14:28 - World Scene Setup
17:07 - Animation Logic Code (Gdscript)
19:11 - Animation Playback Travel to Idle and Walk (Gdscript)
21:03 - Fix Up & Down Animation Directions
23:36 - Wrapup

show more

Share/Embed