FluffyFloofGame/Prototypes/tiredbun-prototype-1/test-scene.tscn

81 lines
2.2 KiB
Plaintext

[gd_scene load_steps=13 format=3 uid="uid://7l1u7y2xvwa6"]
[ext_resource type="Texture2D" path="res://mpv-shot0001.jpg" id="1_ix3x0"]
[ext_resource type="Script" path="res://Player.gd" id="2_fy1jm"]
[ext_resource type="Texture2D" path="res://player/down-go.png" id="3_hrt1y"]
[ext_resource type="Texture2D" path="res://player/down-stay.png" id="4_fjw2y"]
[ext_resource type="Texture2D" path="res://player/lef-go.png" id="5_rxlf0"]
[ext_resource type="Texture2D" path="res://player/lef-stay.png" id="6_rohwl"]
[ext_resource type="Texture2D" path="res://player/right-go.png" id="7_l3vli"]
[ext_resource type="Texture2D" path="res://player/right-stay.png" id="8_ac52e"]
[ext_resource type="Texture2D" path="res://player/up-go.png" id="9_44ip5"]
[ext_resource type="Texture2D" path="res://player/up-stay.png" id="10_ddtxv"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ggyph"]
size = Vector2(60, 60)
[sub_resource type="SpriteFrames" id="SpriteFrames_yher1"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("4_fjw2y")
}, {
"duration": 1.0,
"texture": ExtResource("3_hrt1y")
}],
"loop": true,
"name": &"down-go",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": ExtResource("6_rohwl")
}, {
"duration": 1.0,
"texture": ExtResource("5_rxlf0")
}],
"loop": true,
"name": &"left-go",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": ExtResource("8_ac52e")
}, {
"duration": 1.0,
"texture": ExtResource("7_l3vli")
}],
"loop": true,
"name": &"right-go",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": ExtResource("10_ddtxv")
}, {
"duration": 1.0,
"texture": ExtResource("9_44ip5")
}],
"loop": true,
"name": &"up-go",
"speed": 5.0
}]
[node name="Node2D" type="Node2D"]
[node name="Mpv-shot0001" type="Sprite2D" parent="."]
position = Vector2(577.222, 323.75)
scale = Vector2(0.604167, 0.604167)
texture = ExtResource("1_ix3x0")
[node name="Player" type="CharacterBody2D" parent="."]
position = Vector2(162, 125)
script = ExtResource("2_fy1jm")
[node name="PlayerCollision" type="CollisionShape2D" parent="Player"]
shape = SubResource("RectangleShape2D_ggyph")
[node name="PlayerSprite" type="AnimatedSprite2D" parent="Player"]
sprite_frames = SubResource("SpriteFrames_yher1")
animation = &"down-go"