32 lines
818 B
Text
32 lines
818 B
Text
[gd_scene load_steps=5 format=2]
|
|
|
|
[ext_resource path="res://Player.gd" type="Script" id=1]
|
|
[ext_resource path="res://icon.png" type="Texture" id=2]
|
|
|
|
[sub_resource type="SpriteFrames" id=1]
|
|
animations = [ {
|
|
"frames": [ ExtResource( 2 ) ],
|
|
"loop": true,
|
|
"name": "default",
|
|
"speed": 5.0
|
|
} ]
|
|
|
|
[sub_resource type="CapsuleShape2D" id=2]
|
|
radius = 12.8837
|
|
height = 4.07484
|
|
|
|
[node name="Player" type="Area2D"]
|
|
position = Vector2( 0.581787, 0 )
|
|
script = ExtResource( 1 )
|
|
__meta__ = {
|
|
"_edit_group_": true
|
|
}
|
|
|
|
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
|
|
scale = Vector2( 0.498334, 0.531778 )
|
|
frames = SubResource( 1 )
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
rotation = 1.5708
|
|
shape = SubResource( 2 )
|
|
[connection signal="body_entered" from="." to="." method="_on_Player_body_entered"]
|