This commit is contained in:
2024-10-19 19:19:46 +02:00
parent 7c50910690
commit bbf3c5e593
12 changed files with 262 additions and 13 deletions

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=33 format=3 uid="uid://bq2yxcm55h7n8"]
[gd_scene load_steps=34 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"]
@@ -26,6 +26,7 @@
[ext_resource type="Texture2D" uid="uid://drvspvx3dpe8u" path="res://model/frame_18_delay-0.1s.png" id="22_atju4"]
[ext_resource type="Texture2D" uid="uid://cggbun65n8uo6" path="res://model/frame_19_delay-0.1s.png" id="23_l4jpt"]
[ext_resource type="Texture2D" uid="uid://ob3tlldg8ta" path="res://model/frame_20_delay-0.1s.png" id="24_tjfip"]
[ext_resource type="AudioStream" uid="uid://blgk5pv3ydewn" path="res://sound/toc.mp3" id="26_7kpao"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_jooqt"]
@@ -310,8 +311,8 @@ script = ExtResource("1_nmul8")
mob = NodePath("Panel/mob")
anim = NodePath("AnimationPlayer")
text_mob = NodePath("Question/Label")
butA = NodePath("Question/Button")
butB = NodePath("Question/Button2")
butA = NodePath("Question/a")
butB = NodePath("Question/b")
[node name="Panel" type="Panel" parent="."]
layout_mode = 1
@@ -343,6 +344,7 @@ libraries = {
}
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource("26_7kpao")
[node name="Trick" type="VBoxContainer" parent="."]
visible = false
@@ -398,14 +400,14 @@ theme_override_font_sizes/font_size = 18
text = "Trick or treat salut a tous les amis moi c'est davide la farge pokemon"
autowrap_mode = 2
[node name="Button" type="Button" parent="Question"]
[node name="a" type="Button" parent="Question"]
custom_minimum_size = Vector2(128.58, 0)
layout_mode = 2
theme = ExtResource("5_50q8s")
theme_override_font_sizes/font_size = 18
text = "Trick"
[node name="Button2" type="Button" parent="Question"]
[node name="b" type="Button" parent="Question"]
layout_mode = 2
theme = ExtResource("5_50q8s")
theme_override_font_sizes/font_size = 18
@@ -413,4 +415,5 @@ text = "Treat
"
[connection signal="pressed" from="Trick/Button2" to="." method="TreatPressed"]
[connection signal="pressed" from="Question/Button2" to="." method="TreatPressed"]
[connection signal="pressed" from="Question/a" to="." method="APressed"]
[connection signal="pressed" from="Question/b" to="." method="BPressed"]