SupaLidlGame/Scenes/Maps/Arena.tscn

261 lines
18 KiB
Plaintext

[gd_scene load_steps=26 format=3 uid="uid://b2x17su05ou5w"]
[ext_resource type="PackedScene" uid="uid://clwv2owvk6abe" path="res://Scenes/BaseMap.tscn" id="1_ifiic"]
[ext_resource type="TileSet" uid="uid://l61kbx31ug4p" path="res://Scenes/Maps/ArenaTileset.tres" id="2_x0mh7"]
[ext_resource type="PackedScene" uid="uid://d2skjvvx6fal0" path="res://Characters/Doc.tscn" id="4_ej0f3"]
[ext_resource type="Shader" path="res://Shaders/Flash.gdshader" id="5_h8k5p"]
[ext_resource type="PackedScene" uid="uid://c1w7t6irnohfx" path="res://Entities/Torch.tscn" id="6_1wwor"]
[ext_resource type="PackedScene" uid="uid://ceadk7pam7vab" path="res://Entities/TorchLamp.tscn" id="6_jy3pc"]
[ext_resource type="Texture2D" uid="uid://d1ukste16yq6v" path="res://Assets/Sprites/Particles/player-light.png" id="7_y7j0e"]
[ext_resource type="AudioStream" uid="uid://dy4qjflo1k28b" path="res://Assets/Sounds/calm-storm-ambient.mp3" id="8_wox7d"]
[ext_resource type="Script" path="res://BoundingBoxes/ConnectorBox.cs" id="9_fg062"]
[ext_resource type="Script" path="res://BoundingBoxes/CameraTrigger.cs" id="11_0u80h"]
[ext_resource type="Script" path="res://addons/phantom_camera/scripts/phantom_camera/phantom_camera_2d.gd" id="11_q01ik"]
[ext_resource type="Texture2D" uid="uid://c1a7lvb4uuwfy" path="res://Assets/Sprites/Particles/circle-16.png" id="11_yjp7m"]
[ext_resource type="Script" path="res://addons/phantom_camera/scripts/resources/tween_resource.gd" id="12_ca3oh"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_i5p65"]
resource_local_to_scene = true
shader = ExtResource("5_h8k5p")
shader_parameter/color = Vector4(1, 1, 1, 1)
shader_parameter/intensity = 0.0
shader_parameter/alpha_modulate = 1.0
[sub_resource type="Gradient" id="Gradient_80go6"]
offsets = PackedFloat32Array(0, 0.2, 0.8, 1)
colors = PackedColorArray(1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0)
[sub_resource type="GradientTexture1D" id="GradientTexture1D_gyo0n"]
gradient = SubResource("Gradient_80go6")
[sub_resource type="Curve" id="Curve_d18qq"]
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(0.5, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
point_count = 3
[sub_resource type="CurveTexture" id="CurveTexture_wiyu8"]
curve = SubResource("Curve_d18qq")
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_h14dv"]
particle_flag_disable_z = true
emission_shape = 3
emission_box_extents = Vector3(144, 144, 1)
spread = 180.0
initial_velocity_min = 8.0
initial_velocity_max = 32.0
gravity = Vector3(0, 0, 0)
scale_min = 0.1
scale_max = 0.2
scale_curve = SubResource("CurveTexture_wiyu8")
color = Color(0.176471, 0.0901961, 0.172549, 1)
color_ramp = SubResource("GradientTexture1D_gyo0n")
turbulence_enabled = true
[sub_resource type="RectangleShape2D" id="RectangleShape2D_2xagi"]
size = Vector2(40, 20)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_iw8cv"]
size = Vector2(32, 256)
[sub_resource type="Resource" id="Resource_jab5j"]
script = ExtResource("12_ca3oh")
duration = 1.0
transition = 0
ease = 2
[sub_resource type="RectangleShape2D" id="RectangleShape2D_28nvi"]
size = Vector2(1024, 384)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_8id2f"]
size = Vector2(256, 256)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_idjmj"]
size = Vector2(512, 384)
[node name="Arena" node_paths=PackedStringArray("Entities", "Areas", "Spawners", "Markers") instance=ExtResource("1_ifiic")]
tile_set = ExtResource("2_x0mh7")
layer_0/tile_data = PackedInt32Array(-524281, 458752, 0, -524284, 458752, 0, -262152, 458752, 0, -327673, 458752, 0, -131065, 458752, 0, -65544, 458752, 0, 131064, 458752, 0, 65543, 458752, 0, 262151, 458752, 0, 327672, 458752, 0, 524280, 458752, 0, 524283, 458752, 0, 524286, 458752, 0, 458753, 458752, 0, 458756, 458752, 0, 458759, 458752, 0, -458760, 458752, 0, -458757, 458752, 0, -524287, 458752, 0, -458754, 458752, 0, -524292, 458752, 3, -589821, 458752, 2, -589822, 393216, 3, -524291, 393216, 2, -589817, 393216, 0)
layer_2/tile_data = PackedInt32Array(655358, 196608, 3, 720894, 196608, 3, 786430, 196608, 3, 851966, 196608, 3, 917502, 196608, 3, 983038, 196608, 3, 1048574, 196608, 3, 1114110, 196608, 3, 1179646, 196608, 3, 1245182, 196608, 3, 1310718, 196608, 3, 1376254, 196608, 3, 1441790, 196608, 3, 1507326, 196608, 3, 589822, 65536, 4, 524289, 0, 4, 589825, 131072, 3, 655361, 131072, 3, 720897, 131072, 3, 786433, 131072, 3, 851969, 131072, 3, 917505, 131072, 3, 983041, 131072, 3, 1048577, 131072, 3, 1114113, 131072, 3, 1179649, 131072, 3, 1245185, 131072, 3, 1310721, 131072, 3, 1376257, 131072, 3, 1441793, 131072, 3, 1507329, 131072, 3, 1572862, 196608, 3)
layer_3/tile_data = PackedInt32Array(-196612, 65536, 1, -131076, 65536, 1, -65540, 196608, 0, -4, 131072, 0, -196611, 65536, 1, -131075, 65536, 0, -65539, 131072, 0, -3, 196608, 0, -196610, 65536, 0, -131074, 65536, 1, -65538, 0, 0, -2, 65536, 0, -196609, 65536, 1, -131073, 65536, 1, -65537, 65536, 0, -1, 65536, 1, -458760, 0, 0, -393224, 196608, 0, -327688, 196608, 0, -262152, 0, 0, -196616, 65536, 0, -131080, 131072, 0, -65544, 196608, 0, -8, 131072, 0, 65528, 131072, 0, 131064, 196608, 0, 196600, 131072, 0, 262136, 65536, 0, 327672, 65536, 0, 393208, 65536, 0, 458744, 0, 0, 524280, 65536, 0, -458759, 0, 1, -393223, 131072, 0, -327687, 131072, 0, -262151, 65536, 0, -196615, 65536, 1, -131079, 131072, 0, -65543, 131072, 0, -7, 196608, 0, 65529, 196608, 0, 131065, 196608, 0, 196601, 131072, 0, 262137, 65536, 1, 327673, 0, 0, 393209, 65536, 1, 458745, 65536, 0, 524281, 65536, 1, -458758, 0, 0, -393222, 65536, 0, -327686, 0, 0, -262150, 65536, 0, -196614, 0, 0, -131078, 0, 1, -65542, 196608, 0, -6, 196608, 0, 65530, 65536, 1, 131066, 65536, 1, 196602, 65536, 1, 262138, 0, 0, 327674, 65536, 1, 393210, 65536, 0, 458746, 131072, 0, 524282, 131072, 0, -458757, 65536, 0, -393221, 65536, 1, -327685, 65536, 0, -262149, 65536, 0, -196613, 0, 1, -131077, 0, 1, -65541, 131072, 0, -5, 131072, 0, 65531, 65536, 0, 131067, 0, 1, 196603, 0, 0, 262139, 0, 1, 327675, 0, 0, 393211, 65536, 0, 458747, 131072, 0, 524283, 196608, 0, -458756, 0, 0, -393220, 0, 1, -327684, 0, 0, -262148, 0, 0, 65532, 65536, 0, 131068, 65536, 0, 196604, 65536, 1, 262140, 0, 1, 327676, 131072, 0, 393212, 196608, 0, 458748, 196608, 0, 524284, 196608, 0, -458755, 0, 1, -393219, 0, 1, -327683, 0, 1, -262147, 0, 0, 65533, 65536, 0, 131069, 65536, 1, 196605, 65536, 1, 262141, 0, 1, 327677, 196608, 0, 393213, 131072, 0, 458749, 196608, 0, 524285, 131072, 0, -458754, 65536, 1, -393218, 65536, 1, -327682, 131072, 0, -262146, 196608, 0, 65534, 0, 1, 131070, 65536, 0, 196606, 196608, 0, 262142, 131072, 0, 327678, 196608, 0, 393214, 131072, 0, 458750, 65536, 0, 524286, 0, 0, -458753, 0, 1, -393217, 0, 1, -327681, 196608, 0, -262145, 131072, 0, 65535, 0, 1, 131071, 65536, 1, 196607, 131072, 0, 262143, 196608, 0, 327679, 131072, 0, 393215, 131072, 0, 458751, 65536, 1, 524287, 0, 0, -524288, 65536, 1, -458752, 65536, 1, -393216, 196608, 0, -327680, 196608, 0, -262144, 65536, 0, -196608, 0, 1, -131072, 65536, 0, -65536, 65536, 0, 0, 65536, 0, 65536, 65536, 1, 131072, 65536, 0, 196608, 65536, 1, 262144, 65536, 0, 327680, 0, 1, 393216, 0, 0, 458752, 0, 1, -524287, 65536, 1, -458751, 0, 0, -393215, 196608, 0, -327679, 196608, 0, -262143, 0, 0, -196607, 65536, 1, -131071, 0, 1, -65535, 65536, 1, 1, 0, 0, 65537, 65536, 1, 131073, 65536, 0, 196609, 65536, 0, 262145, 65536, 1, 327681, 65536, 1, 393217, 0, 1, 458753, 65536, 1, -524286, 65536, 0, -458750, 65536, 0, -393214, 131072, 0, -327678, 196608, 0, -262142, 0, 0, -196606, 65536, 0, -131070, 196608, 0, -65534, 131072, 0, 2, 131072, 0, 65538, 196608, 0, 131074, 65536, 0, 196610, 0, 0, 262146, 0, 1, 327682, 65536, 0, 393218, 131072, 0, 458754, 131072, 0, -524285, 65536, 0, -458749, 65536, 0, -393213, 131072, 0, -327677, 196608, 0, -262141, 0, 0, -196605, 65536, 0, -131069, 131072, 0, -65533, 131072, 0, 3, 196608, 0, 65539, 196608, 0, 131075, 0, 0, 196611, 0, 1, 262147, 65536, 1, 327683, 65536, 1, 393219, 196608, 0, 458755, 196608, 0, -524284, 0, 1, -458748, 65536, 0, -393212, 65536, 0, -327676, 0, 0, -262140, 65536, 1, -196604, 0, 1, -131068, 0, 1, -65532, 0, 1, 4, 0, 0, 65540, 65536, 1, 131076, 0, 0, 196612, 65536, 0, 262148, 131072, 0, 327684, 196608, 0, 393220, 196608, 0, 458756, 196608, 0, -524283, 65536, 1, -458747, 65536, 0, -393211, 65536, 1, -327675, 0, 0, -262139, 0, 1, -196603, 0, 1, -131067, 0, 1, -65531, 65536, 1, 5, 65536, 0, 65541, 65536, 0, 131077, 65536, 0, 196613, 0, 0, 262149, 196608, 0, 327685, 196608, 0, 393221, 131072, 0, 458757, 131072, 0, -524282, 0, 1, -458746, 0, 1, -393210, 0, 0, -327674, 65536, 0, -262138, 0, 0, -196602, 0, 1, -131066, 131072, 0, -65530, 196608, 0, 6, 65536, 0, 65542, 65536, 0, 131078, 0, 0, 196614, 0, 1, 262150, 65536, 0, 327686, 65536, 1, 393222, 0, 1, 458758, 0, 1, -524281, 65536, 0, -458745, 65536, 0, -393209, 196608, 0, -327673, 196608, 0, -262137, 196608, 0, -196601, 131072, 0, -131065, 196608, 0, -65529, 131072, 0, 7, 0, 1, 65543, 65536, 1, 131079, 0, 1, 196615, 0, 0, 262151, 0, 0, 327687, 0, 1, 393223, 65536, 0, 458759, 0, 1, 655359, 65536, 0, 720895, 0, 1, 589824, 0, 0, 655360, 196608, 0, 786431, 0, 0, 851967, 0, 0, 917503, 0, 1, 983039, 196608, 0, 720896, 196608, 0, 786432, 196608, 0, 851968, 0, 1, 917504, 65536, 1, 1048575, 131072, 0, 1114111, 131072, 0, 1179647, 196608, 0, 1245183, 0, 0, 983040, 0, 0, 1048576, 65536, 0, 1114112, 131072, 0, 1179648, 65536, 0, 1310719, 65536, 1, 1376255, 0, 1, 1441791, 131072, 0, 1507327, 131072, 0, 1245184, 131072, 0, 1310720, 131072, 0, 1376256, 196608, 0, 1441792, 131072, 0, 1572863, 65536, 1, 1507328, 0, 0, 589823, 0, 0, 524288, 0, 0)
layer_4/tile_data = PackedInt32Array(-524296, 327680, 0, -589818, 262144, 0, -589817, 262144, 1, -589819, 327680, 0, -589820, 196608, 1, -589821, 327680, 1, -589822, 131072, 1, -589823, 262144, 1, -589824, 327680, 0, -524289, 131072, 1, -524290, 327680, 0, -524291, 327680, 1, -524292, 327680, 1, -524293, 327680, 0, -524294, 131072, 1, -524295, 262144, 1, -589832, 131072, 2, -589831, 131072, 2, -589830, 131072, 2, -589829, 131072, 2, -589828, 131072, 2, -589827, 131072, 2, -589826, 131072, 2, -589825, 131072, 2, -655360, 131072, 2, -655359, 131072, 2, -655358, 131072, 2, -655357, 131072, 2, -655356, 131072, 2, -655355, 131072, 2, -655354, 131072, 2, -655353, 131072, 2, -655352, 327680, 2, -589833, 262144, 2, -524297, 196608, 3, -458761, 196608, 3, -393225, 196608, 3, -327689, 196608, 3, -262153, 196608, 3, -196617, 196608, 3, -131081, 196608, 3, -65545, 196608, 3, -9, 196608, 3, 65527, 196608, 3, 131063, 196608, 3, 196599, 196608, 3, 262135, 196608, 3, 327671, 196608, 3, 393207, 196608, 3, 458743, 196608, 3, 524279, 196608, 3, 262152, 131072, 3, 327688, 131072, 3, 393224, 131072, 3, 458760, 131072, 3, 196616, 131072, 3, 131080, 131072, 3, 65544, 131072, 3, 8, 131072, 3, -65528, 131072, 3, -131064, 131072, 3, -196600, 131072, 3, -262136, 131072, 3, -589816, 131072, 3, -524280, 131072, 3, -458744, 131072, 3, -393208, 131072, 3, -327672, 131072, 3, 589816, 196608, 2, 589817, 196608, 2, 589818, 196608, 2, 589819, 196608, 2, 589820, 196608, 2, 589821, 196608, 2, 589822, 196608, 2, 524289, 196608, 2, 524290, 196608, 2, 524291, 196608, 2, 524292, 196608, 2, 524293, 196608, 2, 524294, 196608, 2, 524295, 196608, 2, 524296, 327680, 3, 589815, 262144, 3, -786433, 65538, 1, -851968, 65538, 1, -851967, 65538, 1, -786434, 65538, 1, -786435, 65538, 1, -786436, 65538, 1, -851966, 65538, 1, -851965, 65538, 1, -851964, 65538, 1, -786437, 65538, 1, -917504, 65538, 0, -851969, 65538, 0, -851970, 65538, 0, -851971, 65538, 0, -917503, 65538, 0, -917502, 65538, 0, -983040, 65538, 1, -917505, 65538, 1, -917506, 65538, 1, -983039, 65538, 1, -851963, 65538, 1, -786438, 65538, 1, -786439, 2, 1, -851962, 131074, 1, -851974, 65538, 0, -851973, 65538, 0, -851972, 65538, 0, -917501, 65538, 0, -917500, 65538, 0, -917499, 65538, 0, -917498, 131074, 0, -851975, 2, 0, -917507, 65538, 1, -917508, 65538, 1, -917509, 65538, 1, -917510, 65538, 1, -917511, 65538, 1, -983038, 65538, 1, -983037, 65538, 1, -983036, 65538, 1, -983035, 65538, 1, -983034, 65538, 1, -983033, 131074, 1, -917512, 2, 1)
layer_5/name = "Layer -1"
Entities = NodePath("Entities")
Areas = NodePath("Areas")
Spawners = NodePath("Spawners")
Markers = NodePath("Markers")
ClearColor = Color(0.105882, 0.0470588, 0.117647, 1)
AreaName = "The True Arena"
MapName = "The True Arena"
[node name="CanvasModulate" parent="." index="7"]
color = Color(0.317647, 0.184314, 0.345098, 1)
[node name="Static@TorchLamp" parent="Props" index="0" instance=ExtResource("6_jy3pc")]
y_sort_enabled = true
position = Vector2(-96, -120)
[node name="Static@TorchLamp3" parent="Props" index="1" instance=ExtResource("6_jy3pc")]
y_sort_enabled = true
position = Vector2(0, -120)
[node name="Static@TorchLamp5" parent="Props" index="2" instance=ExtResource("6_jy3pc")]
y_sort_enabled = true
position = Vector2(96, -120)
[node name="Static@TorchLamp6" parent="Props" index="3" instance=ExtResource("6_jy3pc")]
y_sort_enabled = true
position = Vector2(-120, -96)
[node name="Static@TorchLamp7" parent="Props" index="4" instance=ExtResource("6_jy3pc")]
y_sort_enabled = true
position = Vector2(120, -96)
[node name="Static@TorchLamp9" parent="Props" index="5" instance=ExtResource("6_jy3pc")]
y_sort_enabled = true
position = Vector2(120, -1)
[node name="Static@TorchLamp11" parent="Props" index="6" instance=ExtResource("6_jy3pc")]
y_sort_enabled = true
position = Vector2(120, 95)
[node name="Static@TorchLamp12" parent="Props" index="7" instance=ExtResource("6_jy3pc")]
y_sort_enabled = true
position = Vector2(97, 120)
[node name="Static@TorchLamp16" parent="Props" index="8" instance=ExtResource("6_jy3pc")]
y_sort_enabled = true
position = Vector2(-96, 120)
[node name="Static@TorchLamp17" parent="Props" index="9" instance=ExtResource("6_jy3pc")]
y_sort_enabled = true
position = Vector2(-120, 95)
[node name="Static@TorchLamp19" parent="Props" index="10" instance=ExtResource("6_jy3pc")]
y_sort_enabled = true
position = Vector2(-120, -1)
[node name="Static@Torch" parent="Props" index="11" instance=ExtResource("6_1wwor")]
visible = false
position = Vector2(-120, -112)
[node name="Static@Torch2" parent="Props" index="12" instance=ExtResource("6_1wwor")]
visible = false
position = Vector2(-72, -112)
[node name="Static@Torch3" parent="Props" index="13" instance=ExtResource("6_1wwor")]
visible = false
position = Vector2(-24, -113)
[node name="Static@Torch4" parent="Props" index="14" instance=ExtResource("6_1wwor")]
visible = false
position = Vector2(24, -112)
[node name="Static@Torch5" parent="Props" index="15" instance=ExtResource("6_1wwor")]
visible = false
position = Vector2(72, -112)
[node name="Static@Torch6" parent="Props" index="16" instance=ExtResource("6_1wwor")]
visible = false
position = Vector2(120, -112)
[node name="Doc" parent="Entities" index="0" node_paths=PackedStringArray("Lance", "BossStateMachine", "DefaultSelectedItem", "ThinkerStateMachine", "Stats", "Sprite", "Inventory", "StateMachine", "Hurtbox") instance=ExtResource("4_ej0f3")]
material = SubResource("ShaderMaterial_i5p65")
Lance = NodePath("Inventory/DocLance")
BossStateMachine = NodePath("BossStateMachine")
DefaultSelectedItem = NodePath("Inventory/DocLance")
ThinkerStateMachine = NodePath("ThinkerStateMachine")
Stats = NodePath("Stats")
Sprite = NodePath("Sprite")
Inventory = NodePath("Inventory")
StateMachine = NodePath("StateMachine")
Hurtbox = NodePath("Hurtbox")
[node name="PointLight2D" type="PointLight2D" parent="Entities" index="1"]
position = Vector2(168, -42)
energy = 1.5
blend_mode = 2
range_item_cull_mask = 0
shadow_enabled = true
shadow_color = Color(0.572549, 0.572549, 0.572549, 0)
texture = ExtResource("7_y7j0e")
height = 16.0
[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="Entities" index="2"]
position = Vector2(19, 23)
stream = ExtResource("8_wox7d")
volume_db = -5.0
autoplay = true
[node name="GPUParticles2D" type="GPUParticles2D" parent="Entities" index="3"]
amount = 16
process_material = SubResource("ParticleProcessMaterial_h14dv")
texture = ExtResource("11_yjp7m")
lifetime = 2.5
explosiveness = 0.1
randomness = 0.2
fixed_fps = 8
[node name="Entrance" type="Area2D" parent="Areas" index="0"]
position = Vector2(0, 384)
collision_layer = 0
collision_mask = 4
script = ExtResource("9_fg062")
ToArea = "res://Scenes/Maps/ArenaExterior.tscn"
ToConnector = "ArenaEntrance"
[node name="CollisionShape2D" type="CollisionShape2D" parent="Areas/Entrance" index="0"]
shape = SubResource("RectangleShape2D_2xagi")
[node name="Area2D" type="Area2D" parent="Areas" index="1" node_paths=PackedStringArray("Camera")]
position = Vector2(0, 384)
collision_layer = 0
collision_mask = 4
monitorable = false
script = ExtResource("11_0u80h")
Camera = NodePath("Node/PhantomCamera2D")
[node name="CollisionShape2D" type="CollisionShape2D" parent="Areas/Area2D" index="0"]
shape = SubResource("RectangleShape2D_iw8cv")
debug_color = Color(0.631373, 0.345098, 1, 0.419608)
[node name="Node" type="Node" parent="Areas/Area2D" index="1"]
[node name="PhantomCamera2D" type="Node2D" parent="Areas/Area2D/Node" index="0"]
position = Vector2(0, 248)
script = ExtResource("11_q01ik")
zoom = Vector2(4, 4)
tween_resource = SubResource("Resource_jab5j")
limit_left = -384
limit_top = -400
limit_right = 384
limit_bottom = 400
limit_target = NodePath("../CollisionShape2D")
[node name="CollisionShape2D" type="CollisionShape2D" parent="Areas/Area2D/Node" index="1"]
position = Vector2(0, 192)
shape = SubResource("RectangleShape2D_28nvi")
[node name="Area2D2" type="Area2D" parent="Areas" index="2" node_paths=PackedStringArray("Camera")]
position = Vector2(0, -3)
collision_layer = 0
collision_mask = 4
monitorable = false
script = ExtResource("11_0u80h")
Camera = NodePath("Node/PhantomCamera2D")
[node name="CollisionShape2D" type="CollisionShape2D" parent="Areas/Area2D2" index="0"]
shape = SubResource("RectangleShape2D_8id2f")
debug_color = Color(0.631373, 0.345098, 1, 0.419608)
[node name="Node" type="Node" parent="Areas/Area2D2" index="1"]
[node name="PhantomCamera2D" type="Node2D" parent="Areas/Area2D2/Node" index="0"]
script = ExtResource("11_q01ik")
zoom = Vector2(3, 3)
tween_resource = SubResource("Resource_jab5j")
[node name="CollisionShape2D" type="CollisionShape2D" parent="Areas/Area2D2/Node" index="1"]
shape = SubResource("RectangleShape2D_idjmj")
[node name="Entrance" type="Marker2D" parent="Markers" index="0"]
position = Vector2(0, 352)