mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-07-06 15:11:16 +00:00
Spawn boss
This commit is contained in:
parent
a1e87af061
commit
4aa7c2515c
12 changed files with 128 additions and 49 deletions
|
|
@ -1,10 +1,12 @@
|
|||
[gd_scene load_steps=8 format=4 uid="uid://cv1c7ymi8ab17"]
|
||||
[gd_scene load_steps=11 format=4 uid="uid://cv1c7ymi8ab17"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://b2j00riayxkit" path="res://Scripts/Controllers/RogueliteRoom.cs" id="1_36sk4"]
|
||||
[ext_resource type="Resource" uid="uid://cwtma7mxged8a" path="res://Resources/RogueliteMaps/ShopRoom1.tres" id="2_36sk4"]
|
||||
[ext_resource type="PackedScene" uid="uid://cl7s06sk106uo" path="res://Scenes/Props/VendingMachine.tscn" id="5_g23xn"]
|
||||
[ext_resource type="TileSet" uid="uid://6k28roiljylj" path="res://Tilesets/factory_tileset.tres" id="5_o7s04"]
|
||||
[ext_resource type="Script" uid="uid://g6oraxgd87ij" path="res://Scripts/Actors/TeleporterMarker.cs" id="6_36sk4"]
|
||||
[ext_resource type="Script" uid="uid://krean0uywtms" path="res://Scripts/TilemapAvoidance.cs" id="6_l5c4m"]
|
||||
[ext_resource type="Texture2D" uid="uid://d3e762pxublbt" path="res://Sprites/teleporter.png" id="7_ii5ao"]
|
||||
|
||||
[sub_resource type="NavigationPolygon" id="NavigationPolygon_rlq0q"]
|
||||
vertices = PackedVector2Array(166, 58, 294, 58, 294, 134, 166, 134, 166, 150, 154, 150, 154, 134, 154, 58, 26, 134, 26, 58, 166, 10, 154, 10)
|
||||
|
|
@ -16,6 +18,10 @@ source_geometry_mode = 1
|
|||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_rlq0q"]
|
||||
size = Vector2(272, 85)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_as6dh"]
|
||||
atlas = ExtResource("7_ii5ao")
|
||||
region = Rect2(0, 0, 16, 16)
|
||||
|
||||
[node name="Map" type="Node2D" node_paths=PackedStringArray("RoomClearActivation")]
|
||||
process_mode = 1
|
||||
script = ExtResource("1_36sk4")
|
||||
|
|
@ -65,4 +71,12 @@ collision_mask = 2
|
|||
position = Vector2(162, 94.5)
|
||||
shape = SubResource("RectangleShape2D_rlq0q")
|
||||
|
||||
[node name="Features" type="Node2D" parent="."]
|
||||
|
||||
[node name="Teleporter" type="Marker2D" parent="Features"]
|
||||
position = Vector2(199, 56)
|
||||
script = ExtResource("6_36sk4")
|
||||
Type = 3
|
||||
MarkerTexture = SubResource("AtlasTexture_as6dh")
|
||||
|
||||
[connection signal="area_entered" from="PlayerEnterDetector" to="." method="OnRoomEntered"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue