midori-school/sprites/common/player/player.tscn

179 lines
4.4 KiB
Text
Raw Normal View History

2024-01-27 21:10:58 +01:00
[gd_scene load_steps=13 format=3 uid="uid://cehe6sm8ly06u"]
2024-01-20 03:23:09 +01:00
2024-01-27 21:10:58 +01:00
[ext_resource type="Script" path="res://sprites/common/player/player.gd" id="1_6vvcv"]
2024-01-20 03:23:09 +01:00
[sub_resource type="RectangleShape2D" id="RectangleShape2D_dj8gt"]
2024-01-20 13:21:28 +01:00
size = Vector2(86, 68)
2024-01-20 03:23:09 +01:00
[sub_resource type="Animation" id="Animation_i5rhc"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
2024-01-20 11:38:12 +01:00
"values": [0]
2024-01-20 03:23:09 +01:00
}
2024-01-21 01:45:41 +01:00
[sub_resource type="Animation" id="Animation_8my4d"]
resource_name = "eidle"
2024-01-20 03:23:09 +01:00
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
2024-01-21 01:45:41 +01:00
"times": PackedFloat32Array(0),
2024-01-20 03:23:09 +01:00
"transitions": PackedFloat32Array(1),
"update": 1,
2024-01-21 01:45:41 +01:00
"values": [6]
2024-01-20 03:23:09 +01:00
}
2024-01-21 01:45:41 +01:00
[sub_resource type="Animation" id="Animation_op07l"]
resource_name = "ewalk"
2024-01-21 00:25:10 +01:00
length = 0.3
2024-01-20 03:23:09 +01:00
loop_mode = 1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
2024-01-21 00:25:10 +01:00
"times": PackedFloat32Array(0, 0.1, 0.2),
"transitions": PackedFloat32Array(1, 1, 1),
2024-01-20 03:23:09 +01:00
"update": 1,
2024-01-21 01:45:41 +01:00
"values": [7, 6, 8]
2024-01-20 03:23:09 +01:00
}
2024-01-21 01:45:41 +01:00
[sub_resource type="Animation" id="Animation_cajcr"]
resource_name = "nidle"
2024-01-20 03:23:09 +01:00
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
2024-01-21 01:45:41 +01:00
"times": PackedFloat32Array(0.2),
2024-01-20 03:23:09 +01:00
"transitions": PackedFloat32Array(1),
"update": 1,
2024-01-21 01:45:41 +01:00
"values": [3]
2024-01-20 03:23:09 +01:00
}
2024-01-21 01:45:41 +01:00
[sub_resource type="Animation" id="Animation_7lhgw"]
resource_name = "nwalk"
2024-01-21 00:25:10 +01:00
length = 0.3
2024-01-20 03:23:09 +01:00
loop_mode = 1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
2024-01-21 00:25:10 +01:00
"times": PackedFloat32Array(0, 0.1, 0.2),
"transitions": PackedFloat32Array(1, 1, 1),
2024-01-20 03:23:09 +01:00
"update": 1,
2024-01-21 01:45:41 +01:00
"values": [4, 3, 5]
2024-01-21 00:25:10 +01:00
}
2024-01-21 01:45:41 +01:00
[sub_resource type="Animation" id="Animation_w3ius"]
resource_name = "sidle"
2024-01-21 00:25:10 +01:00
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
2024-01-21 01:45:41 +01:00
"values": [0]
2024-01-21 00:25:10 +01:00
}
2024-01-21 01:45:41 +01:00
[sub_resource type="Animation" id="Animation_u56r5"]
resource_name = "swalk"
2024-01-21 00:25:10 +01:00
length = 0.3
loop_mode = 1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.1, 0.2),
"transitions": PackedFloat32Array(1, 1, 1),
"update": 1,
2024-01-21 01:45:41 +01:00
"values": [1, 0, 2]
2024-01-21 00:25:10 +01:00
}
[sub_resource type="Animation" id="Animation_isodq"]
resource_name = "widle"
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0.2),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [9]
}
[sub_resource type="Animation" id="Animation_letwb"]
resource_name = "wwalk"
length = 0.3
loop_mode = 1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.1, 0.2),
"transitions": PackedFloat32Array(1, 1, 1),
"update": 1,
"values": [10, 9, 11]
2024-01-20 03:23:09 +01:00
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_mh65y"]
_data = {
"RESET": SubResource("Animation_i5rhc"),
2024-01-21 00:25:10 +01:00
"eidle": SubResource("Animation_8my4d"),
"ewalk": SubResource("Animation_op07l"),
2024-01-20 03:23:09 +01:00
"nidle": SubResource("Animation_cajcr"),
"nwalk": SubResource("Animation_7lhgw"),
"sidle": SubResource("Animation_w3ius"),
2024-01-21 00:25:10 +01:00
"swalk": SubResource("Animation_u56r5"),
"widle": SubResource("Animation_isodq"),
"wwalk": SubResource("Animation_letwb")
2024-01-20 03:23:09 +01:00
}
2024-01-27 21:10:58 +01:00
[node name="Player" type="CharacterBody2D"]
2024-01-20 14:58:29 +01:00
script = ExtResource("1_6vvcv")
2024-01-20 03:23:09 +01:00
[node name="Sprite2D" type="Sprite2D" parent="."]
hframes = 3
2024-01-21 00:25:10 +01:00
vframes = 4
2024-01-20 03:23:09 +01:00
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
2024-01-20 13:21:28 +01:00
position = Vector2(0, 94)
2024-01-20 03:23:09 +01:00
shape = SubResource("RectangleShape2D_dj8gt")
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
"": SubResource("AnimationLibrary_mh65y")
}