Тёмный

How to Use 2D Lights in Godot 4 ~ Tutorial for Beginners 

Chris' Tutorials
Подписаться 121 тыс.
Просмотров 37 тыс.
50% 1

Tutorial showing how you can light sprites and tilemaps using 2D lights in Godot 4. We cover PointLight2D and DirectionalLight2D in this video by adding lighting to a 2D platformer scene.
➣ Downloadable Assets, Video Courses, and Other Places to Follow Me
ko-fi.com/christutorials
linktr.ee/ChrisTutorials
chris-tutorials.itch.io/
00:00 - Overview
00:57 - PointLight2D
01:33 - Gradient 2D Light Texture
03:43 - Effecting Scene with Light Source
07:07 - Scene Test
07:32 - DirectionalLight2D for Night Time
09:02 - Nighttime Test
09:19 - Wrapup

Игры

Опубликовано:

 

24 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 37   
@awesomedude7544
@awesomedude7544 Месяц назад
bros taskbar is menacing ...
@WoyaThePug
@WoyaThePug 10 месяцев назад
Thank you so much for this tutorial. Quick, no time wasted, and very expertly explained in a way to avoid confusion! Will definitely be watching your others!
@melonadegg
@melonadegg 24 дня назад
Crazy how easy it actually is to setup lighting, starting off with Godot I waa definitely intimidated but this was really clear and understandable thanks!
@hellblazer8543
@hellblazer8543 Год назад
your channel is the reason i am learning a lot about platforming in Godot :D hope you create a mini map like in metroidvania games
@PaulLeBlanc4u
@PaulLeBlanc4u 11 месяцев назад
Simple and Sufficient Chris. Well done and thankyou.
@Korn1holio
@Korn1holio 9 месяцев назад
Dude, your content is gold! Thanks!
@VozGanzo13
@VozGanzo13 Год назад
Im glad i found this channel, this tutorial was really useful to me 😁 Nice video
@rambosmitten
@rambosmitten 5 месяцев назад
Thank you for making this! Your tutorial was informative and entertaining. Now I have to add lights in my game!
@bensdecoypoondummy1189
@bensdecoypoondummy1189 9 месяцев назад
Thanks dude! Brand new to godot and this lighting was easier than i thought.
@notarobot22
@notarobot22 10 месяцев назад
Clear, to the point and very useful. Thank you very much kind sir.
@Cristiano88898
@Cristiano88898 9 месяцев назад
Amazing tutorial!
@EmeraldChickn
@EmeraldChickn 2 месяца назад
3:20 Instead of moving the gradient to prevent it from being too big, you can set the 'from' on 0.5 and 0.5, and the 'to' on 0.0 and 0.5.
@tsalVlog
@tsalVlog 7 месяцев назад
Thanks for the great example!
@valkyrienyanko1772
@valkyrienyanko1772 8 месяцев назад
Thank you this really helped me
@MrOnosa
@MrOnosa 3 месяца назад
This was helpful, thank you
@mdo
@mdo 7 месяцев назад
Short, concise and to the point. Just how a tutorial should be. You probably already know this but if not here goes: you don't need to move the collider/trigger (interactable in your case) in the scene tree to get it out of the way. You can click on the eye icon next to its name in the tree and it will hide it.
@me_27710
@me_27710 4 дня назад
thank you that was helpfull
@chuk_udi
@chuk_udi 11 месяцев назад
just the video i was looking for. Was tryna figure out how to simulate night in my game.
@DanMProductionsBois
@DanMProductionsBois 8 месяцев назад
Ty for this
@wulfrickwille3871
@wulfrickwille3871 Год назад
I am still prototyping my game but when I get to do lights and enemy AIs I will definitely use your videos for that :)
@BlendFin
@BlendFin Год назад
Thank you!
@FiguraCinque
@FiguraCinque 24 дня назад
From reddit: "The background is not a canvas item, therefore it will not be illuminated by the light2D. If you want your background to be affected by lighting, you would have to make your background part of a CanvasItem node (like a Sprite or TileMap), and ensure it has a Light Mask that matches with the Light2D node’s Light Mask. "
@fpixel7190
@fpixel7190 Год назад
I'm having trouble with an infinitely long shadow when I make a light occluder2D sprite using the directional light
@moonnight9474
@moonnight9474 Год назад
🤩🤩
@ariton2990
@ariton2990 11 месяцев назад
Im trying to make a player have a flashlight in top down shooter. How would I make a light texture as a cone?
@MR.AD1M
@MR.AD1M Год назад
WE need dush and wall jump
@keithmofley8275
@keithmofley8275 3 месяца назад
Did you mean dush and woll jomp?
@Stoatly4
@Stoatly4 Месяц назад
@@keithmofley8275 Did you mean dosh and wull jomp?
@Yipper64
@Yipper64 8 месяцев назад
how does all this work with normal maps? Everything seems to get funky with normal maps whenever I add in a directional light.
@Kio_Kurashi
@Kio_Kurashi Месяц назад
Any particular reason that you're using the assets from the game Legends of Idleon?
@hazqeelafyqathaillahkamaru8573
can you share how to do UI with Godot please
@saveriov.p.7725
@saveriov.p.7725 Месяц назад
Thanks. there needs to be one of these tutorials for every node in godot because the documentation is dogshit
@FiguraCinque
@FiguraCinque 24 дня назад
Why the background hadn't been effected by the directional light?
@Michael29116
@Michael29116 7 месяцев назад
I have a problem with my game, you see, when I put the 2D light on the map with the texture it does not appear in the background of the scene and I don't know how to fix it I think it is a parax background problem
@Michael29116
@Michael29116 7 месяцев назад
I have also tried putting -1 in the layer from paradax background but it doesn't work
@swinny_
@swinny_ 7 месяцев назад
Couldnt focus on your video that bright collider was way too distracting. you could have just hidden it dude.
@darkogamesxd9237
@darkogamesxd9237 6 месяцев назад
Thanks bro you help me very much.
Далее
HOW TO GET YUFFIE IN FINAL FANTASY VII
2:37
Godot 4 2D Light and Shadows
1:45
Просмотров 15 тыс.
4 Godot 4 Devs Make 4 Games in 44 Hours
25:19
Просмотров 475 тыс.
Immersive Sim in Godot 4: COGITO - Overview
8:22
Просмотров 31 тыс.
BETTER 2D visuals in 7 EASY TIPS
10:38
Просмотров 60 тыс.
I Created My Own Lighting System | Devlog #8
8:19
Просмотров 106 тыс.
Stop using Godot to make games
0:32
Просмотров 1 млн
INSANELY Smooth pixel ATTACK Animation Tutorial
18:54
Просмотров 517 тыс.
How to Add Tilemap Collisions in Godot 4
5:42
Просмотров 66 тыс.