29 lines
693 B
Text
29 lines
693 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( 210, 0 )
|
||
|
script = ExtResource( 1 )
|
||
|
|
||
|
[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 )
|