Godot 4 Platformer Tutorial - Puzzles and Mechanics with Switches
Pigdev
Add puzzle elements to your platformer game by implementing the Switch2D recipe, a design pattern that can toggle other objects' states. With that, you will be able to make fun puzzles and intriguing mechanics in your game and make its world feel more alive than ever!
Get the Platform Essentials Cookbook! 📘itch.io: https://pigdev.itch.io/platformer-essentials
Support! ☕ Ko-Fi: https://ko-fi.com/pigdev
My games, assets, and ebooks: 🕹️ itch.io: https://pigdev.itch.io
Join the community! 💬 Discord https://discord.com/invite/zfqfpQh 🐦 Twitter: https://twitter.com/pigdev
Timestamps 00:00 - Intro 0:08 - I - Inspired by RPG Maker 0:39 - II - Where can we find that 1:15 - III - Ori and The Blind Forest Mont Horu 1:39 - IV - Pros and Cons 1:50 - V - Ducktyping 2:16 - VI - Object.has_method() 2:47 - VII - How to make the Switch2D 3:30 - VIII - Importing a Recipe to your Project 4:17 - IX - Fixing Dependencies 4:35 - X - The Switch2D Code 5:23 - XI - Duck Typing with has_method() 7:17 - XII - Setting up the Switch2D 7:50 - XIII - Setting Up a Target Object 9:34 - XIV - Adding Visual Cues for Interactions 10:59 - XV - Testing out the Scene 12:28 - XVI - The Platformer Essentials Cookbook 12:52 - XVII - The Extra Recipes 13:57 - XVIII - Farewell ... https://www.youtube.com/watch?v=Fan-rzeEYQs
149954509 Bytes