diff --git a/Levels/Level08.gd b/Levels/Level08.gd new file mode 100644 index 0000000..51a0ac1 --- /dev/null +++ b/Levels/Level08.gd @@ -0,0 +1,28 @@ +extends Spatial + + +# Declare member variables here. Examples: +# var a = 2 +# var b = "text" +var enemycount = 3 +onready var NEXTSCENE = "res://Levels/Level09.tscn" + +onready var WinMess = $Messages/Win +onready var EndTimer = $End + +onready var HUD = $"Player/HUD/MenuLayer/Start" +# Called when the node enters the scene tree for the first time. +func _ready(): + pass # Replace with function body. + + +func _on_Enemy_dying(): + enemycount -= 1 + if enemycount == 0: + WinMess.show() + EndTimer.start() + + +func _on_Win_timeout(): + get_tree().change_scene(NEXTSCENE) + diff --git a/Levels/Level08.tscn b/Levels/Level08.tscn new file mode 100644 index 0000000..712f733 --- /dev/null +++ b/Levels/Level08.tscn @@ -0,0 +1,92 @@ +[gd_scene load_steps=10 format=2] + +[ext_resource path="res://Levels/Level08.gd" type="Script" id=1] +[ext_resource path="res://Scenes/Enemy.tscn" type="PackedScene" id=3] +[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] + +[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] +panorama = ExtResource( 6 ) + +[sub_resource type="Environment" id=14] +background_mode = 2 +background_sky = SubResource( 13 ) +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="lvl8" 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="Player" parent="." instance=ExtResource( 5 )] +transform = Transform( -0.997569, 0, -0.0696868, 0, 1, 0, 0.0696868, 0, -0.997569, 37.763, 21.5903, 3.17083 ) + +[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, 4.0267, 7.51623, -40.9597 ) + +[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 ) + +[connection signal="timeout" from="End" to="." method="_on_Win_timeout"] +[connection signal="dying" from="Enemy" to="." method="_on_Enemy_dying"] diff --git a/Levels/Level09.gd b/Levels/Level09.gd new file mode 100644 index 0000000..35b413f --- /dev/null +++ b/Levels/Level09.gd @@ -0,0 +1,28 @@ +extends Spatial + + +# Declare member variables here. Examples: +# var a = 2 +# var b = "text" +var enemycount = 3 +onready var NEXTSCENE = "res://Levels/Level10.tscn" + +onready var WinMess = $Messages/Win +onready var EndTimer = $End + +onready var HUD = $"Player/HUD/MenuLayer/Start" +# Called when the node enters the scene tree for the first time. +func _ready(): + pass # Replace with function body. + + +func _on_Enemy_dying(): + enemycount -= 1 + if enemycount == 0: + WinMess.show() + EndTimer.start() + + +func _on_Win_timeout(): + get_tree().change_scene(NEXTSCENE) + diff --git a/Levels/Level09.tscn b/Levels/Level09.tscn new file mode 100644 index 0000000..1131e48 --- /dev/null +++ b/Levels/Level09.tscn @@ -0,0 +1,92 @@ +[gd_scene load_steps=10 format=2] + +[ext_resource path="res://Levels/Level09.gd" type="Script" id=1] +[ext_resource path="res://Scenes/Enemy.tscn" type="PackedScene" id=3] +[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] + +[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] +panorama = ExtResource( 6 ) + +[sub_resource type="Environment" id=14] +background_mode = 2 +background_sky = SubResource( 13 ) +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="lvl9" 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="Player" parent="." instance=ExtResource( 5 )] +transform = Transform( -0.997569, 0, -0.0696868, 0, 1, 0, 0.0696868, 0, -0.997569, 37.763, 21.5903, 3.17083 ) + +[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, 4.0267, 7.51623, -40.9597 ) + +[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 ) + +[connection signal="timeout" from="End" to="." method="_on_Win_timeout"] +[connection signal="dying" from="Enemy" to="." method="_on_Enemy_dying"] diff --git a/Levels/Level10.gd b/Levels/Level10.gd new file mode 100644 index 0000000..464717d --- /dev/null +++ b/Levels/Level10.gd @@ -0,0 +1,28 @@ +extends Spatial + + +# Declare member variables here. Examples: +# var a = 2 +# var b = "text" +var enemycount = 3 +onready var NEXTSCENE = "res://Levels/Level11.tscn" + +onready var WinMess = $Messages/Win +onready var EndTimer = $End + +onready var HUD = $"Player/HUD/MenuLayer/Start" +# Called when the node enters the scene tree for the first time. +func _ready(): + pass # Replace with function body. + + +func _on_Enemy_dying(): + enemycount -= 1 + if enemycount == 0: + WinMess.show() + EndTimer.start() + + +func _on_Win_timeout(): + get_tree().change_scene(NEXTSCENE) + diff --git a/Levels/Level10.tscn b/Levels/Level10.tscn new file mode 100644 index 0000000..e405eb0 --- /dev/null +++ b/Levels/Level10.tscn @@ -0,0 +1,92 @@ +[gd_scene load_steps=10 format=2] + +[ext_resource path="res://Levels/Level10.gd" type="Script" id=1] +[ext_resource path="res://Scenes/Enemy.tscn" type="PackedScene" id=3] +[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] + +[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] +panorama = ExtResource( 6 ) + +[sub_resource type="Environment" id=14] +background_mode = 2 +background_sky = SubResource( 13 ) +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="lvl10" 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="Player" parent="." instance=ExtResource( 5 )] +transform = Transform( -0.997569, 0, -0.0696868, 0, 1, 0, 0.0696868, 0, -0.997569, 37.763, 21.5903, 3.17083 ) + +[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, 4.0267, 7.51623, -40.9597 ) + +[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 ) + +[connection signal="timeout" from="End" to="." method="_on_Win_timeout"] +[connection signal="dying" from="Enemy" to="." method="_on_Enemy_dying"] diff --git a/Levels/Level11.gd b/Levels/Level11.gd new file mode 100644 index 0000000..eb81547 --- /dev/null +++ b/Levels/Level11.gd @@ -0,0 +1,28 @@ +extends Spatial + + +# Declare member variables here. Examples: +# var a = 2 +# var b = "text" +var enemycount = 3 +onready var NEXTSCENE = "res://End.tscn" + +onready var WinMess = $Messages/Win +onready var EndTimer = $End + +onready var HUD = $"Player/HUD/MenuLayer/Start" +# Called when the node enters the scene tree for the first time. +func _ready(): + pass # Replace with function body. + + +func _on_Enemy_dying(): + enemycount -= 1 + if enemycount == 0: + WinMess.show() + EndTimer.start() + + +func _on_Win_timeout(): + get_tree().change_scene(NEXTSCENE) + diff --git a/Levels/Level11.tscn b/Levels/Level11.tscn new file mode 100644 index 0000000..b63b294 --- /dev/null +++ b/Levels/Level11.tscn @@ -0,0 +1,92 @@ +[gd_scene load_steps=10 format=2] + +[ext_resource path="res://Levels/Level11.gd" type="Script" id=1] +[ext_resource path="res://Scenes/Enemy.tscn" type="PackedScene" id=3] +[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] + +[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] +panorama = ExtResource( 6 ) + +[sub_resource type="Environment" id=14] +background_mode = 2 +background_sky = SubResource( 13 ) +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="lvl11" 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="Player" parent="." instance=ExtResource( 5 )] +transform = Transform( -0.997569, 0, -0.0696868, 0, 1, 0, 0.0696868, 0, -0.997569, 37.763, 21.5903, 3.17083 ) + +[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, 4.0267, 7.51623, -40.9597 ) + +[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 ) + +[connection signal="timeout" from="End" to="." method="_on_Win_timeout"] +[connection signal="dying" from="Enemy" to="." method="_on_Enemy_dying"]