2D Environment Lighting ‣ 📖02 ‣ 📼08 ‣ Metroidvania Forge Godot 4 Tutorial Series

Опубликовано: 22 Май 2026
на канале: Michael Games
4,180
223

Welcome to the Metroidvania Forge, a game dev tutorial series in Godot 4!

In this episode we will addlighting to our levels! We will explore 2D lights in Godot, light occluders, custom animated "flickering" lights with a script, and lighting alternatives using sprite sheets and a custom material.

Topics Covered: 2D Lighting, PointLight2D, DirectionalLight2D, 2D Light occluders, 2D atmoshpere, torch lights, flickering light, CanvasItemMaterial, recursive function,
in-depth tutorial, deep dive, complete course, metrdoivania, metroidvania dev tutorial

New Assets Used:
ch_02_world_building_foundations.zip

Itch.IO Series Page: https://michaelgames.itch.io/metroidv...

--------------------
Chapters
--------------------
00:00 Intro
00:46 Overview & Setup
01:51 Updated/additional assets in chapter 02 asset file
03:53 Create light stream effect using PointLight2D nodes
07:08 Create shadows with light occluders
10:42 Add light occlusion to our TileSet & TileMapLayer
14:01 Sprite2D with material for light stream effect
18:22 Decorate level scene with multiple light streams
21:18 Review level 02 (a darker scene) and what we want to docs
21:43 Add DirectionalLight2D to darken the level
24:14 Add a subtle light to player scene for some extra visibility
26:45 Add light to torch scene
30:09 Make torch light flicker with simple script
37:17 Set og_energy variable (forgot to earlier)
38:50 Work on level 03 - dungeon lighting
40:46 Make moon-beams on level 02
43:21 Outro
44:59 Thank you Patreon supporters!!!
45:50 Extra bit: Light Mask settings ;)
--------------------

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