je sais pas trop mais bcp

This commit is contained in:
2024-10-19 17:51:07 +02:00
parent 1594b25ffc
commit 585d6d787e
31 changed files with 1410 additions and 14 deletions

View File

@@ -1,9 +1,10 @@
[gd_scene load_steps=13 format=4 uid="uid://1tfopbwug3ht"]
[gd_scene load_steps=14 format=4 uid="uid://1tfopbwug3ht"]
[ext_resource type="Texture2D" uid="uid://dkg613gwabtd2" path="res://model/TileMap.png" id="1_w44h3"]
[ext_resource type="Texture2D" uid="uid://bna4larududon" path="res://model/HouseTileMap.png" id="2_dofxf"]
[ext_resource type="PackedScene" uid="uid://4ubk6w44h4s2" path="res://scene/player.tscn" id="2_nmm2d"]
[ext_resource type="Texture2D" uid="uid://cfljnqr8b3gki" path="res://model/Light.png" id="4_vawiv"]
[ext_resource type="PackedScene" uid="uid://bmt2uv41t2dte" path="res://scene/door.tscn" id="5_rvft3"]
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_huo5x"]
texture = ExtResource("1_w44h3")
@@ -702,3 +703,10 @@ position = Vector2(372, 203)
[node name="DirectionalLight2D" type="DirectionalLight2D" parent="."]
color = Color(0.0499461, 0, 0.528618, 1)
energy = 0.8
[node name="door" parent="." instance=ExtResource("5_rvft3")]
position = Vector2(333, 206)
text_char = "qwertyuiop"
answerA = "A"
answerB = "B"
answerA_good = true

View File

