mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-07-08 05:31:17 +00:00
Spawn boss
This commit is contained in:
parent
a1e87af061
commit
4aa7c2515c
12 changed files with 128 additions and 49 deletions
|
|
@ -1,8 +1,10 @@
|
|||
[gd_scene load_steps=7 format=4 uid="uid://j71ehkbbalh2"]
|
||||
[gd_scene load_steps=10 format=4 uid="uid://j71ehkbbalh2"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://b2j00riayxkit" path="res://Scripts/Controllers/RogueliteRoom.cs" id="1_08gfs"]
|
||||
[ext_resource type="Resource" uid="uid://crqgvauqarfaq" path="res://Resources/RogueliteMaps/TreasureRoom1.tres" id="2_08gfs"]
|
||||
[ext_resource type="Script" uid="uid://g6oraxgd87ij" path="res://Scripts/Actors/TeleporterMarker.cs" id="5_3v6so"]
|
||||
[ext_resource type="TileSet" uid="uid://6k28roiljylj" path="res://Tilesets/factory_tileset.tres" id="5_ojht1"]
|
||||
[ext_resource type="Texture2D" uid="uid://d3e762pxublbt" path="res://Sprites/teleporter.png" id="6_08gfs"]
|
||||
[ext_resource type="Script" uid="uid://krean0uywtms" path="res://Scripts/TilemapAvoidance.cs" id="6_jf212"]
|
||||
|
||||
[sub_resource type="NavigationPolygon" id="NavigationPolygon_rlq0q"]
|
||||
|
|
@ -15,6 +17,10 @@ source_geometry_mode = 1
|
|||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_rlq0q"]
|
||||
size = Vector2(272, 85)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_sadsx"]
|
||||
atlas = ExtResource("6_08gfs")
|
||||
region = Rect2(0, 0, 16, 16)
|
||||
|
||||
[node name="Map" type="Node2D" node_paths=PackedStringArray("RoomClearActivation")]
|
||||
process_mode = 1
|
||||
script = ExtResource("1_08gfs")
|
||||
|
|
@ -38,7 +44,7 @@ navigation_enabled = false
|
|||
metadata/_edit_lock_ = true
|
||||
|
||||
[node name="Props" type="TileMapLayer" parent="Tilemaps" groups=["Solid"]]
|
||||
tile_map_data = PackedByteArray("AAAPAAIAAAAJAAwAAAAPAAMAAAAJAA0AAAALAAEAAAAJAAwAAAALAAIAAAAJAA0AAAAAAAMAAAAKAA4AAAAAAAQAAAAKAA8AAAATAAMAAAAKAA4AAAATAAQAAAAKAA8AAAAEAAIAAAAKAAwAAAAEAAMAAAAKAA0AAAAIAAEAAAAKAAwAAAAIAAIAAAAKAA0AAAA=")
|
||||
tile_map_data = PackedByteArray("AAAPAAIAAAAJAAwAAAAPAAMAAAAJAA0AAAALAAEAAAAJAAwAAAALAAIAAAAJAA0AAAAAAAMAAAAKAA4AAAAAAAQAAAAKAA8AAAATAAMAAAAKAA4AAAATAAQAAAAKAA8AAAAEAAIAAAAKAAwAAAAEAAMAAAAKAA0AAAAIAAEAAAAKAAwAAAAIAAIAAAAKAA0AAAAJAAUAAAAGAAAAAAAKAAUAAAAHAAAAAAA=")
|
||||
tile_set = ExtResource("5_ojht1")
|
||||
navigation_enabled = false
|
||||
metadata/_edit_lock_ = true
|
||||
|
|
@ -64,6 +70,14 @@ shape = SubResource("RectangleShape2D_rlq0q")
|
|||
[node name="Treasures" type="Node2D" parent="."]
|
||||
|
||||
[node name="Marker2D" type="Marker2D" parent="Treasures"]
|
||||
position = Vector2(160, 96)
|
||||
position = Vector2(161, 86)
|
||||
|
||||
[node name="Features" type="Node2D" parent="."]
|
||||
|
||||
[node name="Teleporter" type="Marker2D" parent="Features"]
|
||||
position = Vector2(230, 56)
|
||||
script = ExtResource("5_3v6so")
|
||||
Type = 3
|
||||
MarkerTexture = SubResource("AtlasTexture_sadsx")
|
||||
|
||||
[connection signal="area_entered" from="PlayerEnterDetector" to="." method="OnRoomEntered"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue