How Collision Layers and Masks Work in Godot 4 #shorts

preview_player
Показать описание
#godot #godotengine #godot4 #gdscript #gamedev #gamedevelopment #gamedesign #gameprograming #programming
It’s common to not understand how the collision layer and collision mask system in Godot works. This short video explains how they work! Use this knowledge to better control what can collide with what in your game!


▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
For more tutorials and information on me, check out my website:

The assets used in the video are for my platformer, Flick! I'll be open souring the project, too!

Check out my game studio and IT consultancy agency, Nunkware Digital!
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Sources:
Рекомендации по теме
Комментарии
Автор

This is the best godot 4 short ever made.

telsv
Автор

so so much better than any explanation ive heared before

FunnyGamerMan
Автор

So concise and useful. Much appreciated

kabiratoyebi
Автор

Why Layers and masks have only 32 buttons? How i can add layers and masks?

RomanKridd_Official
Автор

I don't get the difference between layer and mask.

leslieviljoen
Автор

does changing the collision_mask in the code (which was shown around 50-53 seconds in the video) only change the collision mask for the player? If its more then the player how to make sure the code you set above is specifically for player?

misterlight
Автор

Do you have a discord server? I wanna learn how to make games, and your channel looks really useful.

red_