-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmain.tscn
More file actions
148 lines (122 loc) · 7.81 KB
/
main.tscn
File metadata and controls
148 lines (122 loc) · 7.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
[gd_scene load_steps=15 format=3 uid="uid://ctsfcsdwpx2ur"]
[ext_resource type="Script" path="res://main.gd" id="1_7vku1"]
[ext_resource type="MeshLibrary" uid="uid://du4gvmkkq5o3h" path="res://tile_map.tres" id="1_kwjf5"]
[ext_resource type="PackedScene" uid="uid://bjrrixu8hfsmf" path="res://player.tscn" id="2_jmdnv"]
[ext_resource type="PackedScene" uid="uid://yeu6asv1waho" path="res://Terminal/terminal_window.tscn" id="4_bi2n5"]
[ext_resource type="PackedScene" uid="uid://cx3l3evojfr88" path="res://Menu/main_menu.tscn" id="6_4owxv"]
[ext_resource type="LabelSettings" uid="uid://btd1mc7nwpydb" path="res://Assets/fonts/health_font.tres" id="6_5vcf0"]
[ext_resource type="Script" path="res://addons/interpolated_camera_3d/interpolated_camera_3d.gd" id="6_n1s2c"]
[ext_resource type="PackedScene" uid="uid://be86o5yyr2q2v" path="res://Menu/accept_menu.tscn" id="7_l0dbe"]
[ext_resource type="AudioStream" uid="uid://csw8jdvbv3i1c" path="res://Sound/GGJ_ambience_base_layer.wav" id="9_kvepa"]
[ext_resource type="PackedScene" uid="uid://dwbtja05yba6i" path="res://Sound/ambient_beeps/ambient_beep_sound.tscn" id="10_v4ot2"]
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_ptv1a"]
sky_horizon_color = Color(0.64625, 0.65575, 0.67075, 1)
ground_horizon_color = Color(0.64625, 0.65575, 0.67075, 1)
[sub_resource type="Sky" id="Sky_n82qc"]
sky_material = SubResource("ProceduralSkyMaterial_ptv1a")
[sub_resource type="Environment" id="Environment_k2kby"]
background_mode = 1
background_color = Color(0.0941176, 0.0784314, 0.145098, 1)
sky = SubResource("Sky_n82qc")
tonemap_mode = 2
glow_enabled = true
glow_bloom = 0.5
glow_blend_mode = 0
[sub_resource type="BoxShape3D" id="BoxShape3D_cmf0m"]
size = Vector3(24.5151, 1, 2.00063)
[node name="Main" type="Node"]
script = ExtResource("1_7vku1")
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_k2kby")
[node name="GridMap" type="GridMap" parent="."]
transform = Transform3D(2, 0, 0, 0, 2, 0, 0, 0, 2, 0, -1, 0)
mesh_library = ExtResource("1_kwjf5")
cell_size = Vector3(1, 1, 1)
cell_center_y = false
data = {
"cells": PackedInt32Array(0, 65535, 0, 0, 0, 0, 65535, 0, 0, 65535, 65535, 0, 65534, 65535, 0, 65534, 0, 0, 65534, 1, 0, 65535, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 65535, 0, 1, 65534, 0, 0, 65534, 0, 65535, 65534, 0, 65534, 65534, 0, 65533, 65534, 0, 65533, 65535, 0, 65533, 0, 0, 65534, 2, 0, 65535, 2, 0, 65533, 2, 0, 65533, 1, 0, 0, 2, 0, 1, 2, 0, 2, 65534, 0, 2, 65535, 0, 2, 0, 0, 2, 1, 0, 2, 2, 0, 2, 3, 0, 1, 3, 0, 0, 3, 0, 65535, 3, 0, 65534, 3, 0, 65533, 3, 0, 65532, 3, 0, 65532, 2, 0, 65532, 1, 0, 65532, 0, 0, 65532, 65535, 0, 65532, 65534, 0, 65532, 65533, 0, 65533, 65533, 0, 65534, 65533, 0, 65535, 65533, 0, 0, 65533, 0, 1, 65533, 0, 2, 65533, 0, 3, 65533, 0, 3, 65534, 0, 3, 65535, 0, 3, 0, 0, 3, 1, 0, 3, 2, 0, 3, 3, 0, 3, 4, 0, 2, 4, 0, 1, 4, 0, 0, 4, 0, 65535, 4, 0, 65534, 4, 0, 65533, 4, 0, 65532, 4, 0, 65531, 4, 0, 65531, 3, 0, 65531, 2, 0, 65531, 1, 0, 65531, 0, 0, 65531, 65535, 0, 65531, 65534, 0, 65531, 65533, 0, 65531, 65532, 0, 65532, 65532, 0, 65533, 65532, 0, 65534, 65532, 0, 65535, 65532, 0, 0, 65532, 0, 1, 65532, 0, 2, 65532, 0, 3, 65532, 0, 4, 65532, 0, 4, 65533, 0, 4, 65534, 0, 4, 65535, 0, 4, 0, 0, 4, 1, 0, 4, 2, 0, 4, 3, 0, 4, 4, 0, 4, 5, 0, 3, 5, 0, 2, 5, 0, 1, 5, 0, 0, 5, 0, 65535, 5, 0, 65534, 5, 0, 65533, 5, 0, 65532, 5, 0, 65531, 5, 0, 65530, 5, 0, 65530, 4, 0, 65530, 3, 0, 65530, 2, 0, 65530, 1, 0, 65530, 0, 0, 65530, 65535, 0, 65530, 65534, 0, 65530, 65533, 0, 65530, 65532, 0, 65530, 65531, 0, 65530, 65530, 0, 65531, 65530, 0, 65531, 65531, 0, 65532, 65530, 0, 65532, 65531, 0, 65533, 65530, 0, 65533, 65531, 0, 65534, 65531, 0, 65534, 65530, 0, 65535, 65531, 0, 65535, 65530, 0, 0, 65531, 0, 0, 65530, 0, 1, 65530, 0, 1, 65531, 0, 2, 65531, 0, 2, 65530, 0, 3, 65530, 0, 3, 65531, 0, 4, 65531, 0, 4, 65530, 0, 5, 65530, 0, 5, 65531, 0, 5, 65532, 0, 5, 65533, 0, 5, 65534, 0, 5, 65535, 0, 5, 0, 0, 5, 1, 0, 5, 2, 0, 5, 3, 0, 5, 4, 0, 5, 5, 0)
}
[node name="Player" parent="." instance=ExtResource("2_jmdnv")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 8)
[node name="Camera3D" type="Camera3D" parent="Player"]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 0.707107, 0.707107, 0, -0.707107, 0.707107, 0, 4.45512, 4)
[node name="StaticBody3D" type="StaticBody3D" parent="."]
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 13)
shape = SubResource("BoxShape3D_cmf0m")
[node name="CollisionShape3D4" type="CollisionShape3D" parent="StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -13)
shape = SubResource("BoxShape3D_cmf0m")
[node name="CollisionShape3D2" type="CollisionShape3D" parent="StaticBody3D"]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 13.0551, 0, -0.0550554)
shape = SubResource("BoxShape3D_cmf0m")
[node name="CollisionShape3D3" type="CollisionShape3D" parent="StaticBody3D"]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -12.9449, 0, -0.0550554)
shape = SubResource("BoxShape3D_cmf0m")
[node name="OverlayLayer" type="CanvasLayer" parent="."]
[node name="TerminalWindow" parent="OverlayLayer" instance=ExtResource("4_bi2n5")]
unique_name_in_owner = true
visible = false
offset_left = 1200.0
offset_top = 126.0
offset_right = -80.0
offset_bottom = -474.0
[node name="HBoxContainer" type="HBoxContainer" parent="OverlayLayer"]
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -228.0
offset_right = -8.0
offset_bottom = 41.0
grow_horizontal = 0
[node name="LabelLabel" type="Label" parent="OverlayLayer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 10
text = "Health:"
label_settings = ExtResource("6_5vcf0")
[node name="HealthLabel" type="Label" parent="OverlayLayer/HBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 10
text = "3"
label_settings = ExtResource("6_5vcf0")
[node name="MainMenu" parent="OverlayLayer" instance=ExtResource("6_4owxv")]
unique_name_in_owner = true
visible = false
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -327.0
offset_top = -248.0
offset_right = -327.0
offset_bottom = -248.0
[node name="AcceptMenu" parent="OverlayLayer" instance=ExtResource("7_l0dbe")]
unique_name_in_owner = true
visible = false
offset_left = 633.0
offset_top = 292.0
offset_right = -1287.0
offset_bottom = -788.0
[node name="InterpolatedCamera3D" type="Camera3D" parent="."]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 0.707107, 0.707107, 0, -0.707107, 0.707107, 0, 4.45512, 12)
current = true
script = ExtResource("6_n1s2c")
target = NodePath("../Player/Camera3D")
[node name="AmbientBaseSound" type="AudioStreamPlayer" parent="."]
stream = ExtResource("9_kvepa")
volume_db = 5.0
autoplay = true
[node name="AmbientBeepSound" parent="." instance=ExtResource("10_v4ot2")]
[connection signal="hack_activated" from="Player" to="." method="_on_player_hack_activated"]
[connection signal="player_died" from="Player" to="." method="_on_player_player_died"]
[connection signal="player_hurt" from="Player" to="." method="_on_player_player_hurt"]
[connection signal="player_moved" from="Player" to="." method="_on_player_player_moved"]
[connection signal="security_reduced" from="OverlayLayer/TerminalWindow" to="." method="_on_terminal_window_security_reduced"]
[connection signal="terminal_completed" from="OverlayLayer/TerminalWindow" to="." method="_on_terminal_window_terminal_completed"]
[connection signal="level_selected" from="OverlayLayer/MainMenu" to="." method="_on_main_menu_level_selected"]
[connection signal="cancel_pressed" from="OverlayLayer/AcceptMenu" to="." method="_on_accept_menu_cancel_pressed"]
[connection signal="ok_pressed" from="OverlayLayer/AcceptMenu" to="." method="_on_accept_menu_ok_pressed"]