presque fini

This commit is contained in:
2024-10-22 19:29:44 +02:00
parent 5df8824b50
commit 8bfc2c8515
27 changed files with 1108 additions and 178 deletions

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=37 format=3 uid="uid://bq2yxcm55h7n8"]
[gd_scene load_steps=49 format=3 uid="uid://bq2yxcm55h7n8"]
[ext_resource type="Script" path="res://script/DoorView.cs" id="1_nmul8"]
[ext_resource type="Texture2D" uid="uid://dpqc1xv3cechw" path="res://model/House1Closed.jpg" id="1_suqi6"]
@@ -28,7 +28,16 @@
[ext_resource type="Texture2D" uid="uid://ob3tlldg8ta" path="res://model/frame_20_delay-0.1s.png" id="24_tjfip"]
[ext_resource type="Texture2D" uid="uid://surjj4dbldjy" path="res://model/back_menu.png" id="25_l02i0"]
[ext_resource type="AudioStream" uid="uid://blgk5pv3ydewn" path="res://sound/toc.mp3" id="26_7kpao"]
[ext_resource type="Texture2D" uid="uid://ca5aou1f0v5ry" path="res://model/Caniche00.png" id="26_saj1e"]
[ext_resource type="Texture2D" uid="uid://dyt3iack1afus" path="res://model/Caniche01.png" id="27_yv7f0"]
[ext_resource type="Texture2D" uid="uid://ciue5bg3hkw7e" path="res://model/Caniche02.png" id="28_8xvtf"]
[ext_resource type="AudioStream" uid="uid://b6yryajuu4kpr" path="res://sound/shotgun-03-38220.mp3" id="28_s56qt"]
[ext_resource type="Texture2D" uid="uid://qu1x6hutugdx" path="res://model/Caniche03.png" id="29_1goyb"]
[ext_resource type="Texture2D" uid="uid://ddv1olxcs36kd" path="res://model/Caniche04.png" id="30_kwwl8"]
[ext_resource type="Texture2D" uid="uid://dbpfk1v71owas" path="res://model/Caniche05.png" id="31_68r0h"]
[ext_resource type="Texture2D" uid="uid://bw3wf30kj7ysu" path="res://model/Caniche06.png" id="32_2iutj"]
[ext_resource type="Texture2D" uid="uid://ct1adhigovvrs" path="res://model/Caniche07.png" id="33_25upv"]
[ext_resource type="AudioStream" uid="uid://br6fdeyd2ioji" path="res://sound/CanicheJumpscare.wav" id="36_7m6d4"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_jooqt"]
@@ -103,6 +112,38 @@ animations = [{
"speed": 15.0
}]
[sub_resource type="SpriteFrames" id="SpriteFrames_lu262"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("26_saj1e")
}, {
"duration": 1.0,
"texture": ExtResource("27_yv7f0")
}, {
"duration": 1.0,
"texture": ExtResource("28_8xvtf")
}, {
"duration": 1.0,
"texture": ExtResource("29_1goyb")
}, {
"duration": 1.0,
"texture": ExtResource("30_kwwl8")
}, {
"duration": 1.0,
"texture": ExtResource("31_68r0h")
}, {
"duration": 1.0,
"texture": ExtResource("32_2iutj")
}, {
"duration": 1.0,
"texture": ExtResource("33_25upv")
}],
"loop": true,
"name": &"default",
"speed": 15.0
}]
[sub_resource type="Animation" id="Animation_kla4h"]
length = 0.001
tracks/0/type = "value"
@@ -261,6 +302,182 @@ tracks/12/keys = {
"update": 1,
"values": [false]
}
tracks/13/type = "value"
tracks/13/imported = false
tracks/13/enabled = true
tracks/13/path = NodePath("Panel/caniche:visible")
tracks/13/interp = 1
tracks/13/loop_wrap = true
tracks/13/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [false]
}
tracks/14/type = "value"
tracks/14/imported = false
tracks/14/enabled = true
tracks/14/path = NodePath("Panel/caniche:frame")
tracks/14/interp = 1
tracks/14/loop_wrap = true
tracks/14/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [2]
}
tracks/15/type = "value"
tracks/15/imported = false
tracks/15/enabled = true
tracks/15/path = NodePath("AudioStreamPlayer2:stream")
tracks/15/interp = 1
tracks/15/loop_wrap = true
tracks/15/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [ExtResource("36_7m6d4")]
}
tracks/16/type = "value"
tracks/16/imported = false
tracks/16/enabled = true
tracks/16/path = NodePath("AudioStreamPlayer2:playing")
tracks/16/interp = 1
tracks/16/loop_wrap = true
tracks/16/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [false]
}
[sub_resource type="Animation" id="Animation_1ykex"]
resource_name = "cani"
length = 4.0
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Panel/back:texture")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 2.26667),
"transitions": PackedFloat32Array(1, 1),
"update": 1,
"values": [ExtResource("1_suqi6"), ExtResource("2_c5xhw")]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("AudioStreamPlayer:playing")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0.0333333),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [true]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("Panel/AnimatedSprite2D:visible")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0, 0.3, 1.5),
"transitions": PackedFloat32Array(1, 1, 1),
"update": 1,
"values": [false, true, false]
}
tracks/3/type = "value"
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/path = NodePath("Panel/AnimatedSprite2D:frame")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/keys = {
"times": PackedFloat32Array(0.2),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [0]
}
tracks/4/type = "value"
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/path = NodePath("Panel/caniche:visible")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/keys = {
"times": PackedFloat32Array(0.0333333, 2.53333),
"transitions": PackedFloat32Array(1, 1),
"update": 1,
"values": [false, true]
}
tracks/5/type = "value"
tracks/5/imported = false
tracks/5/enabled = true
tracks/5/path = NodePath("Panel/caniche:frame")
tracks/5/interp = 1
tracks/5/loop_wrap = true
tracks/5/keys = {
"times": PackedFloat32Array(2.56667),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [0]
}
tracks/6/type = "value"
tracks/6/imported = false
tracks/6/enabled = true
tracks/6/path = NodePath("AudioStreamPlayer:stream")
tracks/6/interp = 1
tracks/6/loop_wrap = true
tracks/6/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [ExtResource("26_7kpao")]
}
tracks/7/type = "value"
tracks/7/imported = false
tracks/7/enabled = true
tracks/7/path = NodePath("AudioStreamPlayer2:stream")
tracks/7/interp = 1
tracks/7/loop_wrap = true
tracks/7/keys = {
"times": PackedFloat32Array(3.23333),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [ExtResource("36_7m6d4")]
}
tracks/8/type = "value"
tracks/8/imported = false
tracks/8/enabled = true
tracks/8/path = NodePath("AudioStreamPlayer2:playing")
tracks/8/interp = 1
tracks/8/loop_wrap = true
tracks/8/keys = {
"times": PackedFloat32Array(1.7),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [true]
}
[sub_resource type="Animation" id="Animation_d07ec"]
resource_name = "close"
length = 0.5
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Panel/back:texture")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.2),
"transitions": PackedFloat32Array(1, 1),
"update": 1,
"values": [ExtResource("2_c5xhw"), ExtResource("1_suqi6")]
}
[sub_resource type="Animation" id="Animation_fd2lj"]
resource_name = "enter"
@@ -516,6 +733,8 @@ tracks/8/keys = {
[sub_resource type="AnimationLibrary" id="AnimationLibrary_b36fu"]
_data = {
"RESET": SubResource("Animation_kla4h"),
"cani": SubResource("Animation_1ykex"),
"close": SubResource("Animation_d07ec"),
"enter": SubResource("Animation_fd2lj"),
"question": SubResource("Animation_ewnqr"),
"shot": SubResource("Animation_0jdtk")
@@ -566,6 +785,12 @@ autoplay = "default"
visible = false
texture = ExtResource("25_l02i0")
[node name="caniche" type="AnimatedSprite2D" parent="Panel"]
visible = false
sprite_frames = SubResource("SpriteFrames_lu262")
autoplay = "default"
frame = 2
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
"": SubResource("AnimationLibrary_b36fu")
@@ -644,6 +869,12 @@ theme_override_font_sizes/font_size = 18
text = "Treat
"
[node name="AudioStreamPlayer2" type="AudioStreamPlayer" parent="."]
process_mode = 3
stream = ExtResource("36_7m6d4")
volume_db = -20.0
[connection signal="pressed" from="Trick/Button" to="." method="TrickPressed"]
[connection signal="pressed" from="Trick/Button2" to="." method="TreatPressed"]
[connection signal="pressed" from="Question/a" to="." method="APressed"]
[connection signal="pressed" from="Question/b" to="." method="BPressed"]