Перейти к содержимому

Animated Player Character for a DOORS-Style Game | Godot 4 Tutorial

Phaix

0:00 / 0:00

Animated Player Character for a DOORS-Style Game | Godot 4 Tutorial

211 просмотров · 6 дн. назад
Phaix
65 подписчиков
211 просмотров · 6 дн. назад
Build an animated player character in Godot 4 for a game like Roblox DOORS. A DOORS-style game needs a body: import a figure, blend idle, walk and run, add jump and fall. Import an FBX figure with its animations, set the loop modes, make the walk and the fall the pack lacks with a short script, mix idle, walk and run in a blend space driven by the real speed, swap the figure in for the capsule, hide it from the first-person camera with a render layer while every other camera sees it, add jump and fall as states with advance expressions, and paint a skin of your own. Every step is its own project folder. What you learn: Import an FBX figure and its animations, with the loop modes set in the import Make the animations a pack lacks with a short script An AnimationTree with a blend space, driven by the real speed A render layer and a cull mask: the body stays out of your own view and in every other Jump and fall as states, with advance expressions on the floor state One picture as a skin of your own Chapters: 0:00 Intro 0:57 Step 1 - Import the figure 3:07 Step 2 - Walk and fall 4:25 Step 3 - A blend space 5:40 Step 4 - Swap the capsule 7:11 Step 5 - Only others see it 8:26 Step 6 - Jump and fall 9:46 Step 7 - A skin of your own 10:48 Recap 11:30 Next Project files (every step as its own folder): https://github.com/schemann/phaix-god... Previous tutorial (Seeds You Can Share in Godot 4):    • Shareable Seeds for a DOORS-Style Game | G...   Project files of the previous tutorial: https://github.com/schemann/phaix-god... The figure: Animated Characters Protagonists by Kenney, CC0: https://kenney.nl/assets/animated-cha... Support the channel: https://ko-fi.com/phaix or https://github.com/sponsors/schemann Made with Godot 4.7. Code: MIT license. #godot #gamedev #godot4