Godot Version
4.3
Question
I want to build a simple 2D sidescoller, where my little son can jump around with a Ankylosaurs.
Part of it is, that I want to build a wall which is destroyable when a specific button is pressed. The breakdown of the wall should be animated. As long as the wall is not destroyed, the player should be blocked by the wall.
I just don’t know what node types I should use for this. So far I worked only with AnimatedSprite2D and CollisionShapes2D. And what I learned is, that Area2D-Node (that I used until now) are more a thing to check if objects are around each other and are not able to block player movement - what I need till the wall is destroyed.
I will read the documentions etc. but maybe you can just give me a hint where to start. Do I need a StaticBody2D and have to learn to use the AnimationPlayer for this? Or is this the wrong way?