2022-10-12 19:30:37 -04:00
|
|
|
[gd_scene load_steps=19 format=2]
|
2022-10-12 13:32:38 -04:00
|
|
|
|
|
|
|
[ext_resource path="res://Levels/Level03.gd" type="Script" id=1]
|
2022-10-12 19:30:37 -04:00
|
|
|
[ext_resource path="res://Materials/Grid_Mat.tres" type="Material" id=2]
|
2022-10-12 13:32:38 -04:00
|
|
|
[ext_resource path="res://Scenes/Enemy.tscn" type="PackedScene" id=3]
|
2022-10-12 19:30:37 -04:00
|
|
|
[ext_resource path="res://Scenes/Eye.tscn" type="PackedScene" id=4]
|
2022-10-12 13:32:38 -04:00
|
|
|
[ext_resource path="res://Player.tscn" type="PackedScene" id=5]
|
|
|
|
[ext_resource path="res://AllSkyFree_Skyboxes/Epic_BlueSunset_EquiRect_flat.png" type="Texture" id=6]
|
|
|
|
[ext_resource path="res://fonts/TorontoSubwayRegular.ttf" type="DynamicFontData" id=8]
|
|
|
|
[ext_resource path="res://Audio/DiJazz.ogg" type="AudioStream" id=9]
|
2022-10-12 19:30:37 -04:00
|
|
|
[ext_resource path="res://Scenes/InfoScreen.tscn" type="PackedScene" id=10]
|
|
|
|
[ext_resource path="res://Materials/LongGrill_Mat.tres" type="Material" id=11]
|
|
|
|
[ext_resource path="res://Levels/Sparks.gd" type="Script" id=12]
|
2022-10-12 13:40:48 -04:00
|
|
|
|
2022-10-12 14:27:03 -04:00
|
|
|
[sub_resource type="DynamicFont" id=8]
|
|
|
|
size = 64
|
|
|
|
outline_size = 4
|
|
|
|
outline_color = Color( 0, 0, 0, 1 )
|
|
|
|
use_mipmaps = true
|
|
|
|
use_filter = true
|
|
|
|
font_data = ExtResource( 8 )
|
|
|
|
|
|
|
|
[sub_resource type="PanoramaSky" id=13]
|
2022-10-12 13:32:38 -04:00
|
|
|
panorama = ExtResource( 6 )
|
|
|
|
|
2022-10-12 14:27:03 -04:00
|
|
|
[sub_resource type="Environment" id=14]
|
2022-10-12 13:32:38 -04:00
|
|
|
background_mode = 2
|
2022-10-12 14:27:03 -04:00
|
|
|
background_sky = SubResource( 13 )
|
|
|
|
ambient_light_energy = 0.5
|
2022-10-12 19:30:37 -04:00
|
|
|
fog_color = Color( 0.356863, 0.360784, 0.364706, 1 )
|
2022-10-12 13:32:38 -04:00
|
|
|
fog_sun_color = Color( 0.901961, 0.803922, 0.752941, 1 )
|
|
|
|
fog_sun_amount = 1.0
|
2022-10-12 19:30:37 -04:00
|
|
|
fog_depth_begin = 2158.3
|
|
|
|
fog_depth_end = 3768.4
|
|
|
|
fog_depth_curve = 1.6245
|
2022-10-12 13:32:38 -04:00
|
|
|
fog_transmit_enabled = true
|
|
|
|
fog_transmit_curve = 0.659754
|
|
|
|
fog_height_enabled = true
|
|
|
|
fog_height_min = 148.2
|
|
|
|
fog_height_max = -48.0
|
|
|
|
fog_height_curve = 4.59481
|
|
|
|
ssao_radius = 8.1
|
|
|
|
ssao_intensity = 4.3
|
|
|
|
ssao_radius2 = 40.7
|
|
|
|
ssao_intensity2 = 14.6
|
|
|
|
ssao_bias = 0.059
|
|
|
|
ssao_color = Color( 0.180392, 0.207843, 0.25098, 1 )
|
|
|
|
glow_enabled = true
|
|
|
|
glow_intensity = 1.86
|
|
|
|
glow_strength = 0.87
|
|
|
|
glow_bloom = 0.02
|
|
|
|
glow_hdr_threshold = 0.44
|
|
|
|
glow_bicubic_upscale = true
|
|
|
|
|
2022-10-12 19:30:37 -04:00
|
|
|
[sub_resource type="SpatialMaterial" id=18]
|
|
|
|
flags_transparent = true
|
|
|
|
albedo_color = Color( 0.686275, 0.67451, 0.345098, 0.756863 )
|
|
|
|
|
|
|
|
[sub_resource type="QuadMesh" id=15]
|
|
|
|
material = SubResource( 18 )
|
|
|
|
size = Vector2( 0.25, 0.25 )
|
|
|
|
|
|
|
|
[sub_resource type="Curve" id=16]
|
|
|
|
min_value = -360.0
|
|
|
|
max_value = 360.0
|
|
|
|
_data = [ Vector2( 0.00495049, 184.091 ), 0.0, 167.601, 0, 0, Vector2( 1, 1 ), 0.0, 0.0, 0, 0 ]
|
|
|
|
|
|
|
|
[sub_resource type="Curve" id=17]
|
|
|
|
min_value = -200.0
|
|
|
|
max_value = 200.0
|
|
|
|
_data = [ Vector2( 0, 50.9091 ), 0.0, 0.0, 0, 0, Vector2( 0.960396, -32.7273 ), 0.0, 0.0, 0, 0 ]
|
|
|
|
|
2022-10-12 13:32:38 -04:00
|
|
|
[node name="lvl3" type="Spatial"]
|
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.990751, 0 )
|
|
|
|
script = ExtResource( 1 )
|
|
|
|
|
|
|
|
[node name="CSGCombiner" type="CSGCombiner" parent="."]
|
|
|
|
transform = Transform( 1, 0, 0.000244346, 0, 1, 0, -0.000244346, 0, 1, 0, 0, 0 )
|
|
|
|
use_collision = true
|
|
|
|
|
|
|
|
[node name="CSGBox" type="CSGBox" parent="CSGCombiner"]
|
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.858472, -1.98215, 0.0803872 )
|
|
|
|
width = 28.7268
|
|
|
|
depth = 39.2853
|
2022-10-12 19:30:37 -04:00
|
|
|
material = ExtResource( 11 )
|
2022-10-12 13:32:38 -04:00
|
|
|
|
|
|
|
[node name="CSGBox2" type="CSGBox" parent="CSGCombiner"]
|
|
|
|
transform = Transform( 0.999998, 0, 0, 0, 1, 0, 0, 0, 0.999998, -0.650235, -1.05012, 50.3919 )
|
|
|
|
width = 5.52827
|
|
|
|
depth = 31.9112
|
2022-10-12 19:30:37 -04:00
|
|
|
material = ExtResource( 2 )
|
2022-10-12 13:32:38 -04:00
|
|
|
|
|
|
|
[node name="CSGBox4" type="CSGBox" parent="CSGCombiner"]
|
2022-10-12 13:40:48 -04:00
|
|
|
transform = Transform( -0.00610858, 0.99998, -0.000245838, -0.999979, -0.00610863, -0.000244341, -0.000245838, 0.000244341, 0.999997, 3.90277, 2.53261, 50.393 )
|
2022-10-12 13:32:38 -04:00
|
|
|
width = 5.52827
|
|
|
|
depth = 31.9112
|
2022-10-12 19:30:37 -04:00
|
|
|
material = ExtResource( 2 )
|
2022-10-12 13:32:38 -04:00
|
|
|
|
|
|
|
[node name="Player" parent="." instance=ExtResource( 5 )]
|
2022-10-12 19:30:37 -04:00
|
|
|
transform = Transform( -0.866026, 0, -0.5, 0, 1, 0, 0.5, 0, -0.866026, -5, 2, -6.041 )
|
2022-10-12 13:32:38 -04:00
|
|
|
|
|
|
|
[node name="Messages" type="Control" parent="."]
|
|
|
|
margin_right = 40.0
|
|
|
|
margin_bottom = 40.0
|
|
|
|
|
|
|
|
[node name="Win" type="Label" parent="Messages"]
|
|
|
|
visible = false
|
|
|
|
margin_left = 775.0
|
|
|
|
margin_top = 469.0
|
|
|
|
margin_right = 1187.0
|
|
|
|
margin_bottom = 627.0
|
|
|
|
custom_fonts/font = SubResource( 8 )
|
|
|
|
text = "You're Winner!"
|
|
|
|
|
|
|
|
[node name="End" type="Timer" parent="."]
|
|
|
|
wait_time = 3.0
|
|
|
|
|
|
|
|
[node name="Music" type="AudioStreamPlayer" parent="."]
|
|
|
|
stream = ExtResource( 9 )
|
|
|
|
volume_db = -3.0
|
|
|
|
bus = "Music"
|
|
|
|
|
|
|
|
[node name="Enemy" parent="." instance=ExtResource( 3 )]
|
|
|
|
transform = Transform( 0.995641, 0, 0, 0, 0.995641, 0, 0, 0, 0.995641, -0.602382, 2.53295, 38.0864 )
|
|
|
|
|
|
|
|
[node name="Enemy2" parent="." instance=ExtResource( 3 )]
|
|
|
|
transform = Transform( 0.995641, 0, 0, 0, 0.995641, 0, 0, 0, 0.995641, -0.602382, 2.53295, 44.3578 )
|
|
|
|
|
|
|
|
[node name="Enemy3" parent="." instance=ExtResource( 3 )]
|
|
|
|
transform = Transform( 0.995641, 0, 0, 0, 0.995641, 0, 0, 0, 0.995641, -0.602382, 2.53295, 51.6479 )
|
|
|
|
|
|
|
|
[node name="Enemy4" parent="." instance=ExtResource( 3 )]
|
|
|
|
transform = Transform( 0.995641, 0, 0, 0, 0.995641, 0, 0, 0, 0.995641, -0.602382, 2.53295, 58.9016 )
|
|
|
|
|
|
|
|
[node name="Enemy5" parent="." instance=ExtResource( 3 )]
|
|
|
|
transform = Transform( 0.995641, 0, 0, 0, 0.995641, 0, 0, 0, 0.995641, -0.602382, 2.53295, 65.7735 )
|
|
|
|
|
|
|
|
[node name="Enemy6" parent="." instance=ExtResource( 3 )]
|
|
|
|
transform = Transform( 0.995641, 0, 0, 0, 0.995641, 0, 0, 0, 0.995641, -0.602382, 2.53295, 15.4607 )
|
|
|
|
|
|
|
|
[node name="Enemy7" parent="." instance=ExtResource( 3 )]
|
|
|
|
transform = Transform( 0.995641, 0, 0, 0, 0.995641, 0, 0, 0, 0.995641, -0.602382, 2.53295, -12.5044 )
|
|
|
|
|
2022-10-12 14:27:03 -04:00
|
|
|
[node name="Sun" type="DirectionalLight" parent="."]
|
|
|
|
transform = Transform( 0.707107, -0.353553, 0.612372, 0, 0.866025, 0.5, -0.707107, -0.353553, 0.612372, 7.99925, 6, 7.97141 )
|
|
|
|
|
|
|
|
[node name="WorldEnvironment_EpicBlueSky" type="WorldEnvironment" parent="."]
|
|
|
|
environment = SubResource( 14 )
|
|
|
|
|
2022-10-12 19:30:37 -04:00
|
|
|
[node name="Eye" parent="." instance=ExtResource( 4 )]
|
|
|
|
transform = Transform( -4.37114e-07, -200, 0, 10, -8.74228e-06, 0, 0, 0, 200, 0, -150, 0 )
|
|
|
|
|
|
|
|
[node name="InfoScreen" parent="." instance=ExtResource( 10 )]
|
|
|
|
transform = Transform( -2.59808, 0, -1.5, 0, 3, 0, 1.5, 0, -2.59808, 14, 4, 20 )
|
|
|
|
text = " Don't forget
|
|
|
|
You can restart in the menu
|
|
|
|
[ Press Escape to open the menu ]"
|
|
|
|
|
|
|
|
[node name="HeBeWatching" parent="." instance=ExtResource( 10 )]
|
|
|
|
transform = Transform( 0.974945, -0.198619, 0.100165, 0.206643, 0.97536, -0.0772759, -0.0823489, 0.0960382, 0.991965, 0, 2.16359, -22.3236 )
|
|
|
|
text = " He's Watching"
|
|
|
|
offset = Vector2( 1, 2 )
|
|
|
|
|
|
|
|
[node name="Sparks" type="CPUParticles" parent="."]
|
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -1.59884, 0.875956, -22.2329 )
|
|
|
|
amount = 12
|
|
|
|
lifetime = 0.22
|
|
|
|
explosiveness = 0.27
|
|
|
|
randomness = 0.84
|
|
|
|
lifetime_randomness = 0.24
|
|
|
|
mesh = SubResource( 15 )
|
|
|
|
emission_shape = 2
|
|
|
|
emission_box_extents = Vector3( 1, 1, 1 )
|
|
|
|
flag_align_y = true
|
|
|
|
flag_rotate_y = true
|
|
|
|
gravity = Vector3( 0, -5, 0 )
|
|
|
|
initial_velocity_random = 0.11
|
|
|
|
angular_velocity_curve = SubResource( 16 )
|
|
|
|
linear_accel_curve = SubResource( 17 )
|
|
|
|
radial_accel = 11.01
|
|
|
|
radial_accel_random = 0.18
|
|
|
|
angle_random = 0.28
|
|
|
|
script = ExtResource( 12 )
|
|
|
|
|
|
|
|
[node name="Timer" type="Timer" parent="Sparks"]
|
|
|
|
autostart = true
|
|
|
|
|
2022-10-12 21:38:37 -04:00
|
|
|
[node name="OmniLight" type="OmniLight" parent="Sparks"]
|
|
|
|
transform = Transform( 0.411761, -0.108686, 0.261993, -0.193036, 0.0868354, 0.339407, -0.0596391, -0.190328, 0.0147751, 0.799004, 0.574107, -0.171512 )
|
|
|
|
light_color = Color( 0.847059, 0.627451, 0.372549, 1 )
|
|
|
|
light_energy = 5.0
|
|
|
|
shadow_enabled = true
|
|
|
|
shadow_color = Color( 0.431373, 0.384314, 0.384314, 1 )
|
|
|
|
|
2022-10-12 13:32:38 -04:00
|
|
|
[connection signal="timeout" from="End" to="." method="_on_Win_timeout"]
|
|
|
|
[connection signal="dying" from="Enemy" to="." method="_on_Enemy_dying"]
|
|
|
|
[connection signal="dying" from="Enemy2" to="." method="_on_Enemy_dying"]
|
|
|
|
[connection signal="dying" from="Enemy3" to="." method="_on_Enemy_dying"]
|
|
|
|
[connection signal="dying" from="Enemy4" to="." method="_on_Enemy_dying"]
|
|
|
|
[connection signal="dying" from="Enemy5" to="." method="_on_Enemy_dying"]
|
|
|
|
[connection signal="dying" from="Enemy6" to="." method="_on_Enemy_dying"]
|
|
|
|
[connection signal="dying" from="Enemy7" to="." method="_on_Enemy_dying"]
|
2022-10-12 19:30:37 -04:00
|
|
|
[connection signal="timeout" from="Sparks/Timer" to="Sparks" method="_on_Timer_timeout"]
|