This commit is contained in:
2024-10-20 10:31:07 +02:00
parent fa51e53d7d
commit 0e9cdb9af5
12 changed files with 845 additions and 44 deletions

View File

@@ -1,42 +1,135 @@
[gd_scene load_steps=9 format=3 uid="uid://dfasxp8jfv7e3"]
[gd_scene load_steps=32 format=3 uid="uid://dfasxp8jfv7e3"]
[ext_resource type="Texture2D" uid="uid://dpqc1xv3cechw" path="res://model/House1Closed.jpg" id="1_4srwi"]
[ext_resource type="Texture2D" uid="uid://d0g144qe1ly7v" path="res://model/Guy1.png" id="2_8ljyr"]
[ext_resource type="Texture2D" uid="uid://b7dcgps5sedwl" path="res://model/House1Open.jpg" id="3_cdukw"]
[ext_resource type="Texture2D" uid="uid://bo5rfykx4o7dj" path="res://model/frame_00_delay-0.1s.png" id="3_ihiwq"]
[ext_resource type="Theme" uid="uid://depo4fa5p8k8m" path="res://themes/button.tres" id="4_2rflv"]
[ext_resource type="AudioStream" uid="uid://blgk5pv3ydewn" path="res://sound/toc.mp3" id="4_ggc3w"]
[ext_resource type="Texture2D" uid="uid://borv8ayo6tunr" path="res://model/frame_01_delay-0.1s.png" id="4_rc3td"]
[ext_resource type="Texture2D" uid="uid://ck36fe4ol2luh" path="res://model/frame_02_delay-0.1s.png" id="5_vso06"]
[ext_resource type="Texture2D" uid="uid://bvpix8sqi8sm4" path="res://model/frame_03_delay-0.1s.png" id="6_b675y"]
[ext_resource type="Texture2D" uid="uid://cy6303a6p8a7k" path="res://model/frame_04_delay-0.1s.png" id="7_022vo"]
[ext_resource type="Texture2D" uid="uid://swf03offqtmw" path="res://model/frame_05_delay-0.1s.png" id="8_deir0"]
[ext_resource type="Texture2D" uid="uid://cbmkdbjywsnqe" path="res://model/frame_06_delay-0.1s.png" id="9_cj8kn"]
[ext_resource type="Texture2D" uid="uid://dc7cls6j0f2y3" path="res://model/frame_07_delay-0.1s.png" id="10_10n5i"]
[ext_resource type="Texture2D" uid="uid://dwixrqec6acr5" path="res://model/frame_08_delay-0.1s.png" id="11_opt5a"]
[ext_resource type="Texture2D" uid="uid://dpo88vuxdjqx3" path="res://model/frame_09_delay-0.1s.png" id="12_5rx3n"]
[ext_resource type="Texture2D" uid="uid://bkukqcnunks73" path="res://model/frame_10_delay-0.1s.png" id="13_ybmgl"]
[ext_resource type="Texture2D" uid="uid://ce0cpwn2a8mc7" path="res://model/frame_11_delay-0.1s.png" id="14_k3fhl"]
[ext_resource type="Texture2D" uid="uid://b4hliw16a3di0" path="res://model/frame_12_delay-0.1s.png" id="15_ck2ea"]
[ext_resource type="Texture2D" uid="uid://bg4lgbismwpgm" path="res://model/frame_13_delay-0.1s.png" id="16_h77sx"]
[ext_resource type="Texture2D" uid="uid://c637m8pidgjlh" path="res://model/frame_14_delay-0.1s.png" id="17_3fhg6"]
[ext_resource type="Texture2D" uid="uid://c1sjkarfjda64" path="res://model/frame_15_delay-0.1s.png" id="18_eiil4"]
[ext_resource type="Texture2D" uid="uid://bn3ymn1dyqdwx" path="res://model/frame_16_delay-0.1s.png" id="19_rkfgx"]
[ext_resource type="Texture2D" uid="uid://dex2ky42rkfbg" path="res://model/frame_17_delay-0.1s.png" id="20_g0u8b"]
[ext_resource type="Texture2D" uid="uid://drvspvx3dpe8u" path="res://model/frame_18_delay-0.1s.png" id="21_sgl1k"]
[ext_resource type="Texture2D" uid="uid://cggbun65n8uo6" path="res://model/frame_19_delay-0.1s.png" id="22_wdj54"]
[ext_resource type="Texture2D" uid="uid://ob3tlldg8ta" path="res://model/frame_20_delay-0.1s.png" id="23_0f8wp"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_uh8ys"]
[sub_resource type="SpriteFrames" id="SpriteFrames_flbv2"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("3_ihiwq")
}, {
"duration": 1.0,
"texture": ExtResource("4_rc3td")
}, {
"duration": 1.0,
"texture": ExtResource("5_vso06")
}, {
"duration": 1.0,
"texture": ExtResource("6_b675y")
}, {
"duration": 1.0,
"texture": ExtResource("7_022vo")
}, {
"duration": 1.0,
"texture": ExtResource("8_deir0")
}, {
"duration": 1.0,
"texture": ExtResource("9_cj8kn")
}, {
"duration": 1.0,
"texture": ExtResource("10_10n5i")
}, {
"duration": 1.0,
"texture": ExtResource("11_opt5a")
}, {
"duration": 1.0,
"texture": ExtResource("12_5rx3n")
}, {
"duration": 1.0,
"texture": ExtResource("13_ybmgl")
}, {
"duration": 1.0,
"texture": ExtResource("14_k3fhl")
}, {
"duration": 1.0,
"texture": ExtResource("15_ck2ea")
}, {
"duration": 1.0,
"texture": ExtResource("16_h77sx")
}, {
"duration": 1.0,
"texture": ExtResource("17_3fhg6")
}, {
"duration": 1.0,
"texture": ExtResource("18_eiil4")
}, {
"duration": 1.0,
"texture": ExtResource("19_rkfgx")
}, {
"duration": 1.0,
"texture": ExtResource("20_g0u8b")
}, {
"duration": 1.0,
"texture": ExtResource("21_sgl1k")
}, {
"duration": 1.0,
"texture": ExtResource("22_wdj54")
}, {
"duration": 1.0,
"texture": ExtResource("23_0f8wp")
}],
"loop": true,
"name": &"default",
"speed": 15.0
}]
[sub_resource type="Animation" id="Animation_kla4h"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("CanvasLayer/Panel/back:texture")
tracks/0/path = NodePath("door_view2/AudioStreamPlayer:playing")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [ExtResource("1_4srwi")]
"values": [false]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("CanvasLayer/AudioStreamPlayer:playing")
tracks/1/path = NodePath("door_view2/Panel/back:texture")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [false]
"values": [ExtResource("1_4srwi")]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("CanvasLayer/Panel/mob:modulate")
tracks/2/path = NodePath("door_view2/Panel/mob:modulate")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
@@ -48,7 +141,7 @@ tracks/2/keys = {
tracks/3/type = "value"
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/path = NodePath("CanvasLayer/VBoxContainer:visible")
tracks/3/path = NodePath("door_view2/VBoxContainer:visible")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/keys = {
@@ -57,6 +150,18 @@ tracks/3/keys = {
"update": 1,
"values": [false]
}
tracks/4/type = "value"
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/path = NodePath("door_view2/AnimatedSprite2D:frame")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [15]
}
[sub_resource type="Animation" id="Animation_fd2lj"]
resource_name = "enter"
@@ -64,51 +169,63 @@ length = 3.0
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("CanvasLayer/Panel/back:texture")
tracks/0/path = NodePath("door_view2/AudioStreamPlayer:playing")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 1),
"transitions": PackedFloat32Array(1, 1),
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [ExtResource("1_4srwi"), ExtResource("3_cdukw")]
"values": [false]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("CanvasLayer/AudioStreamPlayer:playing")
tracks/1/path = NodePath("door_view2/Panel/back:texture")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"times": PackedFloat32Array(0, 0.966667),
"transitions": PackedFloat32Array(1, 1),
"update": 1,
"values": [true]
"values": [ExtResource("1_4srwi"), ExtResource("3_cdukw")]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("CanvasLayer/Panel/mob:modulate")
tracks/2/path = NodePath("door_view2/Panel/mob:modulate")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(1.03333, 2),
"transitions": PackedFloat32Array(1, 1),
"times": PackedFloat32Array(0, 1, 2),
"transitions": PackedFloat32Array(1, 1, 1),
"update": 0,
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
}
tracks/3/type = "value"
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/path = NodePath("CanvasLayer/VBoxContainer:visible")
tracks/3/path = NodePath("door_view2/VBoxContainer:visible")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/keys = {
"times": PackedFloat32Array(3),
"times": PackedFloat32Array(2.96667),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [true]
}
tracks/4/type = "value"
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/path = NodePath("door_view2/AnimatedSprite2D:frame")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/keys = {
"times": PackedFloat32Array(0.0333333),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [0]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_b36fu"]
_data = {
@@ -135,6 +252,12 @@ position = Vector2(134, 38)
texture = ExtResource("2_8ljyr")
centered = false
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
position = Vector2(239, 198)
sprite_frames = SubResource("SpriteFrames_flbv2")
autoplay = "default"
frame = 15
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
root_node = NodePath("../..")
libraries = {
@@ -142,8 +265,10 @@ libraries = {
}
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource("4_ggc3w")
[node name="VBoxContainer" type="VBoxContainer" parent="."]
visible = false
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0