@@ -1,15 +1,416 @@
[gd_scene load_steps=2 format=3 uid="uid://bq2yxcm55h7n8"]
[gd_scene load_steps=33 format=3 uid="uid://bq2yxcm55h7n8"]
[ext_resource type="Texture2D" uid="uid://dpqc1xv3cechw" path="res://model/House1Closed.jpg" id="1_rs1io"]
[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"]
[ext_resource type="Texture2D" uid="uid://b7dcgps5sedwl" path="res://model/House1Open.jpg" id="2_c5xhw"]
[ext_resource type="Texture2D" uid="uid://d0g144qe1ly7v" path="res://model/Guy1.png" id="3_b1cgq"]
[ext_resource type="Texture2D" uid="uid://bo5rfykx4o7dj" path="res://model/frame_00_delay-0.1s.png" id="4_xbfyi"]
[ext_resource type="Theme" uid="uid://depo4fa5p8k8m" path="res://themes/button.tres" id="5_50q8s"]
[ext_resource type="Texture2D" uid="uid://borv8ayo6tunr" path="res://model/frame_01_delay-0.1s.png" id="5_qi8gy"]
[ext_resource type="Texture2D" uid="uid://ck36fe4ol2luh" path="res://model/frame_02_delay-0.1s.png" id="6_r7ofc"]
[ext_resource type="Texture2D" uid="uid://bvpix8sqi8sm4" path="res://model/frame_03_delay-0.1s.png" id="7_18s6v"]
[ext_resource type="Texture2D" uid="uid://cy6303a6p8a7k" path="res://model/frame_04_delay-0.1s.png" id="8_joxva"]
[ext_resource type="Texture2D" uid="uid://swf03offqtmw" path="res://model/frame_05_delay-0.1s.png" id="9_0u0rh"]
[ext_resource type="Texture2D" uid="uid://cbmkdbjywsnqe" path="res://model/frame_06_delay-0.1s.png" id="10_l4x34"]
[ext_resource type="Texture2D" uid="uid://dc7cls6j0f2y3" path="res://model/frame_07_delay-0.1s.png" id="11_t3mjw"]
[ext_resource type="Texture2D" uid="uid://dwixrqec6acr5" path="res://model/frame_08_delay-0.1s.png" id="12_0pk2o"]
[ext_resource type="Texture2D" uid="uid://dpo88vuxdjqx3" path="res://model/frame_09_delay-0.1s.png" id="13_fjbga"]
[ext_resource type="Texture2D" uid="uid://bkukqcnunks73" path="res://model/frame_10_delay-0.1s.png" id="14_8drb8"]
[ext_resource type="Texture2D" uid="uid://ce0cpwn2a8mc7" path="res://model/frame_11_delay-0.1s.png" id="15_2248l"]
[ext_resource type="Texture2D" uid="uid://b4hliw16a3di0" path="res://model/frame_12_delay-0.1s.png" id="16_0yrtr"]
[ext_resource type="Texture2D" uid="uid://bg4lgbismwpgm" path="res://model/frame_13_delay-0.1s.png" id="17_qdp1t"]
[ext_resource type="Texture2D" uid="uid://c637m8pidgjlh" path="res://model/frame_14_delay-0.1s.png" id="18_4qpga"]
[ext_resource type="Texture2D" uid="uid://c1sjkarfjda64" path="res://model/frame_15_delay-0.1s.png" id="19_2ovmp"]
[ext_resource type="Texture2D" uid="uid://bn3ymn1dyqdwx" path="res://model/frame_16_delay-0.1s.png" id="20_uxtuq"]
[ext_resource type="Texture2D" uid="uid://dex2ky42rkfbg" path="res://model/frame_17_delay-0.1s.png" id="21_srb7y"]
[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"]
[node name="door_view" type="Control"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_jooqt"]
[sub_resource type="SpriteFrames" id="SpriteFrames_gtid6"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("4_xbfyi")
}, {
"duration": 1.0,
"texture": ExtResource("5_qi8gy")
}, {
"duration": 1.0,
"texture": ExtResource("6_r7ofc")
}, {
"duration": 1.0,
"texture": ExtResource("7_18s6v")
}, {
"duration": 1.0,
"texture": ExtResource("8_joxva")
}, {
"duration": 1.0,
"texture": ExtResource("9_0u0rh")
}, {
"duration": 1.0,
"texture": ExtResource("10_l4x34")
}, {
"duration": 1.0,
"texture": ExtResource("11_t3mjw")
}, {
"duration": 1.0,
"texture": ExtResource("12_0pk2o")
}, {
"duration": 1.0,
"texture": ExtResource("13_fjbga")
}, {
"duration": 1.0,
"texture": ExtResource("14_8drb8")
}, {
"duration": 1.0,
"texture": ExtResource("15_2248l")
}, {
"duration": 1.0,
"texture": ExtResource("16_0yrtr")
}, {
"duration": 1.0,
"texture": ExtResource("17_qdp1t")
}, {
"duration": 1.0,
"texture": ExtResource("18_4qpga")
}, {
"duration": 1.0,
"texture": ExtResource("19_2ovmp")
}, {
"duration": 1.0,
"texture": ExtResource("20_uxtuq")
}, {
"duration": 1.0,
"texture": ExtResource("21_srb7y")
}, {
"duration": 1.0,
"texture": ExtResource("22_atju4")
}, {
"duration": 1.0,
"texture": ExtResource("23_l4jpt")
}, {
"duration": 1.0,
"texture": ExtResource("24_tjfip")
}],
"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("Panel/back:texture")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [ExtResource("1_suqi6")]
}
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),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [false]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("Trick:visible")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [false]
}
tracks/3/type = "value"
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/path = NodePath("Question:visible")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [false]
}
tracks/4/type = "value"
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/path = NodePath("Panel/mob:modulate")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Color(1, 1, 1, 1)]
}
tracks/5/type = "value"
tracks/5/imported = false
tracks/5/enabled = true
tracks/5/path = NodePath("Panel/AnimatedSprite2D:visible")
tracks/5/interp = 1
tracks/5/loop_wrap = true
tracks/5/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [true]
}
tracks/6/type = "value"
tracks/6/imported = false
tracks/6/enabled = true
tracks/6/path = NodePath("Panel/AnimatedSprite2D:frame")
tracks/6/interp = 1
tracks/6/loop_wrap = true
tracks/6/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [0]
}
[sub_resource type="Animation" id="Animation_fd2lj"]
resource_name = "enter"
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),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [true]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("Trick:visible")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(3.83333),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [true]
}
tracks/3/type = "value"
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/path = NodePath("Panel/mob:modulate")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/keys = {
"times": PackedFloat32Array(2.3, 3.5),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
}
tracks/4/type = "value"
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/path = NodePath("Panel/AnimatedSprite2D:visible")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/keys = {
"times": PackedFloat32Array(0, 0.2, 1.5),
"transitions": PackedFloat32Array(1, 1, 1),
"update": 1,
"values": [false, true, false]
}
tracks/5/type = "value"
tracks/5/imported = false
tracks/5/enabled = true
tracks/5/path = NodePath("Panel/AnimatedSprite2D:frame")
tracks/5/interp = 1
tracks/5/loop_wrap = true
tracks/5/keys = {
"times": PackedFloat32Array(0.2),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [0]
}
[sub_resource type="Animation" id="Animation_ewnqr"]
resource_name = "question"
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Trick:visible")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [false]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("Question:visible")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [true]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_b36fu"]
_data = {
"RESET": SubResource("Animation_kla4h"),
"enter": SubResource("Animation_fd2lj"),
"question": SubResource("Animation_ewnqr")
}
[node name="door_view" type="Control" node_paths=PackedStringArray("mob", "anim", "text_mob", "butA", "butB")]
process_mode = 3
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_nmul8")
mob = NodePath("Panel/mob")
anim = NodePath("AnimationPlayer")
text_mob = NodePath("Question/Label")
butA = NodePath("Question/Button")
butB = NodePath("Question/Button2")
[node name="House1Closed" type="Sprite2D" parent="."]
position = Vector2(200, 150)
texture = ExtResource("1_rs1io")
[node name="Panel" type="Panel" parent="."]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = SubResource("StyleBoxEmpty_jooqt")
[node name="back" type="Sprite2D" parent="Panel"]
texture = ExtResource("1_suqi6")
[node name="mob" type="Sprite2D" parent="Panel"]
position = Vector2(-56, -101)
texture = ExtResource("3_b1cgq")
centered = false
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="Panel"]
position = Vector2(56, 39)
sprite_frames = SubResource("SpriteFrames_gtid6")
autoplay = "default"
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
"": SubResource("AnimationLibrary_b36fu")
}
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
[node name="Trick" type="VBoxContainer" parent="."]
visible = false
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = 155.0
offset_bottom = -2.0
grow_horizontal = 2
grow_vertical = 2
metadata/_edit_use_anchors_ = true
[node name="Label" type="Label" parent="Trick"]
custom_minimum_size = Vector2(263.595, 79.17)
layout_mode = 2
theme = ExtResource("5_50q8s")
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="Trick"]
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="Trick"]
layout_mode = 2
theme = ExtResource("5_50q8s")
theme_override_font_sizes/font_size = 18
text = "Treat
"
[node name="Question" type="VBoxContainer" parent="."]
visible = false
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = 155.0
offset_bottom = -2.0
grow_horizontal = 2
grow_vertical = 2
metadata/_edit_use_anchors_ = true
[node name="Label" type="Label" parent="Question"]
custom_minimum_size = Vector2(263.595, 79.17)
layout_mode = 2
theme = ExtResource("5_50q8s")
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"]
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"]
layout_mode = 2
theme = ExtResource("5_50q8s")
theme_override_font_sizes/font_size = 18
text = "Treat
"
[connection signal="pressed" from="Trick/Button2" to="." method="TreatPressed"]
[connection signal="pressed" from="Question/Button2" to="." method="TreatPressed"]

