How to EASILY Make a GROUND POUND in Your Godot 4 Game

Опубликовано: 10 Январь 2025
на канале: CoderNunk
1,026
44

#godot #godot4 #godotengine #gdscript #gamedev
Looking to implement a ground pound/ground slam/body slam/stomp in your Godot game? Here’s a simple way to do that!
First, we will make some placeholder functions in the character script so we can reference them in the AnimationPlayer later. Then, we will start by creating two animations, one for initiating the ground pound, and one for when the player hits the ground. It’s pretty common in games to have animations like these to sell the impact of the ground pound. After that, we create keyframes that call those placeholder functions in the two animations. Lastly, we add the logic to put the motion together and to prevent player interaction until it’s finished.
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
For more tutorials and information on me, check out my website:
https://codernunk.com/

The assets used in the video are for my platformer, Flick! I'll be open souring the project, too!
Trailer:    • Flick! - Reveal Trailer  
Website: https://flick.nunkware.digital/

Check out my game studio and IT consultancy agency, Nunkware Digital!
YouTube:    / @nunkwaredigital  
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