31 lines
743 B
Plaintext
31 lines
743 B
Plaintext
[gd_scene load_steps=5 format=2]
|
|
|
|
[ext_resource path="res://characters/player/player1_r.png" type="Texture" id=1]
|
|
[ext_resource path="res://characters/player/Player.gd" type="Script" id=2]
|
|
|
|
[sub_resource type="SpriteFrames" id=1]
|
|
animations = [ {
|
|
"frames": [ ExtResource( 1 ) ],
|
|
"loop": true,
|
|
"name": "right",
|
|
"speed": 5.0
|
|
} ]
|
|
|
|
[sub_resource type="CircleShape2D" id=2]
|
|
radius = 23.0217
|
|
|
|
[node name="Player" type="Area2D"]
|
|
script = ExtResource( 2 )
|
|
|
|
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
|
|
position = Vector2( 11, 5 )
|
|
scale = Vector2( 0.05, 0.05 )
|
|
frames = SubResource( 1 )
|
|
animation = "right"
|
|
__meta__ = {
|
|
"_edit_group_": true
|
|
}
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource( 2 )
|