Added some Level 5 implementation and reorganized file structure

This commit is contained in:
VoidTwo committed 2021-11-27 17:36:06 -06:00
1 parent 2c98c112bd
commit aac45f808c
114 files changed
+1892 -638

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
extends Node2D
func _ready() -> void:
$YSort/Player.position = get_viewport_rect().size / 2
$YSort/Player.load_hud($HUD)
return
+3 -9
View File
@@ -1,21 +1,15 @@
[gd_scene load_steps=5 format=2]
[gd_scene load_steps=4 format=2]
[ext_resource path="res://Player/Player.tscn" type="PackedScene" id=1]
[ext_resource path="res://Levels/Hub World.gd" type="Script" id=2]
[ext_resource path="res://GUI/HUD.tscn" type="PackedScene" id=3]
[ext_resource path="res://Enemies/Enemy.tscn" type="PackedScene" id=4]
[node name="World" type="Node2D"]
[node name="Hub World" type="Node2D"]
script = ExtResource( 2 )
[node name="YSort" type="YSort" parent="."]
[node name="Player" parent="YSort" instance=ExtResource( 1 )]
collision_mask = 2
[node name="Enemies" type="YSort" parent="YSort"]
[node name="Enemy" parent="YSort/Enemies" instance=ExtResource( 4 )]
position = Vector2( 204, 95.8129 )
position = Vector2( 160, 90 )
[node name="HUD" parent="." instance=ExtResource( 3 )]
Binary file not shown.

Before

Width:  |  Height:  |  Size: 141 B

