Stop Manually Flipping Sprites! | Godot 4 Components
Автор: GodotGameLab
Загружено: 2026-03-01
Просмотров: 3959
Описание:
Stop wasting time writing "if/else" logic just to make your characters face the right way. In this episode of the 50 Components Course, we’re building FlipSprite2D: a component that handles horizontal and vertical flipping for Sprite2D and AnimatedSprite2D nodes with a single method call. It’s self-contained, reusable, and works in any 2D project. Grab the code below and add it to your toolbox!
Explore the Toolbox:
🎮 Interactive Component Browser: https://guladam.itch.io/godot-compone...
📂 Full GitHub Repository:
https://github.com/guladam/godot_comp...
🛠️ Text-based Tutorial: https://godotgamelab.neocities.org/50...
Support me on Ko-Fi:
https://ko-fi.com/godotgamelab
⏱️ Timestamps & Chapters
0:00 - Intro
0:08 - Designing the FlipSprite2D Component
2:05 - Implementing the FlipSprite2D Component
5:45 - Ko-Fi Page Self-Promotion
5:55 - Example Use Case
8:46 - Bonus Tip
9:10 - Outro & Credits
🎓 Check out these beginner resources, made by the legends of the Godot community:
Godot Docs:
https://docs.godotengine.org/en/stabl...
https://docs.godotengine.org/en/stabl...
GDQuest:
https://gdquest.github.io/learn-gdscr...
• Your First 2D GAME From Zero in Godot 4 **...
HeartBeast:
• Build a Game (in Godot) Before the End of ...
Brackeys:
• How to make a Video Game - Godot Beginner ...
• How to program in Godot - GDScript Tutorial
🔥 Connect with Me:
https://linktr.ee/godotgamelab
#Godot4 #Gamedev #GameArchitecture #ModularDesign #GodotComponents #FlipSprite2D
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: