2D Metroidvania - 2 - Coding the player movement

Опубликовано: 20 Февраль 2024
на канале: Jean Makes Games
6,321
190

Second episode of my 2D metroidvania serie in Godot 4.2, we gonna learn how to code the movement of our player and call his animations through code! :)

Timeline
00:00 Introduction
00:56 Creating the player script
01:59 Starting to code the script
03:37 Creating the movement function
07:06 Creating the level scene
07:21 Instancing the player in the scene
08:06 Creating a camera
08:58 Controlling the speed of the player with clamp
09:56 Flipping the player sprite
12:46 Calling the animation through code
13:47 Creating a temporary platform
14:32 Importing the sprite of the platform with Edit region
16:17 Applying the gravity to the player
17:34 Outro

Wishlist "Lone Knight" on Steam: https://store.steampowered.com/app/22...

Asset: https://jeanmakesgames.itch.io/2d-met...

Download Godot 4.2: https://godotengine.org/download/wind...

My course (discounted until the 7th of august 2024):
2D Procedurally generated Roguelike in Godot 4.2:
Course: https://www.udemy.com/course/create-a...
Coupon Code: GODOT4JULY2024

Create a 2D RPG and a 3D game in Godot 4:
Course: https://www.udemy.com/course/create-a...
Coupon Code: GODOT4JULY2024

OTHERS:
Learn Godot 4 by making 2 games outdated:
Course: https://www.udemy.com/course/learn-go...

Cours en Français: Créer un RPG en 2D avec Godot 4: (course in French)
Cours: https://www.udemy.com/course/creer-un...


Смотрите видео 2D Metroidvania - 2 - Coding the player movement онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Jean Makes Games 20 Февраль 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 6,321 раз и оно понравилось 190 людям.