📖01 ‣ 📼06 ‣ Crouch State & One-Way Platforms ‣ Metroidvania Forge Godot 4 Tutorial Series

Опубликовано: 26 Июль 2026
на канале: Michael Games
4,633
305

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

In this episode we will add a crouch state to our player. It will include collision changes. We will also add a one-way platform and explore how to configure this, collision layers, raycast2D nodes, and making it so our player can jump down when crouching on a one-way platform.

Topics Covered: Player, state machine, states, crouch, raycast2D, one-way platform, collision shapes, collision masks, collision layers

New Assets Used:
N/A

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

--------------------
Chapters
--------------------
00:00 Intro
00:35 Homework review
01:19 Overview
02:23 Create new node and script for crouch state
03:30 Breif review of player state references
05:02 Add transition to crouch state from idle state
08:21 Add transition to idle state from crouch state
10:39 Add transition to crouch state from run state
11:58 Deceleration when transitioning into crouch state
14:45 Collision shape adjustment on crouch
20:41 Make sprite "crouch" by scaling it
24:32 Crouch, jump down, etc overview
25:16 Add one-way platform
30:13 Learn about collision layers & masks
32:14 Update collision settings on our player scene
32:40 Define layer names in project settings
33:51 Configure collision settings on our one-way platform
34:51 Add raycast2D to our player for one-way platform detection
37:33 Make player jump down when crouched on one-way platforms
40:46 Outro & Homework assignment!
42:45 Thank you Patreon supporters!!!
--------------------

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