First_Person_Slapper/Levels/Level02.tscn
Victor Turgeon c5f4c59d18 ARA Level 2
2022-10-12 14:57:02 -04:00

178 lines
5.8 KiB
Plaintext

[gd_scene load_steps=23 format=2]
[ext_resource path="res://Textures/kenney_prototype_textures/red/texture_01.png" type="Texture" id=1]
[ext_resource path="res://Textures/kenney_prototype_textures/orange/texture_01.png" type="Texture" id=2]
[ext_resource path="res://Scenes/Enemy.tscn" type="PackedScene" id=3]
[ext_resource path="res://Textures/kenney_prototype_textures/green/texture_01.png" type="Texture" id=4]
[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://Levels/Level02.gd" type="Script" id=7]
[ext_resource path="res://fonts/TorontoSubwayRegular.ttf" type="DynamicFontData" id=8]
[ext_resource path="res://Audio/DiJazz.ogg" type="AudioStream" id=9]
[ext_resource path="res://Scenes/InfoScreen.tscn" type="PackedScene" id=10]
[ext_resource path="res://Textures/ARA.png" type="Texture" id=11]
[ext_resource path="res://Materials/Metal_Mat.tres" type="Material" id=12]
[sub_resource type="SpatialMaterial" id=1]
albedo_texture = ExtResource( 2 )
uv1_triplanar = true
[sub_resource type="SpatialMaterial" id=2]
albedo_texture = ExtResource( 4 )
uv1_triplanar = true
[sub_resource type="SpatialMaterial" id=3]
albedo_texture = ExtResource( 4 )
uv1_triplanar = true
[sub_resource type="SpatialMaterial" id=4]
albedo_texture = ExtResource( 1 )
uv1_triplanar = true
[sub_resource type="CylinderMesh" id=12]
top_radius = 0.25
bottom_radius = 0.25
height = 10.257
radial_segments = 6
rings = 1
[sub_resource type="QuadMesh" id=13]
size = Vector2( 3, 3 )
[sub_resource type="SpatialMaterial" id=14]
flags_transparent = true
params_diffuse_mode = 4
params_specular_mode = 3
albedo_texture = ExtResource( 11 )
metallic = 0.2
roughness = 0.95
[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=11]
panorama = ExtResource( 6 )
[sub_resource type="Environment" id=10]
background_mode = 2
background_sky = SubResource( 11 )
ambient_light_energy = 0.5
fog_color = Color( 0.305882, 0.372549, 0.52549, 1 )
fog_sun_color = Color( 0.901961, 0.803922, 0.752941, 1 )
fog_sun_amount = 1.0
fog_depth_begin = 98.8
fog_depth_end = 1444.5
fog_depth_curve = 0.466516
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
[node name="lvl2" type="Spatial"]
script = ExtResource( 7 )
[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"]
width = 18.2596
depth = 80.7948
material = SubResource( 1 )
[node name="CSGBox2" type="CSGBox" parent="CSGCombiner"]
transform = Transform( 0.997184, 0, -0.0749961, 0, 1, 0, 0.0749961, 0, 0.997184, 6.91614, 4.27048, -0.0257568 )
width = 2.86909
height = 6.65734
depth = 80.5573
material = SubResource( 2 )
[node name="CSGBox3" type="CSGBox" parent="CSGCombiner"]
transform = Transform( 0.99821, 0, 0.0598116, 0, 1, 0, -0.0598116, 0, 0.99821, -7.83423, 4.01678, 0.380192 )
width = 2.86909
height = 6.65734
depth = 80.5573
material = SubResource( 3 )
[node name="CSGBox4" type="CSGBox" parent="CSGCombiner"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0489336, 2.37517, -39.3407 )
width = 20.8555
height = 10.0608
material = SubResource( 4 )
[node name="poto" type="CSGMesh" parent="CSGCombiner"]
transform = Transform( 0.999999, 0, 0, 0, 1, 0, 0, 0, 0.999999, -0.57024, 2.77988, -0.000139336 )
mesh = SubResource( 12 )
material = ExtResource( 12 )
[node name="pancarte" type="MeshInstance" parent="CSGCombiner"]
transform = Transform( -0.997261, 0, -0.0739519, 0, 1, 0, 0.0739519, 0, -0.997261, -0.538365, 5.81842, -0.311056 )
mesh = SubResource( 13 )
material/0 = SubResource( 14 )
[node name="Player" parent="." instance=ExtResource( 5 )]
transform = Transform( -0.774503, 0, -0.63257, 0, 1, 0, 0.63257, 0, -0.774503, 2.806, 4.235, -33.907 )
[node name="Enemy" parent="." instance=ExtResource( 3 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.311301, 5.60897, -25.7954 )
[node name="Enemy2" parent="." instance=ExtResource( 3 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.950571, 4.64411, 34.8337 )
[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!"
align = 1
[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="Sun" type="DirectionalLight" parent="."]
transform = Transform( -0.950672, 0.228075, -0.210247, 0.170753, 0.950626, 0.259139, 0.25897, 0.210456, -0.942679, -33.0059, 16.9772, -31.8496 )
directional_shadow_mode = 1
[node name="WorldEnvironment_EpicBlueSky" type="WorldEnvironment" parent="."]
environment = SubResource( 10 )
[node name="InfoScreen" parent="." instance=ExtResource( 10 )]
transform = Transform( -0.05847, 0, -0.998289, 0, 1, 0, 0.998289, 0, -0.05847, 7.47698, 5.37611, -28.4769 )
text = "Balls can
bounce"
[connection signal="dying" from="Enemy" to="." method="_on_Enemy_dying"]
[connection signal="dying" from="Enemy2" to="." method="_on_Enemy_dying"]
[connection signal="timeout" from="End" to="." method="_on_Win_timeout"]