This commit is contained in:
MarcEricMartel 2022-10-12 17:53:42 -04:00
parent b1fc7875ad
commit 74660869bc
2 changed files with 77 additions and 7 deletions

View File

@ -4,7 +4,7 @@ extends Spatial
# Declare member variables here. Examples: # Declare member variables here. Examples:
# var a = 2 # var a = 2
# var b = "text" # var b = "text"
var enemycount = 3 var enemycount = 1
onready var NEXTSCENE = "res://Levels/Level10.tscn" onready var NEXTSCENE = "res://Levels/Level10.tscn"
onready var WinMess = $Messages/Win onready var WinMess = $Messages/Win

View File

@ -1,11 +1,11 @@
[gd_scene load_steps=10 format=2] [gd_scene load_steps=10 format=2]
[ext_resource path="res://Levels/Level09.gd" type="Script" id=1] [ext_resource path="res://Levels/Level09.gd" type="Script" id=1]
[ext_resource path="res://Audio/mood.ogg" type="AudioStream" id=2]
[ext_resource path="res://Scenes/Enemy.tscn" type="PackedScene" id=3] [ext_resource path="res://Scenes/Enemy.tscn" type="PackedScene" id=3]
[ext_resource path="res://AllSkyFree_Skyboxes/Deep Dusk Equirect.png" type="Texture" id=4]
[ext_resource path="res://Player.tscn" type="PackedScene" id=5] [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://fonts/TorontoSubwayRegular.ttf" type="DynamicFontData" id=8]
[ext_resource path="res://Audio/DiJazz.ogg" type="AudioStream" id=9]
[sub_resource type="DynamicFont" id=8] [sub_resource type="DynamicFont" id=8]
size = 64 size = 64
@ -16,7 +16,7 @@ use_filter = true
font_data = ExtResource( 8 ) font_data = ExtResource( 8 )
[sub_resource type="PanoramaSky" id=13] [sub_resource type="PanoramaSky" id=13]
panorama = ExtResource( 6 ) panorama = ExtResource( 4 )
[sub_resource type="Environment" id=14] [sub_resource type="Environment" id=14]
background_mode = 2 background_mode = 2
@ -55,8 +55,74 @@ script = ExtResource( 1 )
transform = Transform( 1, 0, 0.000244346, 0, 1, 0, -0.000244346, 0, 1, 0, 0, 0 ) transform = Transform( 1, 0, 0.000244346, 0, 1, 0, -0.000244346, 0, 1, 0, 0, 0 )
use_collision = true use_collision = true
[node name="CSGBox" type="CSGBox" parent="CSGCombiner"]
transform = Transform( 0.999999, 0, 0, 0, 1, 0, 0, 0, 0.999999, -400.676, -3.7047, -436.227 )
width = 1000.0
height = 1.0
depth = 1000.0
[node name="CSGBox2" type="CSGBox" parent="CSGCombiner"]
transform = Transform( 0.999999, 0, 0, 0, 1, 0, 0, 0, 0.999999, 86.2812, 13.2378, 27.87 )
height = 35.4425
depth = 53.7257
[node name="CSGBox3" type="CSGBox" parent="CSGCombiner"]
transform = Transform( -0.000453754, 0, 0.999999, 0, 1, 0, -0.999999, 0, -0.000453754, 1.0563, 13.1203, 53.6753 )
height = 35.4425
depth = 168.581
[node name="CSGBox4" type="CSGBox" parent="CSGCombiner"]
transform = Transform( 0.999999, 0, 0, 0, 1, 0, 0, 0, 0.999999, 32.3225, 13.2378, 13.6267 )
height = 35.4425
depth = 81.3697
[node name="CSGBox5" type="CSGBox" parent="CSGCombiner"]
transform = Transform( -0.000453754, 0, 0.999999, 0, 1, 0, -0.999999, 0, -0.000453754, 75.1722, 13.1203, 0.49144 )
height = 35.4425
depth = 24.4842
[node name="CSGBox6" type="CSGBox" parent="CSGCombiner"]
transform = Transform( 0.999999, 0, 0, 0, 1, 0, 0, 0, 0.999999, 64.1214, 13.2378, -45.2738 )
height = 35.4425
depth = 91.4289
[node name="CSGBox7" type="CSGBox" parent="CSGCombiner"]
transform = Transform( -0.000453754, 0, 0.999998, 0, 1, 0, -0.999998, 0, -0.000453754, 18.7198, 13.1203, -26.5673 )
height = 35.4425
depth = 24.4842
[node name="CSGBox8" type="CSGBox" parent="CSGCombiner"]
transform = Transform( -0.000453754, 0, 0.999998, 0, 1, 0, -0.999998, 0, -0.000453754, 18.7267, 13.1203, -54.722 )
height = 35.4425
depth = 24.4842
[node name="CSGBox9" type="CSGBox" parent="CSGCombiner"]
transform = Transform( 0.999999, 0, 0, 0, 1, 0, 0, 0, 0.999999, 32.0407, 13.2378, -85.3592 )
height = 35.4425
depth = 64.0893
[node name="CSGBox10" type="CSGBox" parent="CSGCombiner"]
transform = Transform( -0.000453754, 0, 0.999999, 0, 1, 0, -0.999999, 0, -0.000453754, 78.9271, 13.1203, -120.838 )
height = 35.4425
depth = 28.3406
[node name="CSGBox11" type="CSGBox" parent="CSGCombiner"]
transform = Transform( 0.999998, 0, 0, 0, 1, 0, 0, 0, 0.999998, 87.285, 13.2378, -57.5419 )
height = 35.4425
depth = 123.512
[node name="CSGBox12" type="CSGBox" parent="CSGCombiner"]
transform = Transform( -0.000453754, 0, 0.999999, 0, 1, 0, -0.999999, 0, -0.000453754, 7.58406, 13.1203, -8.48543 )
height = 35.4425
depth = 53.7257
[node name="CSGBox13" type="CSGBox" parent="CSGCombiner"]
transform = Transform( 0.999999, 0, 0, 0, 1, 0, 0, 0, 0.999999, -19.2733, 13.2378, 13.6141 )
height = 35.4425
depth = 43.0213
[node name="Player" parent="." instance=ExtResource( 5 )] [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 ) transform = Transform( -0.997569, 0, -0.0696868, 0, 1, 0, 0.0696868, 0, -0.997569, 61.0243, 21.5903, 29.8235 )
[node name="Messages" type="Control" parent="."] [node name="Messages" type="Control" parent="."]
margin_right = 40.0 margin_right = 40.0
@ -75,12 +141,12 @@ text = "You're Winner!"
wait_time = 3.0 wait_time = 3.0
[node name="Music" type="AudioStreamPlayer" parent="."] [node name="Music" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 9 ) stream = ExtResource( 2 )
volume_db = -3.0 volume_db = -3.0
bus = "Music" bus = "Music"
[node name="Enemy" parent="." instance=ExtResource( 3 )] [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 ) transform = Transform( 0.995641, 0, 0, 0, 0.995641, 0, 0, 0, 0.995641, 4.0267, 2.52333, -18.5969 )
[node name="Sun" type="DirectionalLight" parent="."] [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 ) transform = Transform( 0.707107, -0.353553, 0.612372, 0, 0.866025, 0.5, -0.707107, -0.353553, 0.612372, 7.99925, 6, 7.97141 )
@ -88,5 +154,9 @@ transform = Transform( 0.707107, -0.353553, 0.612372, 0, 0.866025, 0.5, -0.70710
[node name="WorldEnvironment_EpicBlueSky" type="WorldEnvironment" parent="."] [node name="WorldEnvironment_EpicBlueSky" type="WorldEnvironment" parent="."]
environment = SubResource( 14 ) environment = SubResource( 14 )
[node name="Enemy2" parent="." instance=ExtResource( 3 )]
transform = Transform( 0.995641, 0, 0, 0, 0.995641, 0, 0, 0, 0.995641, 16.6179, 19.204, -18.5969 )
[connection signal="timeout" from="End" to="." method="_on_Win_timeout"] [connection signal="timeout" from="End" to="." method="_on_Win_timeout"]
[connection signal="dying" from="Enemy" to="." method="_on_Enemy_dying"] [connection signal="dying" from="Enemy" to="." method="_on_Enemy_dying"]
[connection signal="dying" from="Enemy2" to="." method="_on_Enemy_dying"]