Hiding roofs for houses in a 2D RPG using Area2D [Godot 3.5 Tutorial]

Опубликовано: 31 Июль 2026
на канале: Boxbrain
10,062
474

I'm making a top-down 2D action RPG using Godot 3.5. This video explains how I use Area2D to hide roofs when players enter houses. Similarly, roofs become semi-transparent when the player walks underneath them. Let me know what you think in the comments!

Join my Discord:
  / discord  

Download the latest early build of Goblin Menace:
https://bit.ly/goblin_menace_alpha

Contents:
0:00 Intro
0:45 In-game demo of the final result
1:45 How to use the scene widgets: FadeArea and HideArea
4:42 Implementation details

About me:
I'm making a sandbox action RPG with a focus on building your own AI-controlled mercenary army to fight hordes of goblins. I make games with a top-down 2.5D pixel art style.