View File

@@ -1,17 +1,24 @@
[gd_scene load_steps=3 format=3 uid="uid://bmt2uv41t2dte"]
[gd_scene load_steps=5 format=3 uid="uid://bmt2uv41t2dte"]
[ext_resource type="Script" path="res://script/Door.cs" id="1_xvwbq"]
[ext_resource type="Texture2D" uid="uid://d0g144qe1ly7v" path="res://model/Guy1.png" id="2_5xjot"]
[ext_resource type="Texture2D" uid="uid://cx1w76xqxqe11" path="res://icon.svg" id="2_f3iv6"]
[sub_resource type="CircleShape2D" id="CircleShape2D_aityf"]
radius = 32.0
[node name="door" type="Node2D"]
script = ExtResource("1_xvwbq")
image_mob = ExtResource("2_5xjot")
[node name="Area2D" type="Area2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
shape = SubResource("CircleShape2D_aityf")
[node name="Icon" type="Sprite2D" parent="."]
scale = Vector2(0.265, 0.265)
texture = ExtResource("2_f3iv6")
[connection signal="body_entered" from="Area2D" to="." method="BodyEntered"]
[connection signal="body_exited" from="Area2D" to="." method="BodyExited"]

175
scene/door_view_2.tscn Normal file
View File

@@ -0,0 +1,175 @@
[gd_scene load_steps=9 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="Theme" uid="uid://depo4fa5p8k8m" path="res://themes/button.tres" id="4_2rflv"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_uh8ys"]
[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/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [ExtResource("1_4srwi")]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("CanvasLayer/AudioStreamPlayer:playing")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [false]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("CanvasLayer/Panel/mob:modulate")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [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/interp = 1
tracks/3/loop_wrap = true
tracks/3/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [false]
}
[sub_resource type="Animation" id="Animation_fd2lj"]
resource_name = "enter"
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/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 1),
"transitions": PackedFloat32Array(1, 1),
"update": 1,
"values": [ExtResource("1_4srwi"), ExtResource("3_cdukw")]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("CanvasLayer/AudioStreamPlayer:playing")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [true]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("CanvasLayer/Panel/mob:modulate")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(1.03333, 2),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [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/interp = 1
tracks/3/loop_wrap = true
tracks/3/keys = {
"times": PackedFloat32Array(3),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [true]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_b36fu"]
_data = {
"RESET": SubResource("Animation_kla4h"),
"enter": SubResource("Animation_fd2lj")
}
[node name="door_view2" type="CanvasLayer"]
[node name="Panel" type="Panel" parent="."]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = SubResource("StyleBoxEmpty_uh8ys")
[node name="back" type="Sprite2D" parent="Panel"]
texture = ExtResource("1_4srwi")
centered = false
[node name="mob" type="Sprite2D" parent="Panel"]
position = Vector2(134, 38)
texture = ExtResource("2_8ljyr")
centered = false
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
root_node = NodePath("../..")
libraries = {
"": SubResource("AnimationLibrary_b36fu")
}
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
[node name="VBoxContainer" type="VBoxContainer" parent="."]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = 155.0
offset_bottom = -2.0
grow_horizontal = 2
grow_vertical = 2
[node name="Label" type="Label" parent="VBoxContainer"]
custom_minimum_size = Vector2(263.595, 79.17)
layout_mode = 2
theme = ExtResource("4_2rflv")
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="VBoxContainer"]
custom_minimum_size = Vector2(128.58, 0)
layout_mode = 2
theme = ExtResource("4_2rflv")
theme_override_font_sizes/font_size = 18
text = "Trick"
[node name="Button2" type="Button" parent="VBoxContainer"]
layout_mode = 2
theme = ExtResource("4_2rflv")
theme_override_font_sizes/font_size = 18
text = "Treat
"

View File

@@ -372,6 +372,7 @@ position = Vector2(2, 1)
texture = ExtResource("2_w2lj6")
[node name="Camera2D" type="Camera2D" parent="."]
process_mode = 3
limit_smoothed = true
position_smoothing_enabled = true
rotation_smoothing_speed = 7.0
@@ -386,6 +387,7 @@ scale = Vector2(0.334, 0.334)
anim = NodePath("../../anim")
[node name="door_view" parent="Camera2D" instance=ExtResource("4_0vwed")]
visible = false
[node name="CanvasLayer" type="CanvasLayer" parent="Camera2D"]
@@ -407,5 +409,3 @@ libraries = {
"": SubResource("AnimationLibrary_1e41b")
}
autoplay = "idle"
[node name="PointLight2D" type="PointLight2D" parent="."]