119 lines
		
	
	
		
			3.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			119 lines
		
	
	
		
			3.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| [gd_scene load_steps=12 format=2]
 | |
| 
 | |
| [ext_resource path="res://Materials/Dark_ProtoMat.tres" type="Material" id=1]
 | |
| [ext_resource path="res://Scenes/InfoScreen.tscn" type="PackedScene" id=2]
 | |
| [ext_resource path="res://Player.tscn" type="PackedScene" id=3]
 | |
| [ext_resource path="res://Scenes/Enemy.tscn" type="PackedScene" id=4]
 | |
| [ext_resource path="res://Audio/DiJazz.ogg" type="AudioStream" id=5]
 | |
| [ext_resource path="res://Levels/Level01.gd" type="Script" id=6]
 | |
| [ext_resource path="res://AllSkyFree_Skyboxes/Epic_BlueSunset_EquiRect_flat.png" type="Texture" id=7]
 | |
| [ext_resource path="res://fonts/TorontoSubwayRegular.ttf" type="DynamicFontData" id=8]
 | |
| 
 | |
| [sub_resource type="PanoramaSky" id=12]
 | |
| panorama = ExtResource( 7 )
 | |
| 
 | |
| [sub_resource type="Environment" id=10]
 | |
| background_mode = 2
 | |
| background_sky = SubResource( 12 )
 | |
| 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
 | |
| 
 | |
| [sub_resource type="DynamicFont" id=11]
 | |
| size = 64
 | |
| outline_size = 4
 | |
| outline_color = Color( 0, 0, 0, 1 )
 | |
| use_mipmaps = true
 | |
| use_filter = true
 | |
| font_data = ExtResource( 8 )
 | |
| 
 | |
| [node name="lvl1" type="Spatial"]
 | |
| script = ExtResource( 6 )
 | |
| 
 | |
| [node name="CSGCombiner" type="CSGCombiner" parent="."]
 | |
| use_collision = true
 | |
| 
 | |
| [node name="Floor" type="CSGBox" parent="CSGCombiner"]
 | |
| transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3, -6 )
 | |
| snap = 1.0
 | |
| width = 20.0
 | |
| height = 6.0
 | |
| depth = 30.0
 | |
| material = ExtResource( 1 )
 | |
| 
 | |
| [node name="FloorClear" type="CSGBox" parent="CSGCombiner"]
 | |
| transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 10, -6 )
 | |
| operation = 2
 | |
| width = 18.0
 | |
| height = 19.0
 | |
| depth = 28.0
 | |
| material = ExtResource( 1 )
 | |
| 
 | |
| [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="Player" parent="." instance=ExtResource( 3 )]
 | |
| transform = Transform( 0.258819, 0, 0.965926, 0, 1, 0, -0.965926, 0, 0.258819, -3, 4.17456, 4 )
 | |
| 
 | |
| [node name="InfoScreen" parent="." instance=ExtResource( 2 )]
 | |
| transform = Transform( -4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -8.96416, 4.67344, 0 )
 | |
| text = "Slap the ball into
 | |
| the other one
 | |
| [hold and release left_click to slap]"
 | |
| 
 | |
| [node name="Enemy" parent="." instance=ExtResource( 4 )]
 | |
| transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 4, -3 )
 | |
| 
 | |
| [node name="Enemy2" parent="." instance=ExtResource( 4 )]
 | |
| transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 4, -16 )
 | |
| 
 | |
| [node name="Music" type="AudioStreamPlayer" parent="."]
 | |
| stream = ExtResource( 5 )
 | |
| bus = "Music"
 | |
| 
 | |
| [node name="WorldEnvironment_EpicBlueSky" type="WorldEnvironment" parent="."]
 | |
| environment = SubResource( 10 )
 | |
| 
 | |
| [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( 11 )
 | |
| text = "You're Winner!"
 | |
| align = 1
 | |
| 
 | |
| [node name="End" type="Timer" parent="."]
 | |
| wait_time = 3.0
 | |
| 
 | |
| [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"]
 |