projektluzid/Level_Example.tscn
kevadesu 8971f46035 e
2025-05-26 20:33:13 +02:00

143 lines
5.2 KiB
Text

[gd_scene load_steps=18 format=3 uid="uid://uolufy8ucws4"]
[ext_resource type="Script" uid="uid://bpj62lqejp32d" path="res://main.gd" id="1_l3h3d"]
[ext_resource type="Shape3D" uid="uid://ck3ryefc358gp" path="res://wall_ncwt.tres" id="4_agw2m"]
[ext_resource type="Texture2D" uid="uid://d15530ei26qvv" path="res://addons/kenney_prototype_textures/purple/texture_02.png" id="6_wh1he"]
[ext_resource type="PackedScene" uid="uid://bs6yq6gy7k2sb" path="res://player.tscn" id="8_cr84h"]
[ext_resource type="FontFile" uid="uid://cfk3fgwuhngcw" path="res://InstrumentSans-VariableFont_wdth,wght.ttf" id="8_ulki5"]
[ext_resource type="FontFile" uid="uid://csg0b0d5pmx2m" path="res://InstrumentSerif-Italic.ttf" id="11_h6ypg"]
[ext_resource type="FontFile" uid="uid://dsgbhej3kmxkm" path="res://InstrumentSans-Italic-VariableFont_wdth,wght.ttf" id="12_wa7vp"]
[ext_resource type="PackedScene" uid="uid://daoyebc0vm7sd" path="res://pause_menu.tscn" id="13_sbrf7"]
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_rv2mx"]
sky_horizon_color = Color(0.662243, 0.671743, 0.686743, 1)
ground_horizon_color = Color(0.662243, 0.671743, 0.686743, 1)
[sub_resource type="Sky" id="Sky_lsi31"]
sky_material = SubResource("ProceduralSkyMaterial_rv2mx")
[sub_resource type="Environment" id="Environment_fq2vn"]
background_mode = 1
background_color = Color(0.592153, 0.439631, 0.851984, 1)
sky = SubResource("Sky_lsi31")
tonemap_mode = 2
glow_enabled = true
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_qyexb"]
albedo_texture = ExtResource("6_wh1he")
[sub_resource type="PlaneMesh" id="PlaneMesh_ulki5"]
size = Vector2(10, 10)
[sub_resource type="LabelSettings" id="LabelSettings_02d5g"]
font = ExtResource("11_h6ypg")
font_size = 75
font_color = Color(0.941176, 0.788235, 0.996078, 1)
outline_size = 10
outline_color = Color(0, 0, 0, 1)
shadow_size = 16
shadow_color = Color(0.180005, 0.180005, 0.180005, 0.647059)
[sub_resource type="LabelSettings" id="LabelSettings_hgv7a"]
font = ExtResource("12_wa7vp")
font_size = 22
outline_size = 4
outline_color = Color(0, 0, 0, 1)
[sub_resource type="LabelSettings" id="LabelSettings_gemuh"]
font = ExtResource("12_wa7vp")
font_size = 38
outline_size = 4
outline_color = Color(0, 0, 0, 1)
[sub_resource type="LabelSettings" id="LabelSettings_8iaaw"]
font = ExtResource("8_ulki5")
font_size = 28
outline_size = 4
outline_color = Color(0, 0, 0, 1)
[node name="LevelCore" type="Node3D"]
script = ExtResource("1_l3h3d")
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_fq2vn")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(-0.866023, -0.433016, 0.250001, 0, 0.499998, 0.866027, -0.500003, 0.749999, -0.43301, 0, 0, 0)
shadow_enabled = true
[node name="Player" parent="." instance=ExtResource("8_cr84h")]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0)
top_level = true
linear_damp = 3.0
[node name="PauseMenu" parent="." instance=ExtResource("13_sbrf7")]
visible = false
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
material_override = SubResource("StandardMaterial3D_qyexb")
mesh = SubResource("PlaneMesh_ulki5")
[node name="StaticBody3D" type="StaticBody3D" parent="MeshInstance3D"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="MeshInstance3D/StaticBody3D"]
shape = ExtResource("4_agw2m")
[node name="HUD" type="MarginContainer" parent="."]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/margin_left = 50
theme_override_constants/margin_top = 50
theme_override_constants/margin_right = 50
theme_override_constants/margin_bottom = 50
[node name="HBoxContainer" type="HBoxContainer" parent="HUD"]
layout_mode = 2
[node name="VBoxContainer" type="VBoxContainer" parent="HUD/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 2
[node name="Label_Station" type="Label" parent="HUD/HBoxContainer/VBoxContainer"]
layout_mode = 2
text = "ERROR LOADING"
label_settings = SubResource("LabelSettings_02d5g")
[node name="Label_Controls" type="Label" parent="HUD/HBoxContainer/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 1
text = "esc - pause
shift+r - back to checkpoint
f5 - restart level"
label_settings = SubResource("LabelSettings_hgv7a")
[node name="Label_Controls2" type="Label" parent="HUD/HBoxContainer/VBoxContainer"]
layout_mode = 2
text = "if you see this, the game failed to load the code correctly.
in this case, please restart the game"
label_settings = SubResource("LabelSettings_hgv7a")
[node name="Label_Health" type="Label" parent="HUD/HBoxContainer/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 10
text = "[||||||||||]"
label_settings = SubResource("LabelSettings_gemuh")
vertical_alignment = 2
[node name="HBoxContainer2" type="HBoxContainer" parent="HUD"]
layout_mode = 2
[node name="VBoxContainer2" type="VBoxContainer" parent="HUD/HBoxContainer2"]
layout_mode = 2
size_flags_horizontal = 6
[node name="Label" type="Label" parent="HUD/HBoxContainer2/VBoxContainer2"]
layout_mode = 2
size_flags_horizontal = 8
size_flags_vertical = 10
text = "Narration belongs here"
label_settings = SubResource("LabelSettings_8iaaw")