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

Subscribers:
6,420
Published on ● Video Link: https://www.youtube.com/watch?v=F73B44k0-UU



Hollow Knight
Game:
Category:
Tutorial
Duration: 18:01
2,399 views
94


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

Asset: https://jeanmakesgames.itch.io/2d-metroid-youtube-serie

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

New course "Create a 2D RPG game and introduction to 3D game": https://www.udemy.com/course/create-a-2d-rpg-and-a-3d-game-in-godot-42/?couponCode=GODOT42FEBRUARY
Coupon code: GODOT42FEBRUARY

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







Tags:
2d metroidvania
2d metroidvania godot
2d metroidvania godot 4
tutorial godot 4.2
tutorial godot 4
2d tutorial godot 4
2d platformer godot 4
2d platformer
game dev godot
game dev godot 4
hollow knight
hollow knight godot
hollow knight godot 4
godot metroidvania tutorial
godot action platformer
godot 4 metroidvania tutorial
godot 4 action platformer
2d game development
camera tutorial godot
camear following the player
camera godot 4



Other Statistics

Hollow Knight Statistics For Jean Makes Games

At present, Jean Makes Games has 47,926 views spread across 7 videos for Hollow Knight, and about an hours worth of Hollow Knight videos were uploaded to his channel. This is 7.35% of the total watchable video on Jean Makes Games's YouTube channel.