2D Platformer GODOT: Collision Layer + Mask, Projectiles, and VisibilityNotifier2D

Опубликовано: 08 Июнь 2026
на канале: Jamin Studios
273
10

In today's video we have the turret shoot a bullet that will harm the player and has a VisiblityNotifier that will delete the bullet when it leaves the screen. We also discuss what a collision layer is and what a collision mask is. We also watch as I give examples and walkthrough of the layers and masks of each of the objects that we have created together so far.

Thank you for watching my videos, I hope I can inspire you to follow what you want to do through these videos as I want to code video games and/or apps.

Website: https://jaminstudios.com
Twitter:   / jaminstudios  
Tik Tok:   / la_bean1  

00:00 - 1:00 Introduction
1:01 - 2:20 Fixing Last Episodes Issue
2:21 - 3:45 Creating the Bullet Scene
3:46 - 5:55 Adding a Script to the Bullet
5:56 - 7:12 Having the Turret shoot the Bullet
7:13 - 9:10 Connecting Signals to the Main Scene Script
9:11 - 12:10 Finishing the Bullet Script
12:11 - 13:33 Naming the Layer and Mask Groups
13:34 - 15:45 Explaining Layers and Masks
15:46 - 18:50 Setting Up Layers and Masks on Everything!
18:51 - 20:00 Fixing the Bullet Disappearance
20:01 - 22:25 VisiblityNotifier2D