polished
This commit is contained in:
@@ -1,8 +1,18 @@
|
||||
[gd_scene load_steps=15 format=4 uid="uid://bdpobbbi6apq5"]
|
||||
[gd_scene load_steps=20 format=4 uid="uid://bdpobbbi6apq5"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://2aopgpvv473r" path="res://assets/textures/tilemaps/level_interior_tileset.png" id="1_satx0"]
|
||||
[ext_resource type="PackedScene" uid="uid://dfbomt0l6b1o4" path="res://scenes/player.tscn" id="2_0t8x2"]
|
||||
[ext_resource type="PackedScene" uid="uid://sr8t2lu6apr4" path="res://scenes/enemies/skull.tscn" id="3_u5kpk"]
|
||||
[ext_resource type="AudioStream" uid="uid://c7558jjqywld1" path="res://assets/audio/music/boss_theme.ogg" id="4_ij6uy"]
|
||||
[ext_resource type="Texture2D" uid="uid://dsapnb753puib" path="res://assets/textures/spritesheets/dark_house_assets.png" id="5_piajy"]
|
||||
|
||||
[sub_resource type="GDScript" id="GDScript_piajy"]
|
||||
script/source = "extends Node2D
|
||||
|
||||
func _on_child_exiting_tree(_node: Node) -> void:
|
||||
if get_tree().get_node_count_in_group(\"Enemy\") == 0:
|
||||
get_tree().call_deferred(\"change_scene_to_file\", \"res://scenes/menus/win.tscn\")
|
||||
"
|
||||
|
||||
[sub_resource type="NavigationPolygon" id="NavigationPolygon_0t8x2"]
|
||||
vertices = PackedVector2Array(16, 16, 2, 16, 2, 10, 16, 10)
|
||||
@@ -131,8 +141,53 @@ terrain_set_0/terrain_0/color = Color(0.5, 0.34375, 0.25, 1)
|
||||
navigation_layer_0/layers = 1
|
||||
sources/1 = SubResource("TileSetAtlasSource_u5kpk")
|
||||
|
||||
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_v45sh"]
|
||||
texture = ExtResource("5_piajy")
|
||||
texture_region_size = Vector2i(32, 32)
|
||||
0:0/0 = 0
|
||||
1:0/0 = 0
|
||||
2:0/0 = 0
|
||||
3:0/0 = 0
|
||||
4:0/0 = 0
|
||||
0:1/0 = 0
|
||||
0:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
|
||||
1:1/0 = 0
|
||||
1:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
|
||||
2:1/0 = 0
|
||||
2:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
|
||||
3:1/0 = 0
|
||||
4:1/0 = 0
|
||||
6:1/0 = 0
|
||||
7:1/0 = 0
|
||||
0:2/0 = 0
|
||||
1:2/0 = 0
|
||||
2:2/0 = 0
|
||||
3:2/0 = 0
|
||||
4:2/0 = 0
|
||||
5:2/0 = 0
|
||||
6:2/0 = 0
|
||||
7:2/0 = 0
|
||||
0:3/0 = 0
|
||||
0:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
|
||||
1:3/0 = 0
|
||||
1:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
|
||||
2:3/0 = 0
|
||||
2:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
|
||||
3:3/0 = 0
|
||||
3:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
|
||||
4:3/0 = 0
|
||||
5:3/0 = 0
|
||||
6:3/0 = 0
|
||||
7:3/0 = 0
|
||||
|
||||
[sub_resource type="TileSet" id="TileSet_l6efi"]
|
||||
tile_size = Vector2i(32, 32)
|
||||
physics_layer_0/collision_layer = 1
|
||||
sources/1 = SubResource("TileSetAtlasSource_v45sh")
|
||||
|
||||
[node name="Lvl1" type="Node2D"]
|
||||
y_sort_enabled = true
|
||||
script = SubResource("GDScript_piajy")
|
||||
|
||||
[node name="TileMapLayer" type="TileMapLayer" parent="."]
|
||||
z_index = -1
|
||||
@@ -153,3 +208,14 @@ position = Vector2(8, -106)
|
||||
|
||||
[node name="Skull3" parent="." instance=ExtResource("3_u5kpk")]
|
||||
position = Vector2(140, -102)
|
||||
|
||||
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
||||
stream = ExtResource("4_ij6uy")
|
||||
autoplay = true
|
||||
|
||||
[node name="TileMapLayer2" type="TileMapLayer" parent="."]
|
||||
y_sort_enabled = true
|
||||
tile_map_data = PackedByteArray("AAD7//3/AQAAAAMAAAD7//z/AQAAAAIAAAD8//3/AQABAAMAAAD8//z/AQABAAIAAAABAP3/AQACAAMAAAACAP3/AQADAAMAAAABAPz/AQACAAIAAAACAPz/AQADAAIAAAAEAP7/AQACAAEAAAAEAP3/AQACAAAAAAAEAAEAAQAAAAAAAAAEAAIAAQAAAAEAAAD7/wEAAQABAAAAAAD7/wIAAQABAAEAAAA=")
|
||||
tile_set = SubResource("TileSet_l6efi")
|
||||
|
||||
[connection signal="child_exiting_tree" from="." to="." method="_on_child_exiting_tree"]
|
||||
|
||||
Reference in New Issue
Block a user