added collision
This commit is contained in:
@@ -11,15 +11,11 @@ animations = [ {
|
||||
"speed": 5.0
|
||||
} ]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id=2]
|
||||
radius = 30.0
|
||||
height = 4.0
|
||||
[sub_resource type="RectangleShape2D" id=2]
|
||||
extents = Vector2( 30.5, 30.5 )
|
||||
|
||||
[node name="Player" type="Area2D"]
|
||||
[node name="Player" type="KinematicBody2D"]
|
||||
script = ExtResource( 2 )
|
||||
__meta__ = {
|
||||
"_edit_group_": true
|
||||
}
|
||||
|
||||
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
|
||||
frames = SubResource( 1 )
|
||||
|
Reference in New Issue
Block a user