Загрузка...

Godot Essentials – 2D Player Movement (4 & 8 Directions) / Animations for walking and attacking

In this episode of Godot Essentials for 2D Games, we create a fully controllable 2D player character from scratch.

We’ll set up a dedicated Player scene with CharacterBody2D, add AnimatedSprite2D animations for walking, running and attacking, and write a simple movement script that reads input, sets velocity, and handles both 4-directional and 8-directional movement.

🎮 What you’ll learn in this video:
🔹 Creating a Player scene with CharacterBody2D
🔹 Setting up AnimatedSprite2D for walk, run and attack animations
🔹 Writing a basic movement script with input and velocity
🔹 Creating 4-directional movement
🔹 Creating 8-directional movement
🔹 Adding CollisionShape2D for solid interactions
🔹 Adjusting animation speed for better movement feel

⏱️ Timestamps / Chapters:
00:00 Intro / In this episode
00:36 Creating the character
03:33 4-directional movement
08:15 8-directional movement
10:37 Player walking animation
15:05 Player attacking animation
18:22 Set animation speed
22:09 Create your own RPG
22:23 What’s next...

If this video was helpful, please leave a like and subscribe to the channel.
It really helps me a lot and supports this series.

Thanks for watching, and have fun coding! 🎮

More Godot learning:

👉 Game Endeavor on YouTube – amazing Godot tutorials and pixel art inspiration:
https://www.youtube.com/@GameEndeavor

👉 Game Endeavor on itch.io – amazing pixel art for your games:
https://game-endeavor.itch.io/mystic-woods

👉 Godot RPG Tutorial Series (Playlist) – in-depth series where we build up a 2D RPG step by step, from basic movement to combat and story elements:
https://www.youtube.com/playlist?list=PL1_qp1U9tinq9m2av0rl4bR4UbCwwC3Kb

⌨️ Engine & version:
Godot 4.4

#godot #godot4 #2Dgames #gamedev #tutorial #playermovement

Видео Godot Essentials – 2D Player Movement (4 & 8 Directions) / Animations for walking and attacking канала Pixies Game Dev
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять