102 lines
3.4 KiB
Plaintext
102 lines
3.4 KiB
Plaintext
[gd_scene load_steps=10 format=3 uid="uid://d22gcvp7p2sfr"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/in_game.gd" id="1_0lma2"]
|
|
[ext_resource type="PlaneMesh" uid="uid://dwpvym2kc4gd8" path="res://meshes/ground.tres" id="1_7j0qh"]
|
|
[ext_resource type="Material" uid="uid://chp3rogcgumau" path="res://materials/ground.tres" id="2_f8uto"]
|
|
|
|
[sub_resource type="Environment" id="Environment_2c67a"]
|
|
background_mode = 1
|
|
ambient_light_source = 2
|
|
ambient_light_color = Color(1, 1, 1, 1)
|
|
ambient_light_energy = 0.15
|
|
tonemap_mode = 3
|
|
sdfgi_read_sky_light = false
|
|
glow_enabled = true
|
|
glow_normalized = true
|
|
volumetric_fog_enabled = true
|
|
volumetric_fog_albedo = Color(0.381703, 0.381703, 0.381703, 1)
|
|
volumetric_fog_emission = Color(0.314009, 2.89988e-06, 1.52815e-06, 1)
|
|
volumetric_fog_emission_energy = 0.25
|
|
|
|
[sub_resource type="WorldBoundaryShape3D" id="WorldBoundaryShape3D_1l61b"]
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_kcty4"]
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_6koow"]
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_y3ciy"]
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_2wvq0"]
|
|
|
|
[node name="InGame" type="Node3D"]
|
|
script = ExtResource("1_0lma2")
|
|
|
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
|
environment = SubResource("Environment_2c67a")
|
|
|
|
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 0.258819, 0.965926, 0, -0.965926, 0.258819, 0, 10.0494, 0)
|
|
|
|
[node name="ChaserSpawner" type="MultiplayerSpawner" parent="."]
|
|
_spawnable_scenes = PackedStringArray("res://scenes/chaser.tscn")
|
|
spawn_path = NodePath("../Chasers")
|
|
|
|
[node name="RunnerSpawner" type="MultiplayerSpawner" parent="."]
|
|
_spawnable_scenes = PackedStringArray("res://scenes/runner.tscn")
|
|
spawn_path = NodePath("../Runners")
|
|
|
|
[node name="Ground" type="StaticBody3D" parent="."]
|
|
|
|
[node name="GroundCollider" type="CollisionShape3D" parent="Ground"]
|
|
shape = SubResource("WorldBoundaryShape3D_1l61b")
|
|
|
|
[node name="GroundMesh" type="MeshInstance3D" parent="Ground"]
|
|
mesh = ExtResource("1_7j0qh")
|
|
surface_material_override/0 = ExtResource("2_f8uto")
|
|
|
|
[node name="Chasers" type="Node3D" parent="."]
|
|
unique_name_in_owner = true
|
|
|
|
[node name="Runners" type="Node3D" parent="."]
|
|
unique_name_in_owner = true
|
|
|
|
[node name="StatsOverlay" type="CanvasLayer" parent="."]
|
|
|
|
[node name="StatsContainer" type="Control" parent="StatsOverlay"]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="StatsLabel" type="RichTextLabel" parent="StatsOverlay/StatsContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 0
|
|
offset_right = 200.0
|
|
offset_bottom = 50.0
|
|
|
|
[node name="PingTimer" type="Timer" parent="."]
|
|
unique_name_in_owner = true
|
|
wait_time = 0.5
|
|
autostart = true
|
|
|
|
[node name="StaticBody3D" type="StaticBody3D" parent="."]
|
|
transform = Transform3D(0.96321, 0, 0.268752, 0, 1, 0, -0.268752, 0, 0.96321, 3, 0.5, 0)
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="StaticBody3D"]
|
|
mesh = SubResource("BoxMesh_kcty4")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D"]
|
|
shape = SubResource("BoxShape3D_6koow")
|
|
|
|
[node name="MainObjective" type="StaticBody3D" parent="."]
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="MainObjective"]
|
|
shape = SubResource("BoxShape3D_y3ciy")
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="MainObjective"]
|
|
mesh = SubResource("BoxMesh_2wvq0")
|
|
|
|
[connection signal="timeout" from="PingTimer" to="." method="_on_ping_timer_timeout"]
|