door (20)
This commit is contained in:
@@ -1,11 +1,16 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://dpr0d61yufy2k"]
|
||||
[gd_scene load_steps=5 format=3 uid="uid://dpr0d61yufy2k"]
|
||||
|
||||
[ext_resource type="Script" path="res://script/Car.cs" id="1_ahe46"]
|
||||
[ext_resource type="Texture2D" uid="uid://cdunb77p5rpwa" path="res://model/Car1.png" id="1_yrf7o"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_5e1gk"]
|
||||
size = Vector2(84, 47)
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_nino3"]
|
||||
size = Vector2(100, 60)
|
||||
|
||||
[node name="Car" type="CharacterBody2D"]
|
||||
script = ExtResource("1_ahe46")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
texture = ExtResource("1_yrf7o")
|
||||
@@ -13,3 +18,10 @@ texture = ExtResource("1_yrf7o")
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
position = Vector2(0, 0.5)
|
||||
shape = SubResource("RectangleShape2D_5e1gk")
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="."]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
||||
shape = SubResource("RectangleShape2D_nino3")
|
||||
|
||||
[connection signal="body_entered" from="Area2D" to="." method="BodyEntered"]
|
||||
|
||||
852
scene/city.tscn
852
scene/city.tscn
File diff suppressed because one or more lines are too long
@@ -1,9 +1,9 @@
|
||||
[gd_scene load_steps=34 format=3 uid="uid://bq2yxcm55h7n8"]
|
||||
[gd_scene load_steps=37 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"]
|
||||
[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://cjeqjrjt2bww7" path="res://model/Shotgun.png" id="3_7edmr"]
|
||||
[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"]
|
||||
@@ -26,7 +26,9 @@
|
||||
[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="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="AudioStream" uid="uid://b6yryajuu4kpr" path="res://sound/shotgun-03-38220.mp3" id="28_s56qt"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_jooqt"]
|
||||
|
||||
@@ -142,50 +144,122 @@ tracks/2/keys = {
|
||||
tracks/3/type = "value"
|
||||
tracks/3/imported = false
|
||||
tracks/3/enabled = true
|
||||
tracks/3/path = NodePath("Question:visible")
|
||||
tracks/3/path = NodePath("Panel/mob:modulate")
|
||||
tracks/3/interp = 1
|
||||
tracks/3/loop_wrap = true
|
||||
tracks/3/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [false]
|
||||
"update": 0,
|
||||
"values": [Color(1, 1, 1, 0)]
|
||||
}
|
||||
tracks/4/type = "value"
|
||||
tracks/4/imported = false
|
||||
tracks/4/enabled = true
|
||||
tracks/4/path = NodePath("Panel/mob:modulate")
|
||||
tracks/4/path = NodePath("Panel/AnimatedSprite2D:visible")
|
||||
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)]
|
||||
"update": 1,
|
||||
"values": [false]
|
||||
}
|
||||
tracks/5/type = "value"
|
||||
tracks/5/imported = false
|
||||
tracks/5/enabled = true
|
||||
tracks/5/path = NodePath("Panel/AnimatedSprite2D:visible")
|
||||
tracks/5/path = NodePath("Panel/AnimatedSprite2D:frame")
|
||||
tracks/5/interp = 1
|
||||
tracks/5/loop_wrap = true
|
||||
tracks/5/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [true]
|
||||
"values": [0]
|
||||
}
|
||||
tracks/6/type = "value"
|
||||
tracks/6/imported = false
|
||||
tracks/6/enabled = true
|
||||
tracks/6/path = NodePath("Panel/AnimatedSprite2D:frame")
|
||||
tracks/6/path = NodePath("Panel/mob:position")
|
||||
tracks/6/interp = 1
|
||||
tracks/6/loop_wrap = true
|
||||
tracks/6/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [Vector2(-56, -101)]
|
||||
}
|
||||
tracks/7/type = "value"
|
||||
tracks/7/imported = false
|
||||
tracks/7/enabled = true
|
||||
tracks/7/path = NodePath("Panel/mob:scale")
|
||||
tracks/7/interp = 1
|
||||
tracks/7/loop_wrap = true
|
||||
tracks/7/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [Vector2(1, 1)]
|
||||
}
|
||||
tracks/8/type = "value"
|
||||
tracks/8/imported = false
|
||||
tracks/8/enabled = true
|
||||
tracks/8/path = NodePath("Panel/Sprite2D:visible")
|
||||
tracks/8/interp = 1
|
||||
tracks/8/loop_wrap = true
|
||||
tracks/8/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [0]
|
||||
"values": [false]
|
||||
}
|
||||
tracks/9/type = "value"
|
||||
tracks/9/imported = false
|
||||
tracks/9/enabled = true
|
||||
tracks/9/path = NodePath("AudioStreamPlayer:stream")
|
||||
tracks/9/interp = 1
|
||||
tracks/9/loop_wrap = true
|
||||
tracks/9/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [ExtResource("26_7kpao")]
|
||||
}
|
||||
tracks/10/type = "value"
|
||||
tracks/10/imported = false
|
||||
tracks/10/enabled = true
|
||||
tracks/10/path = NodePath("Panel/mob:texture")
|
||||
tracks/10/interp = 1
|
||||
tracks/10/loop_wrap = true
|
||||
tracks/10/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [ExtResource("3_7edmr")]
|
||||
}
|
||||
tracks/11/type = "value"
|
||||
tracks/11/imported = false
|
||||
tracks/11/enabled = true
|
||||
tracks/11/path = NodePath("Question:modulate")
|
||||
tracks/11/interp = 1
|
||||
tracks/11/loop_wrap = true
|
||||
tracks/11/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [Color(1, 1, 1, 0)]
|
||||
}
|
||||
tracks/12/type = "value"
|
||||
tracks/12/imported = false
|
||||
tracks/12/enabled = true
|
||||
tracks/12/path = NodePath("Question:visible")
|
||||
tracks/12/interp = 1
|
||||
tracks/12/loop_wrap = true
|
||||
tracks/12/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [false]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_fd2lj"]
|
||||
@@ -266,7 +340,6 @@ tracks/5/keys = {
|
||||
|
||||
[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
|
||||
@@ -282,21 +355,170 @@ tracks/0/keys = {
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("Question:visible")
|
||||
tracks/1/path = NodePath("AudioStreamPlayer:stream")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [ExtResource("26_7kpao")]
|
||||
}
|
||||
tracks/2/type = "value"
|
||||
tracks/2/imported = false
|
||||
tracks/2/enabled = true
|
||||
tracks/2/path = NodePath("AudioStreamPlayer:playing")
|
||||
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:modulate")
|
||||
tracks/3/interp = 1
|
||||
tracks/3/loop_wrap = true
|
||||
tracks/3/keys = {
|
||||
"times": PackedFloat32Array(0.1, 0.833333),
|
||||
"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("Question:visible")
|
||||
tracks/4/interp = 1
|
||||
tracks/4/loop_wrap = true
|
||||
tracks/4/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [true]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_0jdtk"]
|
||||
resource_name = "can"
|
||||
length = 2.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, 0.5),
|
||||
"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("Panel/mob:position")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0.0666667),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [Vector2(-105.72, -101)]
|
||||
}
|
||||
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),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [false]
|
||||
}
|
||||
tracks/3/type = "value"
|
||||
tracks/3/imported = false
|
||||
tracks/3/enabled = true
|
||||
tracks/3/path = NodePath("Panel/mob:scale")
|
||||
tracks/3/interp = 1
|
||||
tracks/3/loop_wrap = true
|
||||
tracks/3/keys = {
|
||||
"times": PackedFloat32Array(0.0666667),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [Vector2(0.7, 0.7)]
|
||||
}
|
||||
tracks/4/type = "value"
|
||||
tracks/4/imported = false
|
||||
tracks/4/enabled = true
|
||||
tracks/4/path = NodePath("Panel/Sprite2D:visible")
|
||||
tracks/4/interp = 1
|
||||
tracks/4/loop_wrap = true
|
||||
tracks/4/keys = {
|
||||
"times": PackedFloat32Array(0.0333334, 0.666667),
|
||||
"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("AudioStreamPlayer:stream")
|
||||
tracks/5/interp = 1
|
||||
tracks/5/loop_wrap = true
|
||||
tracks/5/keys = {
|
||||
"times": PackedFloat32Array(0.0333334),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [ExtResource("28_s56qt")]
|
||||
}
|
||||
tracks/6/type = "value"
|
||||
tracks/6/imported = false
|
||||
tracks/6/enabled = true
|
||||
tracks/6/path = NodePath("AudioStreamPlayer:playing")
|
||||
tracks/6/interp = 1
|
||||
tracks/6/loop_wrap = true
|
||||
tracks/6/keys = {
|
||||
"times": PackedFloat32Array(0.6),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [true]
|
||||
}
|
||||
tracks/7/type = "value"
|
||||
tracks/7/imported = false
|
||||
tracks/7/enabled = true
|
||||
tracks/7/path = NodePath("Panel/mob:texture")
|
||||
tracks/7/interp = 1
|
||||
tracks/7/loop_wrap = true
|
||||
tracks/7/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [ExtResource("3_7edmr")]
|
||||
}
|
||||
tracks/8/type = "value"
|
||||
tracks/8/imported = false
|
||||
tracks/8/enabled = true
|
||||
tracks/8/path = NodePath("Panel/mob:modulate")
|
||||
tracks/8/interp = 0
|
||||
tracks/8/loop_wrap = true
|
||||
tracks/8/keys = {
|
||||
"times": PackedFloat32Array(0.0333334, 0.533333),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 0,
|
||||
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_b36fu"]
|
||||
_data = {
|
||||
"RESET": SubResource("Animation_kla4h"),
|
||||
"enter": SubResource("Animation_fd2lj"),
|
||||
"question": SubResource("Animation_ewnqr")
|
||||
"question": SubResource("Animation_ewnqr"),
|
||||
"shot": SubResource("Animation_0jdtk")
|
||||
}
|
||||
|
||||
[node name="door_view" type="Control" node_paths=PackedStringArray("mob", "anim", "text_mob", "butA", "butB")]
|
||||
@@ -329,15 +551,21 @@ theme_override_styles/panel = SubResource("StyleBoxEmpty_jooqt")
|
||||
texture = ExtResource("1_suqi6")
|
||||
|
||||
[node name="mob" type="Sprite2D" parent="Panel"]
|
||||
modulate = Color(1, 1, 1, 0)
|
||||
position = Vector2(-56, -101)
|
||||
texture = ExtResource("3_b1cgq")
|
||||
texture = ExtResource("3_7edmr")
|
||||
centered = false
|
||||
|
||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="Panel"]
|
||||
visible = false
|
||||
position = Vector2(56, 49)
|
||||
sprite_frames = SubResource("SpriteFrames_gtid6")
|
||||
autoplay = "default"
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="Panel"]
|
||||
visible = false
|
||||
texture = ExtResource("25_l02i0")
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||||
libraries = {
|
||||
"": SubResource("AnimationLibrary_b36fu")
|
||||
@@ -345,6 +573,7 @@ libraries = {
|
||||
|
||||
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
||||
stream = ExtResource("26_7kpao")
|
||||
volume_db = -20.0
|
||||
|
||||
[node name="Trick" type="VBoxContainer" parent="."]
|
||||
visible = false
|
||||
@@ -363,7 +592,7 @@ 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"
|
||||
text = "Trick or treat ?"
|
||||
autowrap_mode = 2
|
||||
|
||||
[node name="Button" type="Button" parent="Trick"]
|
||||
@@ -382,6 +611,7 @@ text = "Treat
|
||||
|
||||
[node name="Question" type="VBoxContainer" parent="."]
|
||||
visible = false
|
||||
modulate = Color(1, 1, 1, 0)
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
|
||||
@@ -106,59 +106,83 @@ columns = 2
|
||||
|
||||
[node name="Label" type="Label" parent="trick/GridContainer"]
|
||||
modulate = Color(1, 1, 1, 0.247059)
|
||||
custom_minimum_size = Vector2(145.415, 0)
|
||||
layout_mode = 2
|
||||
theme = ExtResource("2_166c6")
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "speel"
|
||||
theme_override_font_sizes/font_size = 18
|
||||
text = "Black spell of destruction"
|
||||
horizontal_alignment = 1
|
||||
autowrap_mode = 2
|
||||
|
||||
[node name="Label2" type="Label" parent="trick/GridContainer"]
|
||||
modulate = Color(1, 1, 1, 0.247059)
|
||||
custom_minimum_size = Vector2(145.415, 0)
|
||||
layout_mode = 2
|
||||
theme = ExtResource("2_166c6")
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "speel"
|
||||
theme_override_font_sizes/font_size = 18
|
||||
text = "Necromancy"
|
||||
horizontal_alignment = 1
|
||||
autowrap_mode = 2
|
||||
|
||||
[node name="Label3" type="Label" parent="trick/GridContainer"]
|
||||
modulate = Color(1, 1, 1, 0.247059)
|
||||
custom_minimum_size = Vector2(145.415, 0)
|
||||
layout_mode = 2
|
||||
theme = ExtResource("2_166c6")
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "speel"
|
||||
theme_override_font_sizes/font_size = 18
|
||||
text = "Freezing Moon"
|
||||
horizontal_alignment = 1
|
||||
autowrap_mode = 2
|
||||
|
||||
[node name="Label4" type="Label" parent="trick/GridContainer"]
|
||||
modulate = Color(1, 1, 1, 0.247059)
|
||||
custom_minimum_size = Vector2(145.415, 0)
|
||||
layout_mode = 2
|
||||
theme = ExtResource("2_166c6")
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "speel"
|
||||
theme_override_font_sizes/font_size = 18
|
||||
text = "Journey to the stars"
|
||||
horizontal_alignment = 1
|
||||
autowrap_mode = 2
|
||||
|
||||
[node name="Label5" type="Label" parent="trick/GridContainer"]
|
||||
modulate = Color(1, 1, 1, 0.247059)
|
||||
custom_minimum_size = Vector2(145.415, 0)
|
||||
layout_mode = 2
|
||||
theme = ExtResource("2_166c6")
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "speel"
|
||||
theme_override_font_sizes/font_size = 18
|
||||
text = "The power of souls"
|
||||
horizontal_alignment = 1
|
||||
autowrap_mode = 2
|
||||
|
||||
[node name="Label6" type="Label" parent="trick/GridContainer"]
|
||||
modulate = Color(1, 1, 1, 0.247059)
|
||||
custom_minimum_size = Vector2(145.415, 0)
|
||||
layout_mode = 2
|
||||
theme = ExtResource("2_166c6")
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "speel"
|
||||
theme_override_font_sizes/font_size = 18
|
||||
text = "Mutilations internes"
|
||||
horizontal_alignment = 1
|
||||
autowrap_mode = 2
|
||||
|
||||
[node name="Label7" type="Label" parent="trick/GridContainer"]
|
||||
modulate = Color(1, 1, 1, 0.247059)
|
||||
custom_minimum_size = Vector2(145.415, 0)
|
||||
layout_mode = 2
|
||||
theme = ExtResource("2_166c6")
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "speel"
|
||||
theme_override_font_sizes/font_size = 18
|
||||
text = "Manual Breathing"
|
||||
horizontal_alignment = 1
|
||||
autowrap_mode = 2
|
||||
|
||||
[node name="Label8" type="Label" parent="trick/GridContainer"]
|
||||
modulate = Color(1, 1, 1, 0.247059)
|
||||
custom_minimum_size = Vector2(145.415, 0)
|
||||
layout_mode = 2
|
||||
theme = ExtResource("2_166c6")
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "speel"
|
||||
theme_override_font_sizes/font_size = 18
|
||||
text = "Spectral visions of mental warfare"
|
||||
horizontal_alignment = 1
|
||||
autowrap_mode = 2
|
||||
|
||||
[node name="exit" type="Button" parent="trick"]
|
||||
layout_mode = 0
|
||||
|
||||
9
scene/explication.tscn
Normal file
9
scene/explication.tscn
Normal file
@@ -0,0 +1,9 @@
|
||||
[gd_scene format=3 uid="uid://cexfra6slc30a"]
|
||||
|
||||
[node name="explication" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
17
scene/garde.tscn
Normal file
17
scene/garde.tscn
Normal file
@@ -0,0 +1,17 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://cbwvf33vh1pl5"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://bd7mgb8te607q" path="res://model/Adult.png" id="1_7acvr"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_lyctv"]
|
||||
size = Vector2(45, 61)
|
||||
|
||||
[node name="garde" type="Node2D"]
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
texture = ExtResource("1_7acvr")
|
||||
|
||||
[node name="StaticBody2D" type="StaticBody2D" parent="."]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
|
||||
position = Vector2(-0.5, 2.5)
|
||||
shape = SubResource("RectangleShape2D_lyctv")
|
||||
@@ -1,29 +1,43 @@
|
||||
[gd_scene load_steps=34 format=3 uid="uid://4ubk6w44h4s2"]
|
||||
[gd_scene load_steps=47 format=3 uid="uid://4ubk6w44h4s2"]
|
||||
|
||||
[ext_resource type="Script" path="res://script/Player.cs" id="1_gmlsd"]
|
||||
[ext_resource type="Texture2D" uid="uid://bo4q2rvn056p3" path="res://model/PatrickIdle1.png" id="2_w2lj6"]
|
||||
[ext_resource type="Theme" uid="uid://depo4fa5p8k8m" path="res://themes/button.tres" id="3_4cy24"]
|
||||
[ext_resource type="PackedScene" uid="uid://co0u7xd45nxv1" path="res://scene/control/menu.tscn" id="3_6uvd0"]
|
||||
[ext_resource type="Texture2D" uid="uid://cgql6fnplgyeo" path="res://model/Glitch1.png" id="3_kao8s"]
|
||||
[ext_resource type="Texture2D" uid="uid://cheyvdcyhcjfx" path="res://model/GameOver2.jpg" id="3_todyh"]
|
||||
[ext_resource type="PackedScene" uid="uid://bq2yxcm55h7n8" path="res://scene/control/door_view.tscn" id="4_0vwed"]
|
||||
[ext_resource type="Texture2D" uid="uid://cv3g2ug3gn6bl" path="res://model/GameOver3.jpg" id="4_54muj"]
|
||||
[ext_resource type="Texture2D" uid="uid://b4dlsfi5glbqf" path="res://model/Glitch2.png" id="4_smidx"]
|
||||
[ext_resource type="Texture2D" uid="uid://dwd4cqn0sfv0i" path="res://model/Glitch3.png" id="5_pmits"]
|
||||
[ext_resource type="Texture2D" uid="uid://nb15wpu2dfiy" path="res://model/GameOver4.jpg" id="5_s8qqs"]
|
||||
[ext_resource type="Texture2D" uid="uid://b5mfnew4kh6ht" path="res://model/PatrickLeft1.png" id="5_vnnjt"]
|
||||
[ext_resource type="Texture2D" uid="uid://dyi5a1hlwio71" path="res://model/Glitch4.png" id="6_73f32"]
|
||||
[ext_resource type="Texture2D" uid="uid://bu5nnr2x4co38" path="res://model/PatrickLeft2.png" id="6_jii6b"]
|
||||
[ext_resource type="Texture2D" uid="uid://dxbamm4wyrws7" path="res://model/GameOver5.jpg" id="6_y7gua"]
|
||||
[ext_resource type="Texture2D" uid="uid://pyg47l5x2ym7" path="res://model/GameOver6.jpg" id="7_lxnjo"]
|
||||
[ext_resource type="Texture2D" uid="uid://doavv8drnetm" path="res://model/PatrickRight1.png" id="7_xptin"]
|
||||
[ext_resource type="Texture2D" uid="uid://dbey2oeyhxsq8" path="res://model/PatrickRight2.png" id="8_m32jm"]
|
||||
[ext_resource type="AudioStream" uid="uid://dw0xcpxllfds7" path="res://sound/GameOver1.wav" id="8_omk30"]
|
||||
[ext_resource type="Texture2D" uid="uid://dxepey1fkkhhv" path="res://model/DiabeteMeter1.png" id="9_0ohl3"]
|
||||
[ext_resource type="AudioStream" uid="uid://dc7is0h71kji3" path="res://sound/GameOver2.wav" id="9_igpaw"]
|
||||
[ext_resource type="Texture2D" uid="uid://c0oqqh7qgohu" path="res://model/PatrickBack1.png" id="9_y1wtp"]
|
||||
[ext_resource type="Texture2D" uid="uid://dqqegt7a6ng06" path="res://model/DiabeteMeter2.png" id="10_ete3q"]
|
||||
[ext_resource type="AudioStream" uid="uid://c1t5uqvw7m3ne" path="res://sound/GameOver3.wav" id="10_nfxj1"]
|
||||
[ext_resource type="Texture2D" uid="uid://dgs1topxer4a8" path="res://model/PatrickBack2.png" id="10_rvawd"]
|
||||
[ext_resource type="AudioStream" uid="uid://vkhuejdh1c1i" path="res://sound/GameOver4.wav" id="11_hwc4x"]
|
||||
[ext_resource type="Texture2D" uid="uid://cisefnb0eej45" path="res://model/Patrickfront1.png" id="11_wpam5"]
|
||||
[ext_resource type="AudioStream" uid="uid://di2xiq3877bto" path="res://sound/GameOver5.wav" id="12_dv7eh"]
|
||||
[ext_resource type="Texture2D" uid="uid://niofms1fbpqf" path="res://model/GameOver1.jpg" id="12_rjqtk"]
|
||||
[ext_resource type="Texture2D" uid="uid://bex6put0xmadj" path="res://model/Patrickfront2.png" id="12_t0eem"]
|
||||
[ext_resource type="AudioStream" uid="uid://cpekdylimwdq7" path="res://sound/GameOver6.wav" id="13_0akal"]
|
||||
[ext_resource type="Texture2D" uid="uid://rbp38pbtd8e0" path="res://model/PatrickIdle2.png" id="13_2yj6y"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_2homw"]
|
||||
size = Vector2(34, 53)
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_eh2ky"]
|
||||
|
||||
[sub_resource type="Animation" id="Animation_8ug73"]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
@@ -357,7 +371,7 @@ _data = {
|
||||
"up": SubResource("Animation_7twwg")
|
||||
}
|
||||
|
||||
[node name="CharacterBody2D" type="CharacterBody2D" node_paths=PackedStringArray("anim", "cam", "bar", "menu", "time")]
|
||||
[node name="CharacterBody2D" type="CharacterBody2D" node_paths=PackedStringArray("anim", "cam", "bar", "menu", "time", "over", "gameover", "audio")]
|
||||
position = Vector2(1, 1)
|
||||
motion_mode = 1
|
||||
script = ExtResource("1_gmlsd")
|
||||
@@ -369,6 +383,21 @@ bar = NodePath("diabetmeter")
|
||||
menu = NodePath("Camera2D/menu")
|
||||
minute_part_second = 0.5
|
||||
time = NodePath("time")
|
||||
over = NodePath("Camera2D/gameover/Panel/Sprite2D")
|
||||
gameover = NodePath("Camera2D/gameover")
|
||||
audio = NodePath("AudioStreamPlayer")
|
||||
caniche = ExtResource("12_rjqtk")
|
||||
shotgun = ExtResource("3_todyh")
|
||||
caramel = ExtResource("4_54muj")
|
||||
glissemie = ExtResource("5_s8qqs")
|
||||
voiture = ExtResource("6_y7gua")
|
||||
win = ExtResource("7_lxnjo")
|
||||
aud_caniche = ExtResource("8_omk30")
|
||||
aud_shotgun = ExtResource("9_igpaw")
|
||||
aud_caramel = ExtResource("10_nfxj1")
|
||||
aud_glissemie = ExtResource("11_hwc4x")
|
||||
aud_voiture = ExtResource("12_dv7eh")
|
||||
aud_win = ExtResource("13_0akal")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
position = Vector2(0, -2.5)
|
||||
@@ -429,6 +458,27 @@ player = NodePath("../..")
|
||||
[node name="door_view" parent="Camera2D" instance=ExtResource("4_0vwed")]
|
||||
visible = false
|
||||
|
||||
[node name="gameover" type="CanvasLayer" parent="Camera2D"]
|
||||
visible = false
|
||||
|
||||
[node name="Panel" type="Panel" parent="Camera2D/gameover"]
|
||||
offset_right = 40.0
|
||||
offset_bottom = 40.0
|
||||
theme_override_styles/panel = SubResource("StyleBoxEmpty_eh2ky")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="Camera2D/gameover/Panel"]
|
||||
texture = ExtResource("12_rjqtk")
|
||||
centered = false
|
||||
|
||||
[node name="exit" type="Button" parent="Camera2D/gameover/Panel"]
|
||||
layout_mode = 0
|
||||
offset_left = 16.0
|
||||
offset_top = 245.0
|
||||
offset_right = 68.0
|
||||
offset_bottom = 283.0
|
||||
theme = ExtResource("3_4cy24")
|
||||
text = "Exit"
|
||||
|
||||
[node name="CanvasLayer" type="CanvasLayer" parent="Camera2D"]
|
||||
|
||||
[node name="glitch" type="Sprite2D" parent="Camera2D/CanvasLayer"]
|
||||
@@ -449,3 +499,9 @@ libraries = {
|
||||
"": SubResource("AnimationLibrary_1e41b")
|
||||
}
|
||||
autoplay = "idle"
|
||||
|
||||
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
||||
process_mode = 3
|
||||
volume_db = -20.0
|
||||
|
||||
[connection signal="pressed" from="Camera2D/gameover/Panel/exit" to="Camera2D/menu" method="ExitDown"]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=8 format=3 uid="uid://cru3yl7laeiem"]
|
||||
[gd_scene load_steps=13 format=3 uid="uid://cru3yl7laeiem"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://mr6hi8icwyle" path="res://model/Trick or treatBG.png" id="1_4oira"]
|
||||
[ext_resource type="Script" path="res://script/Principal.cs" id="1_5hpqm"]
|
||||
@@ -12,7 +12,160 @@ bg_color = Color(0.0728426, 0.0728426, 0.0728426, 0.890196)
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_kg8au"]
|
||||
bg_color = Color(0.0728426, 0.0728426, 0.0728426, 0.890196)
|
||||
|
||||
[node name="Principal" type="Control" node_paths=PackedStringArray("sub", "credit")]
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_luosh"]
|
||||
bg_color = Color(0, 0, 0, 0.745098)
|
||||
|
||||
[sub_resource type="Animation" id="Animation_fe1ic"]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("sub: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("credit:visible")
|
||||
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("explication/Label: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("explication: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("explication/Label2: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, 0)]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_5wj8t"]
|
||||
resource_name = "play"
|
||||
length = 0.5
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("sub: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("credit:visible")
|
||||
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("explication/Label:modulate")
|
||||
tracks/2/interp = 1
|
||||
tracks/2/loop_wrap = true
|
||||
tracks/2/keys = {
|
||||
"times": PackedFloat32Array(0, 0.5),
|
||||
"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("explication:visible")
|
||||
tracks/3/interp = 1
|
||||
tracks/3/loop_wrap = true
|
||||
tracks/3/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [true]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_arta6"]
|
||||
resource_name = "play2"
|
||||
length = 0.5
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("explication/Label:modulate")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.5),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 0,
|
||||
"values": [Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("explication/Label2:modulate")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0, 0.5),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 0,
|
||||
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_l2600"]
|
||||
_data = {
|
||||
"RESET": SubResource("Animation_fe1ic"),
|
||||
"play": SubResource("Animation_5wj8t"),
|
||||
"play2": SubResource("Animation_arta6")
|
||||
}
|
||||
|
||||
[node name="Principal" type="Control" node_paths=PackedStringArray("sub", "credit", "anim")]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
@@ -22,6 +175,7 @@ grow_vertical = 2
|
||||
script = ExtResource("1_5hpqm")
|
||||
sub = NodePath("sub")
|
||||
credit = NodePath("credit")
|
||||
anim = NodePath("AnimationPlayer")
|
||||
|
||||
[node name="TrickOrTreatBg" type="Sprite2D" parent="."]
|
||||
texture = ExtResource("1_4oira")
|
||||
@@ -58,6 +212,7 @@ text = "Play
|
||||
"
|
||||
|
||||
[node name="Credits" type="Button" parent="sub"]
|
||||
process_mode = 3
|
||||
layout_mode = 0
|
||||
offset_left = 247.0
|
||||
offset_top = 149.0
|
||||
@@ -128,6 +283,66 @@ theme = ExtResource("2_ab0tu")
|
||||
text = "Exit
|
||||
"
|
||||
|
||||
[node name="explication" type="Panel" parent="."]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_luosh")
|
||||
|
||||
[node name="Label" type="Label" parent="explication"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme = ExtResource("2_ab0tu")
|
||||
theme_override_font_sizes/font_size = 19
|
||||
text = "You play as Patrick, a fat diabetic kiddo without a friend.
|
||||
You might think he’s disguised for Halloween, but in fact he feels bad in his own skin, he cosplays as his favorite character to feel cooler.
|
||||
|
||||
On Halloween night he decided to go hangout outside alone while his parents weren’t at home, but he forgot something important, his insulin injector.
|
||||
"
|
||||
vertical_alignment = 1
|
||||
autowrap_mode = 2
|
||||
|
||||
[node name="Label2" type="Label" parent="explication"]
|
||||
modulate = Color(1, 1, 1, 0)
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme = ExtResource("2_ab0tu")
|
||||
theme_override_font_sizes/font_size = 19
|
||||
text = "He now has to go from 6pm to 10pm without it, but he just can’t wait here, lucky him, it’s Halloween, so there’s kiddos everywhere going to trick or treat.
|
||||
Though he’s not a fan of adults, he must face his fears on this tremendous night and go knock on their doors to have some candy !
|
||||
But beware, too much candy is no good too, you must balance between getting candies and going around the place.
|
||||
Now, there’s something weird about this place..
|
||||
Have fun !
|
||||
"
|
||||
vertical_alignment = 1
|
||||
autowrap_mode = 2
|
||||
|
||||
[node name="Label3" type="Label" parent="explication"]
|
||||
layout_mode = 0
|
||||
offset_left = 334.0
|
||||
offset_top = 270.0
|
||||
offset_right = 380.0
|
||||
offset_bottom = 293.0
|
||||
theme = ExtResource("2_ab0tu")
|
||||
text = "Enter..."
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||||
libraries = {
|
||||
"": SubResource("AnimationLibrary_l2600")
|
||||
}
|
||||
|
||||
[connection signal="pressed" from="Enter" to="." method="EnterPressed"]
|
||||
[connection signal="pressed" from="sub/Play" to="." method="PlayPressed"]
|
||||
[connection signal="pressed" from="sub/Credits" to="." method="creditEnter"]
|
||||
|
||||
Reference in New Issue
Block a user