mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-15 06:33:46 +00:00
Boss teleporter
This commit is contained in:
parent
d5eda3c7b4
commit
a1e87af061
10 changed files with 178 additions and 13 deletions
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=13 format=4 uid="uid://24wh7h2dbljf"]
|
||||
[gd_scene load_steps=17 format=4 uid="uid://24wh7h2dbljf"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://b2j00riayxkit" path="res://Scripts/Controllers/RogueliteRoom.cs" id="1_vhsym"]
|
||||
[ext_resource type="Resource" uid="uid://dn3ai56rrxfnk" path="res://Resources/RogueliteMaps/Beginner1.tres" id="2_vhsym"]
|
||||
|
|
@ -11,10 +11,17 @@
|
|||
[ext_resource type="Resource" uid="uid://cltxhkrqp055v" path="res://Resources/Items/Money_Pickup.tres" id="9_5yebg"]
|
||||
[ext_resource type="PackedScene" uid="uid://dt7i3x3g5ktbl" path="res://Scenes/Actors/Roguelite_Boss_1.tscn" id="10_kublc"]
|
||||
[ext_resource type="PackedScene" uid="uid://crph24e6e0v0q" path="res://Scenes/Interactable/Control_Pad.tscn" id="11_dbn5e"]
|
||||
[ext_resource type="Script" uid="uid://g6oraxgd87ij" path="res://Scripts/Actors/TeleporterMarker.cs" id="12_f3e1d"]
|
||||
[ext_resource type="Texture2D" uid="uid://d3e762pxublbt" path="res://Sprites/teleporter.png" id="13_c0yr1"]
|
||||
[ext_resource type="LabelSettings" uid="uid://buk3e7bbwmnv1" path="res://Resources/Styles/Hud_Text_Style.tres" id="14_c0yr1"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_u3c1h"]
|
||||
size = Vector2(272, 85)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_5rt6n"]
|
||||
atlas = ExtResource("13_c0yr1")
|
||||
region = Rect2(0, 0, 16, 16)
|
||||
|
||||
[node name="Tilemaps" type="Node2D" node_paths=PackedStringArray("RoomClearActivation")]
|
||||
process_mode = 1
|
||||
script = ExtResource("1_vhsym")
|
||||
|
|
@ -73,4 +80,20 @@ collision_mask = 2
|
|||
position = Vector2(162, 94.5)
|
||||
shape = SubResource("RectangleShape2D_u3c1h")
|
||||
|
||||
[node name="Features" type="Node2D" parent="."]
|
||||
|
||||
[node name="Teleporter" type="Marker2D" parent="Features"]
|
||||
position = Vector2(40, 56)
|
||||
script = ExtResource("12_f3e1d")
|
||||
Type = 4
|
||||
MarkerTexture = SubResource("AtlasTexture_5rt6n")
|
||||
|
||||
[node name="Label" type="Label" parent="Features/Teleporter"]
|
||||
offset_left = -20.0
|
||||
offset_top = -22.0
|
||||
offset_right = 32.0
|
||||
offset_bottom = 1.0
|
||||
text = "Boss Debug"
|
||||
label_settings = ExtResource("14_c0yr1")
|
||||
|
||||
[connection signal="area_entered" from="PlayerEnterDetector" to="." method="OnRoomEntered"]
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=7 format=4 uid="uid://brytwc48xpj78"]
|
||||
[gd_scene load_steps=10 format=4 uid="uid://brytwc48xpj78"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://b2j00riayxkit" path="res://Scripts/Controllers/RogueliteRoom.cs" id="1_vm1u7"]
|
||||
[ext_resource type="Resource" uid="uid://cgac12krx7vbf" path="res://Resources/RogueliteMaps/Boss1.tres" id="2_vm1u7"]
|
||||
|
|
@ -6,6 +6,12 @@
|
|||
[ext_resource type="Script" uid="uid://krean0uywtms" path="res://Scripts/TilemapAvoidance.cs" id="4_vo7cb"]
|
||||
[ext_resource type="PackedScene" uid="uid://dt7i3x3g5ktbl" path="res://Scenes/Actors/Roguelite_Boss_1.tscn" id="5_wmvx8"]
|
||||
[ext_resource type="PackedScene" uid="uid://crph24e6e0v0q" path="res://Scenes/Interactable/Control_Pad.tscn" id="6_vo7cb"]
|
||||
[ext_resource type="Script" uid="uid://g6oraxgd87ij" path="res://Scripts/Actors/TeleporterMarker.cs" id="7_5nx6x"]
|
||||
[ext_resource type="Texture2D" uid="uid://d3e762pxublbt" path="res://Sprites/teleporter.png" id="8_6d01x"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_gh1se"]
|
||||
atlas = ExtResource("8_6d01x")
|
||||
region = Rect2(0, 0, 16, 16)
|
||||
|
||||
[node name="Tilemaps" type="Node2D" node_paths=PackedStringArray("RoomClearActivation")]
|
||||
process_mode = 1
|
||||
|
|
@ -44,3 +50,11 @@ position = Vector2(118, 37)
|
|||
ActivationType = 1
|
||||
|
||||
[node name="EnemySpawners" type="Node2D" parent="."]
|
||||
|
||||
[node name="Features" type="Node2D" parent="."]
|
||||
|
||||
[node name="Teleporter" type="Marker2D" parent="Features"]
|
||||
position = Vector2(160, 61)
|
||||
script = ExtResource("7_5nx6x")
|
||||
Type = 1
|
||||
MarkerTexture = SubResource("AtlasTexture_gh1se")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue