172 lines
6.3 KiB
Plaintext
172 lines
6.3 KiB
Plaintext
[gd_scene load_steps=20 format=3 uid="uid://cr7otusrvcjiw"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://b1jphtwdw13kj" path="res://shrek/shrek_from_shrek_2_the_video_games_gamecube.glb" id="1_5js3u"]
|
|
[ext_resource type="Script" uid="uid://dchvsrokir8sr" path="res://shrek death screen.gd" id="1_xndu2"]
|
|
[ext_resource type="AudioStream" uid="uid://brfq1pr54mf5i" path="res://sounds/death screen.mp3" id="2_yvbwa"]
|
|
[ext_resource type="Script" uid="uid://balmrd7ut48wb" path="res://shrek/shrek_dead.gd" id="3_gcd1x"]
|
|
[ext_resource type="Script" uid="uid://br13t55ayrbyb" path="res://try again.gd" id="4_lqahf"]
|
|
[ext_resource type="Script" uid="uid://deddtxmcdbeo0" path="res://death spotlight.gd" id="4_mngya"]
|
|
[ext_resource type="FontFile" uid="uid://cy8lw8evg6x5i" path="res://fonts/DIEDIEDI.TTF" id="5_651bd"]
|
|
[ext_resource type="Script" uid="uid://cr63nn2j8npny" path="res://endgameText.gd" id="5_sb7kq"]
|
|
[ext_resource type="FontFile" uid="uid://cyj2ix355t542" path="res://fonts/Jenkine.ttf" id="8_5nk82"]
|
|
|
|
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_yb0wt"]
|
|
sky_top_color = Color(0, 0, 0, 1)
|
|
sky_horizon_color = Color(0.5, 0.5, 0.5, 1)
|
|
sky_energy_multiplier = 0.05
|
|
ground_bottom_color = Color(0, 0, 0, 1)
|
|
ground_horizon_color = Color(0.5, 0.5, 0.5, 1)
|
|
|
|
[sub_resource type="Sky" id="Sky_8oo6x"]
|
|
sky_material = SubResource("ProceduralSkyMaterial_yb0wt")
|
|
|
|
[sub_resource type="Environment" id="Environment_w8pyk"]
|
|
background_energy_multiplier = 0.0
|
|
sky = SubResource("Sky_8oo6x")
|
|
ambient_light_sky_contribution = 0.0
|
|
volumetric_fog_enabled = true
|
|
volumetric_fog_density = 0.25
|
|
|
|
[sub_resource type="Theme" id="Theme_llcej"]
|
|
default_font = ExtResource("5_651bd")
|
|
default_font_size = 100
|
|
|
|
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_mj5lx"]
|
|
|
|
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_s2f5y"]
|
|
|
|
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_eh7pn"]
|
|
|
|
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_5x468"]
|
|
|
|
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_mvh5c"]
|
|
|
|
[sub_resource type="GDScript" id="GDScript_qik3i"]
|
|
resource_name = "back to main menu button"
|
|
script/source = "extends Button
|
|
|
|
|
|
func _pressed():
|
|
get_tree().change_scene_to_file(\"res://main_menu.tscn\")
|
|
"
|
|
|
|
[node name="Node3D" type="Node3D"]
|
|
script = ExtResource("1_xndu2")
|
|
|
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
|
environment = SubResource("Environment_w8pyk")
|
|
|
|
[node name="shrek_from_shrek_2_the_video_games_gamecube" parent="." instance=ExtResource("1_5js3u")]
|
|
transform = Transform3D(5, 0, 0, 0, 5, 0, 0, 0, 5, 0, 0, -1.457)
|
|
script = ExtResource("3_gcd1x")
|
|
|
|
[node name="eyes" type="Node3D" parent="shrek_from_shrek_2_the_video_games_gamecube"]
|
|
transform = Transform3D(0.2, 0, 0, 0, 0.2, 0, 0, 0, 0.2, 0, 0, -0.00115201)
|
|
visible = false
|
|
|
|
[node name="SpotLight3D2" type="SpotLight3D" parent="shrek_from_shrek_2_the_video_games_gamecube/eyes"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.170113, 3.40744, 0.859904)
|
|
light_color = Color(1, 0, 0, 1)
|
|
light_energy = 100.0
|
|
light_volumetric_fog_energy = 0.0
|
|
shadow_enabled = true
|
|
spot_range = 0.2
|
|
|
|
[node name="SpotLight3D" type="SpotLight3D" parent="shrek_from_shrek_2_the_video_games_gamecube/eyes"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.153549, 3.40744, 0.859904)
|
|
light_color = Color(1, 0, 0, 1)
|
|
light_energy = 100.0
|
|
light_volumetric_fog_energy = 0.0
|
|
shadow_enabled = true
|
|
spot_range = 0.2
|
|
|
|
[node name="Camera3D" type="Camera3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3.28675, 2.09682)
|
|
current = true
|
|
fov = 45.0
|
|
|
|
[node name="death spotlight" type="SpotLight3D" parent="."]
|
|
transform = Transform3D(0.999999, -0.000394711, -0.00108956, 0.000929191, -0.288728, 0.957411, -0.000692486, -0.957411, -0.288727, 0, 5, -1.62729)
|
|
visible = false
|
|
light_color = Color(1, 0, 0, 1)
|
|
shadow_enabled = true
|
|
distance_fade_enabled = true
|
|
spot_range = 2.5
|
|
script = ExtResource("4_mngya")
|
|
|
|
[node name="AudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0019803, 0.0157967, -0.000938654)
|
|
stream = ExtResource("2_yvbwa")
|
|
volume_db = -40.0
|
|
|
|
[node name="CanvasLayer" type="CanvasLayer" parent="."]
|
|
|
|
[node name="Control" type="Control" parent="CanvasLayer"]
|
|
layout_mode = 3
|
|
anchors_preset = 7
|
|
anchor_left = 0.5
|
|
anchor_top = 1.0
|
|
anchor_right = 0.5
|
|
anchor_bottom = 1.0
|
|
offset_left = -20.0
|
|
offset_top = -40.0
|
|
offset_right = 20.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 0
|
|
|
|
[node name="RichTextLabel" type="RichTextLabel" parent="CanvasLayer/Control"]
|
|
layout_mode = 0
|
|
offset_left = -262.0
|
|
offset_top = -200.0
|
|
offset_right = 260.0
|
|
offset_bottom = -73.0
|
|
theme = SubResource("Theme_llcej")
|
|
theme_override_colors/default_color = Color(1, 0, 0, 1)
|
|
bbcode_enabled = true
|
|
text = "[center]GAME OVER"
|
|
scroll_active = false
|
|
script = ExtResource("5_sb7kq")
|
|
|
|
[node name="Control" type="Control" parent="CanvasLayer/Control"]
|
|
anchors_preset = 0
|
|
offset_right = 40.0
|
|
offset_bottom = 40.0
|
|
|
|
[node name="Button" type="Button" parent="CanvasLayer/Control/Control"]
|
|
layout_mode = 1
|
|
anchors_preset = 1
|
|
anchor_left = 1.0
|
|
anchor_right = 1.0
|
|
offset_left = -240.0
|
|
offset_top = -73.0
|
|
offset_right = -71.0
|
|
offset_bottom = -4.0
|
|
grow_horizontal = 0
|
|
theme_override_fonts/font = ExtResource("8_5nk82")
|
|
theme_override_font_sizes/font_size = 50
|
|
theme_override_styles/focus = SubResource("StyleBoxEmpty_mj5lx")
|
|
theme_override_styles/disabled = SubResource("StyleBoxEmpty_s2f5y")
|
|
theme_override_styles/hover = SubResource("StyleBoxEmpty_eh7pn")
|
|
theme_override_styles/pressed = SubResource("StyleBoxEmpty_5x468")
|
|
theme_override_styles/normal = SubResource("StyleBoxEmpty_mvh5c")
|
|
text = "try again?"
|
|
script = ExtResource("4_lqahf")
|
|
|
|
[node name="Button2" type="Button" parent="CanvasLayer/Control/Control"]
|
|
layout_mode = 0
|
|
offset_left = 16.0
|
|
offset_top = -73.0
|
|
offset_right = 203.0
|
|
offset_bottom = -4.0
|
|
theme_override_fonts/font = ExtResource("8_5nk82")
|
|
theme_override_font_sizes/font_size = 50
|
|
theme_override_styles/focus = SubResource("StyleBoxEmpty_mj5lx")
|
|
theme_override_styles/disabled = SubResource("StyleBoxEmpty_s2f5y")
|
|
theme_override_styles/hover = SubResource("StyleBoxEmpty_eh7pn")
|
|
theme_override_styles/pressed = SubResource("StyleBoxEmpty_5x468")
|
|
theme_override_styles/normal = SubResource("StyleBoxEmpty_mvh5c")
|
|
text = "main menu"
|
|
script = SubResource("GDScript_qik3i")
|
|
|
|
[connection signal="pressed" from="CanvasLayer/Control/Control/Button" to="." method="_on_button_pressed"]
|