-35
View File
@@ -1,35 +0,0 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/Hub_World_Button_Normal.png-e0e0c92697e93b1432bd2175db9ce2c3.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Levels/Hub_World_Button_Normal.png"
dest_files=[ "res://.import/Hub_World_Button_Normal.png-e0e0c92697e93b1432bd2175db9ce2c3.stex" ]
[params]
compress/mode=3
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=2
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=0
process/fix_alpha_border=false
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
+6
View File
@@ -0,0 +1,6 @@
extends Node2D
func _ready() -> void:
$YSort/Player.load_hud($HUD)
return
+49
View File
@@ -0,0 +1,49 @@
[gd_scene load_steps=8 format=2]
[ext_resource path="res://Player/Player.tscn" type="PackedScene" id=1]
[ext_resource path="res://Levels/Level 5.gd" type="Script" id=2]
[ext_resource path="res://GUI/HUD.tscn" type="PackedScene" id=3]
[ext_resource path="res://Resources/Level_5_Floor_Tileset.tres" type="TileSet" id=4]
[ext_resource path="res://Sprites/Assets/Light.png" type="Texture" id=5]
[ext_resource path="res://Resources/Level_5_Walls_Tileset.tres" type="TileSet" id=8]
[ext_resource path="res://Enemies/Glowing Ghost.tscn" type="PackedScene" id=9]
[node name="Void Level" type="Node2D"]
script = ExtResource( 2 )
[node name="CanvasModulate" type="CanvasModulate" parent="."]
color = Color( 0, 0, 0, 1 )
[node name="Floor" type="TileMap" parent="."]
self_modulate = Color( 0.627451, 0.627451, 0.627451, 1 )
tile_set = ExtResource( 4 )
cell_size = Vector2( 16, 16 )
format = 1
tile_data = PoolIntArray( -393225, 0, 0, -393224, 0, 1, -393223, 0, 1, -393222, 0, 1, -393221, 0, 1, -393220, 0, 1, -393219, 0, 1, -393218, 0, 1, -393217, 0, 1, -458752, 0, 1, -458751, 0, 1, -458750, 0, 1, -458749, 0, 1, -458748, 0, 1, -458747, 0, 1, -458746, 0, 1, -458745, 0, 1, -458744, 0, 1, -458743, 0, 1, -458742, 0, 1, -458741, 0, 1, -458740, 0, 1, -458739, 0, 1, -458738, 0, 1, -458737, 0, 1, -458736, 0, 1, -458735, 0, 1, -458734, 0, 1, -458733, 0, 1, -458732, 0, 1, -458731, 0, 1, -458730, 0, 1, -458729, 0, 1, -458728, 0, 1, -458727, 0, 1, -458726, 0, 1, -458725, 0, 1, -458724, 0, 2, -327689, 0, 65536, -327688, 0, 65537, -327687, 0, 65537, -327686, 0, 65537, -327685, 0, 65537, -327684, 0, 65537, -327683, 0, 65537, -327682, 0, 65537, -327681, 0, 65537, -393216, 0, 65537, -393215, 0, 65537, -393214, 0, 65537, -393213, 0, 65537, -393212, 0, 65537, -393211, 0, 65537, -393210, 0, 65537, -393209, 0, 65537, -393208, 0, 65537, -393207, 0, 65537, -393206, 0, 65537, -393205, 0, 65537, -393204, 0, 65537, -393203, 0, 65537, -393202, 0, 65537, -393201, 0, 65537, -393200, 0, 65537, -393199, 0, 65537, -393198, 0, 65537, -393197, 0, 65537, -393196, 0, 65537, -393195, 0, 65537, -393194, 0, 65537, -393193, 0, 65537, -393192, 0, 65537, -393191, 0, 65537, -393190, 0, 65537, -393189, 0, 65537, -393188, 0, 65538, -262153, 0, 65536, -262152, 0, 65537, -262151, 0, 65537, -262150, 0, 65537, -262149, 0, 65537, -262148, 0, 65537, -262147, 0, 65537, -262146, 0, 65537, -262145, 0, 65537, -327680, 0, 65537, -327679, 0, 65537, -327678, 0, 65537, -327677, 0, 65537, -327676, 0, 65537, -327675, 0, 65537, -327674, 0, 65537, -327673, 0, 65537, -327672, 0, 65537, -327671, 0, 65537, -327670, 0, 65537, -327669, 0, 65537, -327668, 0, 65537, -327667, 0, 65537, -327666, 0, 65537, -327665, 0, 65537, -327664, 0, 65537, -327663, 0, 65537, -327662, 0, 65537, -327661, 0, 65537, -327660, 0, 65537, -327659, 0, 65537, -327658, 0, 65537, -327657, 0, 65537, -327656, 0, 65537, -327655, 0, 65537, -327654, 0, 65537, -327653, 0, 65537, -327652, 0, 65538, -196617, 0, 65536, -196616, 0, 65537, -196615, 0, 65537, -196614, 0, 65537, -196613, 0, 65537, -196612, 0, 65537, -196611, 0, 65537, -196610, 0, 65537, -196609, 0, 65537, -262144, 0, 65537, -262143, 0, 65537, -262142, 0, 65537, -262141, 0, 65537, -262140, 0, 65537, -262139, 0, 65537, -262138, 0, 65537, -262137, 0, 65537, -262136, 0, 65537, -262135, 0, 65537, -262134, 0, 65537, -262133, 0, 65537, -262132, 0, 65537, -262131, 0, 65537, -262130, 0, 65537, -262129, 0, 65537, -262128, 0, 65537, -262127, 0, 65537, -262126, 0, 65537, -262125, 0, 65537, -262124, 0, 65537, -262123, 0, 65537, -262122, 0, 65537, -262121, 0, 65537, -262120, 0, 65537, -262119, 0, 65537, -262118, 0, 65537, -262117, 0, 65537, -262116, 0, 65538, -131081, 0, 65536, -131080, 0, 65537, -131079, 0, 65537, -131078, 0, 65537, -131077, 0, 65537, -131076, 0, 65537, -131075, 0, 65537, -131074, 0, 65537, -131073, 0, 65537, -196608, 0, 65537, -196607, 0, 65537, -196606, 0, 65537, -196605, 0, 65537, -196604, 0, 65537, -196603, 0, 65537, -196602, 0, 65537, -196601, 0, 65537, -196600, 0, 65537, -196599, 0, 65537, -196598, 0, 65537, -196597, 0, 65537, -196596, 0, 65537, -196595, 0, 65537, -196594, 0, 65537, -196593, 0, 65537, -196592, 0, 65537, -196591, 0, 65537, -196590, 0, 65537, -196589, 0, 65537, -196588, 0, 65537, -196587, 0, 65537, -196586, 0, 65537, -196585, 0, 65537, -196584, 0, 65537, -196583, 0, 65537, -196582, 0, 65537, -196581, 0, 65537, -196580, 0, 65538, -65545, 0, 65536, -65544, 0, 65537, -65543, 0, 65537, -65542, 0, 65537, -65541, 0, 65537, -65540, 0, 65537, -65539, 0, 65537, -65538, 0, 65537, -65537, 0, 65537, -131072, 0, 65537, -131071, 0, 65537, -131070, 0, 65537, -131069, 0, 65537, -131068, 0, 65537, -131067, 0, 65537, -131066, 0, 65537, -131065, 0, 65537, -131064, 0, 65537, -131063, 0, 65537, -131062, 0, 65537, -131061, 0, 65537, -131060, 0, 65537, -131059, 0, 65537, -131058, 0, 65537, -131057, 0, 65537, -131056, 0, 65537, -131055, 0, 65537, -131054, 0, 65537, -131053, 0, 65537, -131052, 0, 65537, -131051, 0, 65537, -131050, 0, 65537, -131049, 0, 65537, -131048, 0, 65537, -131047, 0, 65537, -131046, 0, 65537, -131045, 0, 65537, -131044, 0, 65538, -9, 0, 65536, -8, 0, 65537, -7, 0, 65537, -6, 0, 65537, -5, 0, 65537, -4, 0, 65537, -3, 0, 65537, -2, 0, 65537, -1, 0, 65537, -65536, 0, 65537, -65535, 0, 65537, -65534, 0, 65537, -65533, 0, 65537, -65532, 0, 65537, -65531, 0, 65537, -65530, 0, 65537, -65529, 0, 65537, -65528, 0, 65537, -65527, 0, 65537, -65526, 0, 65537, -65525, 0, 65537, -65524, 0, 65537, -65523, 0, 65537, -65522, 0, 65537, -65521, 0, 65537, -65520, 0, 65537, -65519, 0, 65537, -65518, 0, 65537, -65517, 0, 65537, -65516, 0, 65537, -65515, 0, 65537, -65514, 0, 65537, -65513, 0, 65537, -65512, 0, 65537, -65511, 0, 65537, -65510, 0, 65537, -65509, 0, 65537, -65508, 0, 65538, 65527, 0, 65536, 65528, 0, 65537, 65529, 0, 65537, 65530, 0, 65537, 65531, 0, 65537, 65532, 0, 65537, 65533, 0, 65537, 65534, 0, 65537, 65535, 0, 65537, 0Line truncated
[node name="Walls" type="TileMap" parent="."]
light_mask = 8
tile_set = ExtResource( 8 )
cell_size = Vector2( 16, 16 )
format = 1
tile_data = PoolIntArray( 65537, 0, 0, 65538, 0, 1, 65539, 0, 1, 65540, 0, 1, 65541, 0, 1, 65542, 0, 1, 65543, 0, 1, 65544, 0, 5, 65545, 0, 196609, 65546, 0, 196609, 65547, 0, 196609, 65548, 0, 196609, 65549, 0, 196609, 65550, 0, 196609, 65551, 0, 8, 65552, 0, 196609, 65553, 0, 196609, 65554, 0, 7, 131073, 0, 65536, 131074, 0, 65537, 131075, 0, 65537, 131076, 0, 65537, 131077, 0, 65537, 131078, 0, 65537, 131079, 0, 65541, 131080, 0, 131074, 131087, 0, 65539, 131090, 0, 65539, 196609, 0, 65536, 196610, 0, 65537, 196611, 0, 65537, 196612, 0, 65537, 196613, 0, 65541, 196614, 0, 131073, 196615, 0, 131074, 196623, 0, 65539, 196626, 0, 65539, 262144, 0, 0, 262145, 0, 131078, 262146, 0, 65541, 262147, 0, 131073, 262148, 0, 131073, 262149, 0, 131074, 262159, 0, 196612, 262160, 0, 7, 262162, 0, 65539, 327680, 0, 65536, 327681, 0, 65541, 327682, 0, 131074, 327692, 0, 0, 327693, 0, 2, 327696, 0, 65539, 327698, 0, 65539, 393216, 0, 65536, 393217, 0, 65538, 393228, 0, 65536, 393229, 0, 131077, 393230, 0, 2, 393232, 0, 65539, 393234, 0, 65539, 524287, 0, 196608, 458752, 0, 196614, 458753, 0, 131074, 458764, 0, 131072, 458765, 0, 65542, 458766, 0, 65538, 458768, 0, 131075, 458770, 0, 65539, 524301, 0, 65536, 524302, 0, 65538, 524306, 0, 65539, 655359, 0, 196608, 589824, 0, 196609, 589825, 0, 196609, 589826, 0, 196609, 589827, 0, 196609, 589828, 0, 196609, 589829, 0, 196609, 589830, 0, 196609, 589831, 0, 196609, 589832, 0, 196609, 589833, 0, 196609, 589834, 0, 196609, 589835, 0, 196609, 589836, 0, 196609, 589837, 0, 196614, 589838, 0, 196613, 589839, 0, 196609, 589840, 0, 196609, 589841, 0, 196609, 589842, 0, 196615 )
[node name="YSort" type="YSort" parent="."]
[node name="Player" parent="YSort" instance=ExtResource( 1 )]
position = Vector2( 160, 90 )
[node name="Camera2D" type="Camera2D" parent="YSort/Player"]
current = true
[node name="Light2D" type="Light2D" parent="YSort/Player"]
texture = ExtResource( 5 )
range_item_cull_mask = 15
shadow_enabled = true
[node name="Enemies" type="YSort" parent="YSort"]
[node name="Glowing Ghost" parent="YSort/Enemies" instance=ExtResource( 9 )]
position = Vector2( 60, 100 )
[node name="HUD" parent="." instance=ExtResource( 3 )]
Binary file not shown.

Before

Width:  |  Height:  |  Size: 121 B

-35
View File
@@ -1,35 +0,0 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/Level_1_Button_Normal.png-aabb94677b90d525ea57c43e1e096b4c.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Levels/Level_1_Button_Normal.png"
dest_files=[ "res://.import/Level_1_Button_Normal.png-aabb94677b90d525ea57c43e1e096b4c.stex" ]
[params]
compress/mode=3
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=2
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=0
process/fix_alpha_border=false
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
Binary file not shown.

Before

Width:  |  Height:  |  Size: 150 B

-35
View File
@@ -1,35 +0,0 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/Level_2_Button_Normal.png-fc84a3c0989fcc3c8e21d71dd29dae79.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Levels/Level_2_Button_Normal.png"
dest_files=[ "res://.import/Level_2_Button_Normal.png-fc84a3c0989fcc3c8e21d71dd29dae79.stex" ]
[params]
compress/mode=3
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=2
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=0
process/fix_alpha_border=false
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
Binary file not shown.

Before

Width:  |  Height:  |  Size: 160 B

-35
View File
@@ -1,35 +0,0 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/Level_3_Button_Normal.png-13bd64d9d3b134bf83ed84336204422d.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Levels/Level_3_Button_Normal.png"
dest_files=[ "res://.import/Level_3_Button_Normal.png-13bd64d9d3b134bf83ed84336204422d.stex" ]
[params]
compress/mode=3
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=2
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=0
process/fix_alpha_border=false
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
Binary file not shown.

Before

Width:  |  Height:  |  Size: 158 B

-35
View File
@@ -1,35 +0,0 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/Level_4_Button_Normal.png-07ee7e0ee4d69f43e44a957232f5dcd0.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Levels/Level_4_Button_Normal.png"
dest_files=[ "res://.import/Level_4_Button_Normal.png-07ee7e0ee4d69f43e44a957232f5dcd0.stex" ]
[params]
compress/mode=3
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=2
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=0
process/fix_alpha_border=false
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
Binary file not shown.

Before

Width:  |  Height:  |  Size: 148 B

-35
View File
@@ -1,35 +0,0 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/Level_5_Button_Normal.png-5692bf663ad3e725c957095a5773b43c.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Levels/Level_5_Button_Normal.png"
dest_files=[ "res://.import/Level_5_Button_Normal.png-5692bf663ad3e725c957095a5773b43c.stex" ]
[params]
compress/mode=3
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=2
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=0
process/fix_alpha_border=false
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0