#Please explain to me this part in the document guide about making "Dodge the creeps"

9 messages · Page 1 of 1 (latest)

hardy narwhal
#

Document link: https://docs.godotengine.org/en/stable/getting_started/first_2d_game/04.creating_the_enemy.html#node-setup
This part is telling me to do something with the "Player" scene, although it's title is "Creating the enemy". I do see how to set "Rotation Degrees" to 90, but I don't know what to do with "CapsuleShape2D" nor how to add it to the "Player" scene

severe scaffold
#

no, you are doing the same stuff with the enemy's CapsuleShape2D that you did with the player's. it will be in the CollisionShape2D

hardy narwhal
#

Hmm I don't see any mention about CapsuleShape2D in the player's guide

#

There are only these nodes in the player scene

#

Oh wait

#

I hope it's not a type or error or something because I thought the node for collision is called CollisionShape2D?

severe scaffold
#

CollisionShape2D should have a CapsuleShape2D as a resource in the inspector (the panel on the right with all its properties)

hardy narwhal
#

Oh I see it now

#

Thank you so much