📖02 ‣ 📼04 ‣ Level Bounds & Camera Setup ‣ Metroidvania Forge Godot 4 Tutorial Series
Автор: Michael Games
Загружено: 2025-11-19
Просмотров: 1741
Описание:
Welcome to the Metroidvania Forge, a game dev tutorial series in Godot 4!
In this episode we will add a camera to our player, and create a custom "LevelBounds" node type that we can use to constrain the camera to our level.
Topics Covered: Camera2D, Levels, camera bounds, level bounds, simple follow camera, @tool, _draw(), draw in editor, custom icons, setter, setter function, export_range, rect2, draw_rect, metrdoivania, metroidvania dev tutorial
New Assets Used:
ch_02_world_building_foundations.zip:
-- level_bounds.svg
Itch.IO Series Page: https://michaelgames.itch.io/metroidv...
--------------------
Chapters
--------------------
00:00 Intro
00:32 Overview
02:05 Setup folders, files, etc
03:22 Create @ set up new script for our LevelBounds node
04:23 LevelBounds script overview
04:57 Add a Camera2D to our player scene
07:22 Export variable set up
09:31 Plan _ready function and what this script needs to do
10:42 Draw the debug display while in the editor
14:32 Add our new LevelBounds node to the leve scene and check it out!
16:16 Change the z-index of the leve bounds in code
17:28 Use setter function to re-draw rectangle when LevelBounds' width or height are changed
20:15 Comments on moving the bounds
21:18 Quick Tip: grid snapping
21:58 Improve LevelBounds rectangle drawing with extra line
24:00 Set camera limits
32:08 A word of warning about warnings...
33:28 Test it out
34:06 Fix the top bound not working (code issue)
34:38 Discuss reasons for level bounds vs automatic detection solution
36:45 Outro & Homework assignment
37:33 Thank you Patreon supporters!!!
--------------------
Metroidvania Forge Tutorial Series Playlist:
• Metroidvania Forge Tutorial Series
Series Outline: https://docs.google.com/document/d/1A...
Join our discord community!
Discord: / discord
Become a Patreon member to get exclusive access to Michael, and more: https://www.patreon.com/c/user?u=2630...
Michael Games Trello Board: https://trello.com/b/9PlGOAZv/aarpg-t...
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: