2024-02-26 17:35:40 +01:00
|
|
|
[gd_scene load_steps=21 format=3 uid="uid://bv451a8wgty4u"]
|
2024-02-26 08:33:37 +01:00
|
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://Scripts/PlayerMovement.cs" id="1_fwei5"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://dowueaq2rixdk" path="res://Sprites/Cirno2.0.png" id="2_uhufh"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://c6yjjxhp2hj1d" path="res://Sprites/Cirno2.1.png" id="3_bixcs"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://dhxr6y4318myo" path="res://Sprites/Cirno2.2.png" id="4_mwt28"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://7cvh3mmocc5v" path="res://Sprites/Cirno2.3.png" id="5_04174"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://cgv3cvw3jpjbm" path="res://Sprites/Cirno2.8.png" id="6_oy6vt"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://sficqk0a81pa" path="res://Sprites/Cirno2.9.png" id="7_5fs74"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://bc8ayjrtm7gj0" path="res://Sprites/Cirno2.10.png" id="8_klw6k"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://1ssa5a3of3ev" path="res://Sprites/Cirno2.11.png" id="9_72uad"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://dllmicsylbi43" path="res://Sprites/Cirno2.4.png" id="10_3pt04"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://gv36lxe1yg1u" path="res://Sprites/Cirno2.5.png" id="11_a2fi2"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://br4sks70xogjv" path="res://Sprites/Cirno2.6.png" id="12_ej2t4"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://crty86347gh4f" path="res://Sprites/Cirno2.7.png" id="13_kvwm8"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://ibn5d1fal13g" path="res://Sprites/Cirno2.12.png" id="14_e1x71"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://bulqenrcafawr" path="res://Sprites/Cirno2.13.png" id="15_dx3o0"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://cu8yj5f0r0hq0" path="res://Sprites/Cirno2.14.png" id="16_gcac2"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://dgnbwg4my1jfe" path="res://Sprites/Cirno2.15.png" id="17_et2yp"]
|
|
|
|
|
|
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_2gpmr"]
|
2024-02-26 17:35:40 +01:00
|
|
|
size = Vector2(6, 8)
|
2024-02-26 08:33:37 +01:00
|
|
|
|
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_ur7bf"]
|
|
|
|
|
animations = [{
|
|
|
|
|
"frames": [{
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": ExtResource("2_uhufh")
|
|
|
|
|
}],
|
|
|
|
|
"loop": true,
|
|
|
|
|
"name": &"idle",
|
|
|
|
|
"speed": 5.0
|
|
|
|
|
}, {
|
|
|
|
|
"frames": [{
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": ExtResource("2_uhufh")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": ExtResource("3_bixcs")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": ExtResource("4_mwt28")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": ExtResource("5_04174")
|
|
|
|
|
}],
|
|
|
|
|
"loop": true,
|
|
|
|
|
"name": &"walk_down",
|
|
|
|
|
"speed": 5.0
|
|
|
|
|
}, {
|
|
|
|
|
"frames": [{
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": ExtResource("6_oy6vt")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": ExtResource("7_5fs74")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": ExtResource("8_klw6k")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": ExtResource("9_72uad")
|
|
|
|
|
}],
|
|
|
|
|
"loop": true,
|
|
|
|
|
"name": &"walk_left",
|
|
|
|
|
"speed": 5.0
|
|
|
|
|
}, {
|
|
|
|
|
"frames": [{
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": ExtResource("10_3pt04")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": ExtResource("11_a2fi2")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": ExtResource("12_ej2t4")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": ExtResource("13_kvwm8")
|
|
|
|
|
}],
|
|
|
|
|
"loop": true,
|
|
|
|
|
"name": &"walk_right",
|
|
|
|
|
"speed": 5.0
|
|
|
|
|
}, {
|
|
|
|
|
"frames": [{
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": ExtResource("14_e1x71")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": ExtResource("15_dx3o0")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": ExtResource("16_gcac2")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": ExtResource("17_et2yp")
|
|
|
|
|
}],
|
|
|
|
|
"loop": true,
|
|
|
|
|
"name": &"walk_up",
|
|
|
|
|
"speed": 5.0
|
|
|
|
|
}]
|
|
|
|
|
|
2024-02-26 17:35:40 +01:00
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_qui05"]
|
|
|
|
|
size = Vector2(20, 153)
|
|
|
|
|
|
2024-02-26 08:33:37 +01:00
|
|
|
[node name="Node2D" type="Node2D"]
|
2024-02-26 17:35:40 +01:00
|
|
|
position = Vector2(38, 39)
|
2024-02-26 08:33:37 +01:00
|
|
|
|
|
|
|
|
[node name="CharacterBody2D" type="CharacterBody2D" parent="."]
|
|
|
|
|
script = ExtResource("1_fwei5")
|
2024-02-26 17:35:40 +01:00
|
|
|
Speed = 1600
|
2024-02-26 08:33:37 +01:00
|
|
|
|
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="CharacterBody2D"]
|
|
|
|
|
visible = false
|
|
|
|
|
texture = ExtResource("2_uhufh")
|
|
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="CharacterBody2D"]
|
|
|
|
|
shape = SubResource("RectangleShape2D_2gpmr")
|
|
|
|
|
|
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="CharacterBody2D"]
|
|
|
|
|
sprite_frames = SubResource("SpriteFrames_ur7bf")
|
|
|
|
|
animation = &"walk_down"
|
|
|
|
|
frame = 1
|
|
|
|
|
frame_progress = 0.964336
|
2024-02-26 17:35:40 +01:00
|
|
|
|
|
|
|
|
[node name="StaticBody2D" type="StaticBody2D" parent="."]
|
|
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
|
|
|
|
|
position = Vector2(113, 54.5)
|
|
|
|
|
shape = SubResource("RectangleShape2D_qui05")
|
|
|
|
|
|
|
|
|
|
[node name="Polygon2D" type="Polygon2D" parent="StaticBody2D"]
|
|
|
|
|
polygon = PackedVector2Array(103, -21, 123, -22, 122, 131, 105, 131)
|