33 lines
754 B
Plaintext
33 lines
754 B
Plaintext
[gd_scene load_steps=5 format=2]
|
|
|
|
[ext_resource path="res://assets/textures/cupcake.png" type="Texture" id=1]
|
|
[ext_resource path="res://src/Player.cs" type="Script" id=2]
|
|
|
|
[sub_resource type="SpriteFrames" id=1]
|
|
animations = [ {
|
|
"frames": [ ExtResource( 1 ) ],
|
|
"loop": true,
|
|
"name": "default",
|
|
"speed": 5.0
|
|
} ]
|
|
|
|
[sub_resource type="CapsuleShape2D" id=2]
|
|
radius = 46.0
|
|
height = 4.0
|
|
|
|
[node name="Player" type="Area2D"]
|
|
script = ExtResource( 2 )
|
|
__meta__ = {
|
|
"_edit_group_": true
|
|
}
|
|
|
|
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
|
|
scale = Vector2( 0.7, 0.7 )
|
|
frames = SubResource( 1 )
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource( 2 )
|
|
|
|
[node name="Camera2D" type="Camera2D" parent="."]
|
|
current = true
|