-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathWorld.tscn
209 lines (176 loc) · 11.9 KB
/
World.tscn
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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
[gd_scene load_steps=24 format=2]
[ext_resource path="res://test-elements/portal-spawner/PortalSpawner.tscn" type="PackedScene" id=1]
[ext_resource path="res://tileset/tiles.tres" type="TileSet" id=2]
[ext_resource path="res://camera/PlayerCamera.gd" type="Script" id=3]
[ext_resource path="res://props/camera/Camera.tscn" type="PackedScene" id=4]
[ext_resource path="res://test-elements/weighted-cube/Weighted Cube.tscn" type="PackedScene" id=5]
[ext_resource path="res://default_env.tres" type="Environment" id=6]
[ext_resource path="res://portal-gun/PortalGun.tscn" type="PackedScene" id=7]
[ext_resource path="res://test-elements/cube-dropper/CubeDropper.tscn" type="PackedScene" id=8]
[ext_resource path="res://test-elements/fizzler/fizzler.png" type="Texture" id=9]
[ext_resource path="res://test-elements/testchamber-sign/TestchamberSign.tscn" type="PackedScene" id=10]
[ext_resource path="res://test-elements/indicator-lights/indicator-lights-strip-off.png" type="Texture" id=11]
[ext_resource path="res://test-elements/indicator-lights/indicator-lights-corner-off.png" type="Texture" id=12]
[ext_resource path="res://test-elements/indicator-lights/indicator-lights-corner-on.png" type="Texture" id=13]
[ext_resource path="res://test-elements/indicator-lights/indicator-lights-strip-on.png" type="Texture" id=14]
[ext_resource path="res://test-elements/pedestal-button/PedestalButton.tscn" type="PackedScene" id=15]
[ext_resource path="res://classes/TextureToggle.gd" type="Script" id=16]
[ext_resource path="res://classes/TextureToggleNode.gd" type="Script" id=17]
[ext_resource path="res://shader/glow/GlowMaterial.tres" type="Material" id=18]
[ext_resource path="res://test-elements/fizzler/Fizzler.tscn" type="PackedScene" id=19]
[ext_resource path="res://props/glass-lightcover/GlassLightCover.tscn" type="PackedScene" id=20]
[ext_resource path="res://player/Player.tscn" type="PackedScene" id=21]
[ext_resource path="res://sounds/background/background-drone-ambient.wav" type="AudioStream" id=22]
[ext_resource path="res://tileset/TileColliderGenerator.gd" type="Script" id=23]
[node name="World" type="Node2D"]
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = ExtResource( 6 )
[node name="Lights" type="Node2D" parent="."]
[node name="GlassLightCover" parent="Lights" instance=ExtResource( 20 )]
position = Vector2( -352, 448 )
[node name="GlassLightCover2" parent="Lights" instance=ExtResource( 20 )]
position = Vector2( -256, -224 )
rotation = 1.5708
[node name="GlassLightCover4" parent="Lights" instance=ExtResource( 20 )]
position = Vector2( 1086.64, 224 )
rotation = 1.5708
[node name="GlassLightCover6" parent="Lights" instance=ExtResource( 20 )]
position = Vector2( 640, -224 )
rotation = 1.5708
[node name="GlassLightCover7" parent="Lights" instance=ExtResource( 20 )]
position = Vector2( 317.279, 288 )
rotation = 1.5708
[node name="TileMapBackground" type="TileMap" parent="."]
modulate = Color( 0.517647, 0.517647, 0.517647, 1 )
scale = Vector2( 0.5, 0.5 )
z_index = -10
tile_set = ExtResource( 2 )
cell_size = Vector2( 128, 128 )
cell_quadrant_size = 64
collision_layer = 0
collision_mask = 0
occluder_light_mask = 0
format = 1
tile_data = PoolIntArray( -720897, 8, 0, -786432, 8, 0, -786431, 8, 0, -655361, 8, 0, -720896, 8, 0, -720895, 8, 0, -655360, 6, 0, -655358, 8, 0, -655357, 8, 0, -589822, 6, 0, -524288, 6, 0, -458750, 6, 0, -327688, 6, 0, -393216, 8, 0, -393215, 8, 0, -262154, 8, 0, -262153, 8, 0, -327679, 8, 0, -327678, 6, 0, -196618, 8, 0, -196617, 8, 0, -196616, 8, 0, -196615, 8, 0, -262143, 8, 0, -131082, 1, 0, -131080, 3, 0, -131079, 8, 0, -131078, 6, 0, -131076, 8, 0, -131075, 8, 0, -131074, 6, 0, -196608, 6, 0, -196606, 6, 0, -196604, 5, 0, -196600, 6, 0, -196598, 6, 0, -65544, 8, 0, -65543, 8, 0, -65540, 6, 0, -131060, 8, 0, -131059, 8, 0, -131058, 8, 0, -131057, 8, 0, -8, 3, 0, -7, 8, 0, -6, 6, 0, -2, 6, 0, -65536, 5, 0, -65528, 8, 0, -65527, 5, 0, -65523, 8, 0, -65522, 6, 0, 65528, 3, 0, 65529, 3, 0, 65532, 8, 0, 65533, 8, 0, 8, 8, 0, 13, 8, 0, 131068, 0, 0, 65540, 3, 0, 65541, 3, 0, 65542, 1, 0, 65544, 8, 0, 65549, 2, 0, 65551, 2, 0, 65553, 2, 0, 65555, 2, 0, 65559, 8, 0, 131076, 2, 0, 131080, 8, 0, 262138, 2, 0, 196608, 2, 0, 196610, 3, 0, 196611, 3, 0, 196616, 2, 0, 196618, 3, 0, 196619, 3, 0, 196620, 3, 0, 196621, 3, 0, 196622, 3, 0, 196623, 3, 0, 196624, 3, 0, 196625, 3, 0, 196626, 3, 0, 196627, 3, 0, 196628, 3, 0, 262146, 3, 0, 262147, 3, 0, 262148, 3, 0, 262149, 3, 0, 262154, 3, 0, 262155, 2, 0, 262157, 2, 0, 262159, 2, 0, 262161, 2, 0, 262163, 2, 0, 393211, 3, 0, 393212, 1, 0, 393214, 1, 0, 327680, 0, 0, 327684, 1, 0, 327686, 1, 0, 327688, 2, 0, 327690, 3, 0, 458747, 3, 0, 393226, 3, 0, 393227, 2, 0, 393229, 2, 0, 393231, 2, 0, 393233, 2, 0, 393235, 2, 0, 524283, 3, 0, 458760, 2, 0, 458762, 3, 0, 589819, 3, 0, 524298, 3, 0, 524299, 3, 0 )
[node name="TileMapForeground" type="TileMap" parent="."]
scale = Vector2( 0.5, 0.5 )
z_index = 10
tile_set = ExtResource( 2 )
cell_size = Vector2( 128, 128 )
cell_quadrant_size = 64
collision_layer = 0
collision_mask = 0
format = 1
tile_data = PoolIntArray( -720908, 5, 0, -720904, 5, 0, -720900, 6, 0, -720898, 8, 0, -786430, 6, 0, -786428, 5, 0, -786424, 6, 0, -786422, 8, 0, -786421, 5, 0, -786417, 6, 0, -786415, 5, 0, -786411, 5, 0, -655362, 8, 0, -720886, 8, 0, -589828, 8, 0, -589827, 6, 0, -589825, 8, 0, -655352, 8, 0, -655351, 6, 0, -655345, 6, 0, -524292, 8, 0, -524289, 8, 0, -589816, 8, 0, -458764, 6, 0, -458762, 8, 0, -458761, 8, 0, -458760, 6, 0, -458758, 0, 0, -458754, 6, 0, -524284, 1, 0, -524282, 2, 0, -524280, 8, 0, -524279, 8, 0, -524278, 6, 0, -524276, 8, 0, -524275, 8, 0, -524274, 6, 0, -524272, 6, 0, -524270, 6, 0, -524268, 8, 0, -524267, 5, 0, -393226, 6, 0, -458744, 6, 0, -458740, 8, 0, -458739, 8, 0, -458732, 8, 0, -327692, 6, 0, -327688, 2, 0, -327682, 2, 0, -393210, 3, 0, -393209, 3, 0, -393206, 6, 0, -393204, 5, 0, -393200, 8, 0, -393199, 8, 0, -393198, 8, 0, -393197, 6, 0, -327680, 3, 0, -327674, 3, 0, -327673, 3, 0, -327672, 3, 0, -327671, 3, 0, -327664, 8, 0, -327663, 8, 0, -327662, 8, 0, -196620, 8, 0, -196619, 8, 0, -196610, 19, 0, -196609, 19, 2, -262144, 3, 0, -262140, 19, 0, -262139, 19, 1, -262138, 19, 1, -262137, 19, 2, -262128, 6, 0, -262126, 8, 0, -262125, 8, 0, -262124, 8, 0, -262123, 8, 0, -262122, 8, 0, -262121, 8, 0, -262120, 8, 0, -131084, 1, 0, -196590, 8, 0, -196589, 6, 0, -196587, 8, 0, -196586, 8, 0, -196585, 8, 0, -196584, 8, 0, -131061, 6, 0, -131059, 8, 0, -131056, 8, 0, -131055, 8, 0, -131054, 8, 0, -131051, 6, 0, -131049, 8, 0, -131048, 8, 0, -65523, 8, 0, -65520, 3, 0, -65519, 4, 0, -65518, 3, 0, -65517, 4, 0, -65516, 3, 0, -65513, 8, 0, -65512, 8, 0, 11, 8, 0, 12, 8, 0, 13, 8, 0, 16, 4, 0, 17, 3, 0, 18, 4, 0, 19, 3, 0, 20, 4, 0, 21, 6, 0, 23, 8, 0, 24, 8, 0, 131060, 8, 0, 131061, 8, 0, 131062, 5, 0, 131066, 6, 0, 65547, 6, 0, 65559, 8, 0, 65560, 8, 0, 196596, 8, 0, 196597, 8, 0, 131093, 8, 0, 131094, 8, 0, 131095, 6, 0, 262132, 6, 0, 196629, 8, 0, 196630, 8, 0, 262165, 6, 0, 262167, 6, 0, 393204, 8, 0, 393205, 8, 0, 393206, 6, 0, 393208, 1, 0, 458740, 8, 0, 458741, 8, 0, 393237, 5, 0, 524276, 5, 0, 524300, 0, 0, 524304, 3, 0, 524305, 4, 0, 524306, 3, 0, 524307, 4, 0, 524308, 3, 0, 655352, 2, 0, 655354, 2, 0, 655356, 0, 0, 589824, 2, 0, 589826, 2, 0, 589828, 3, 0, 589829, 4, 0, 589830, 3, 0, 589831, 4, 0, 589832, 3, 0, 589833, 4, 0, 589834, 2, 0, 589840, 4, 0, 589841, 3, 0, 589842, 4, 0, 589843, 3, 0, 589844, 4, 0, 655364, 4, 0, 655365, 3, 0, 655366, 4, 0, 655367, 3, 0, 655368, 4, 0, 655369, 3, 0, 655376, 8, 0, 655377, 5, 0, 655381, 8, 0, 655382, 8, 0, 655383, 8, 0, 655384, 8, 0, 786420, 6, 0, 786422, 8, 0, 786423, 8, 0, 786424, 0, 0, 720896, 0, 0, 720900, 0, 0, 720904, 0, 0, 720912, 8, 0, 720917, 6, 0, 720919, 6, 0, 851958, 8, 0, 851959, 8, 0, 786444, 6, 0, 786446, 8, 0, 786447, 8, 0, 786448, 8, 0, 917492, 8, 0, 917493, 8, 0, 917494, 6, 0, 917500, 2, 0, 917502, 2, 0, 851982, 6, 0, 851984, 8, 0, 851989, 6, 0, 851991, 6, 0, 983028, 8, 0, 983029, 8, 0, 917516, 8, 0, 917517, 8, 0, 917520, 8, 0, 917521, 8, 0, 917522, 8, 0, 917523, 8, 0, 917524, 8, 0 )
script = ExtResource( 23 )
[node name="Player" parent="." instance=ExtResource( 21 )]
position = Vector2( -265.744, 527.289 )
[node name="PlayerCamera" type="Camera2D" parent="Player"]
position = Vector2( -0.606995, -96 )
current = true
process_mode = 0
drag_margin_left = 0.5
drag_margin_top = 0.5
drag_margin_right = 0.5
drag_margin_bottom = 0.5
script = ExtResource( 6 )
[node name="PortalGun" parent="Player" instance=ExtResource( 7 )]
position = Vector2( 0, -80 )
[node name="CubeDropper" parent="." instance=ExtResource( 8 )]
position = Vector2( 384, -192 )
auto_drop = true
object = ExtResource( 5 )
auto_respawn = true
[node name="Fizzler" type="Node2D" parent="."]
[node name="Fizzler" parent="Fizzler" instance=ExtResource( 19 )]
position = Vector2( 800, 352 )
scale = Vector2( 1, 1.08 )
[node name="fizzler" type="Sprite" parent="Fizzler"]
position = Vector2( 800, 208 )
scale = Vector2( 0.25, 0.25 )
texture = ExtResource( 9 )
[node name="fizzler2" type="Sprite" parent="Fizzler"]
position = Vector2( 800, 496 )
rotation = -3.14159
scale = Vector2( 0.25, 0.25 )
texture = ExtResource( 9 )
[node name="TestchamberSign" parent="." instance=ExtResource( 10 )]
position = Vector2( -128, 336 )
number = -1
max_number = 100
icons_type = [ 0, 1 ]
icons_on = [ true, true ]
[node name="PedestalButton" parent="." instance=ExtResource( 15 )]
position = Vector2( -304, 64 )
scale = Vector2( -1, 1 )
[node name="IndicatorLightsCubeDropper" type="Node2D" parent="."]
material = ExtResource( 18 )
z_index = -9
script = ExtResource( 17 )
[node name="indicator-lights-strip-off1" type="Sprite" parent="IndicatorLightsCubeDropper"]
use_parent_material = true
position = Vector2( -256, 32 )
scale = Vector2( 0.25, 0.25 )
texture = ExtResource( 11 )
centered = false
region_enabled = true
region_rect = Rect2( 0, 0, 1664, 128 )
script = ExtResource( 16 )
texture_on = ExtResource( 14 )
[node name="indicator-lights-strip-off2" type="Sprite" parent="IndicatorLightsCubeDropper"]
use_parent_material = true
position = Vector2( 160, 32 )
scale = Vector2( 0.25, 0.25 )
texture = ExtResource( 12 )
centered = false
region_enabled = true
region_rect = Rect2( 0, 0, 128, 128 )
script = ExtResource( 16 )
texture_on = ExtResource( 13 )
[node name="indicator-lights-strip-off3" type="Sprite" parent="IndicatorLightsCubeDropper"]
use_parent_material = true
position = Vector2( 160, -96 )
scale = Vector2( 0.25, 0.25 )
texture = ExtResource( 11 )
centered = false
region_enabled = true
region_rect = Rect2( 0, -384, 128, 512 )
script = ExtResource( 16 )
texture_on = ExtResource( 14 )
[node name="indicator-lights-strip-off4" type="Sprite" parent="IndicatorLightsCubeDropper"]
use_parent_material = true
position = Vector2( 160, -128 )
scale = Vector2( 0.25, 0.25 )
texture = ExtResource( 12 )
centered = false
region_enabled = true
region_rect = Rect2( 0, 0, 128, 128 )
script = ExtResource( 16 )
texture_on = ExtResource( 13 )
[node name="indicator-lights-strip-off5" type="Sprite" parent="IndicatorLightsCubeDropper"]
use_parent_material = true
position = Vector2( 192, -128 )
scale = Vector2( 0.25, 0.25 )
texture = ExtResource( 11 )
centered = false
region_enabled = true
region_rect = Rect2( 0, 0, 384, 128 )
script = ExtResource( 16 )
texture_on = ExtResource( 14 )
[node name="CanvasModulate" type="CanvasModulate" parent="."]
visible = false
color = Color( 0, 0, 0, 1 )
[node name="PortalSpawner" parent="." instance=ExtResource( 1 )]
position = Vector2( -638.844, -66.2763 )
start_activated = true
type = 1
[node name="Camera" parent="." instance=ExtResource( 4 )]
position = Vector2( 1343.21, 92.887 )
[node name="Music" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource( 22 )
volume_db = -15.0
autoplay = true
bus = "Panning"
[connection signal="pressed" from="PedestalButton" to="IndicatorLightsCubeDropper" method="set_on"]
[connection signal="pressed" from="PedestalButton" to="CubeDropper" method="spawn_new"]
[connection signal="released" from="PedestalButton" to="IndicatorLightsCubeDropper" method="set_off"]