0 votes

gif

How do I make the brick bounce like that when my character hit it? Do I need Kinematic2d Body or Rigid Body for it? Is it possible to do it with Title Set too, on individual bricks? Thank you.

asked Jan 15 in Projects by kronopy (21 points)

Not this particular aspect. It helped me do everything, except making the brick bounce/move and return to position when hit.

1 Answer

0 votes

A simple way would be to just animate it in the animation player.

For example, make (using animation player) an animation bounce for the brick sprite, animated it and give the sprite an area 2d. When the player enters that area or hits the block, play the bounce animation.

answered Jan 18 by Asthmar (267 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.