2D Metroidvania - 7 - Creating a camera state machine to follow the player (3 ways)

Опубликовано: 25 Февраль 2024
на канале: Jean Makes Games
2,130
85

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...

Timeline:
00:00 Introduction
00:25 Start
00:50 First camera: Nested camera (not my favorite)
01:25 Creating a script for the camera
02:44 Adjusting the level scene
04:38 Second camera: Coding the panning movement
09:15 Third camera: following camera through code
11: Explaining how drag margin work (roughly)
12:02 Setting a vertical limit for the camera
12:41 Setting horizontal limit to the camera
12:47 Toggle the limit of the camera and drag margin
14:32 Creating a state machine for the camera that we can toggle through the inspector
17:52 Outro


Смотрите видео 2D Metroidvania - 7 - Creating a camera state machine to follow the player (3 ways) онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Jean Makes Games 25 Февраль 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 2,130 раз и оно понравилось 85 людям.