mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-07-04 09:11:15 +00:00
New maps and chests
This commit is contained in:
parent
7c7588c1a4
commit
26a0f51168
28 changed files with 645 additions and 233 deletions
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=13 format=4 uid="uid://7svoss2nbksv"]
|
||||
[gd_scene load_steps=16 format=4 uid="uid://7svoss2nbksv"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://b2j00riayxkit" path="res://Scripts/Controllers/RogueliteRoom.cs" id="1_ntv3p"]
|
||||
[ext_resource type="Resource" uid="uid://do11fodskgasi" path="res://Resources/RogueliteMaps/RGTestRoom1.tres" id="2_ntv3p"]
|
||||
|
|
@ -10,6 +10,8 @@
|
|||
[ext_resource type="Script" uid="uid://8umfjejbkcsm" path="res://Scripts/Actors/RogueliteEnemySpawner.cs" id="9_wb0b4"]
|
||||
[ext_resource type="Resource" uid="uid://qbo6avc7x64b" path="res://Resources/Enemies/Fairy_Guard.tres" id="10_76t1d"]
|
||||
[ext_resource type="PackedScene" uid="uid://cqrkisw6jg24w" path="res://Scenes/Props/MainFrame1.tscn" id="10_wb0b4"]
|
||||
[ext_resource type="Script" uid="uid://umyqgyxjiaig" path="res://Scripts/Actors/ChestMarker.cs" id="11_tcpmo"]
|
||||
[ext_resource type="Texture2D" uid="uid://qeh4ai8h6sw5" path="res://Sprites/Chest.png" id="12_sgpia"]
|
||||
|
||||
[sub_resource type="NavigationPolygon" id="NavigationPolygon_rlq0q"]
|
||||
vertices = PackedVector2Array(294, 250, 294, 262, 280, 262, 104, 250, 280, 278, 248, 278, 218, 262, 248, 294, 218, 294, 166, 262, 166, 310, 154, 310, 154, 294, 136, 294, 136, 278, 40, 278, 40, 260, 57, 260, 57, 264, 104, 264, 250, 138, 294, 150, 280, 150, 184, 148, 198, 138, 250, 68, 264, 68, 264, 84, 294, 84, 184, 102, 198, 58, 166, 58, 136, 102, 280, 166, 262, 166, 262, 198, 250, 198, 250, 166, 136, 148, 72, 166, 72, 150, 40, 150, 40, 134, 70, 138, 26, 134, 26, 84, 40, 84, 40, 58, 70, 58, 122, 138, 122, 58, 154, 58, 166, 10, 154, 10)
|
||||
|
|
@ -21,10 +23,15 @@ source_geometry_mode = 1
|
|||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_4lag8"]
|
||||
size = Vector2(272, 247)
|
||||
|
||||
[node name="Map" type="Node2D"]
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_h0uip"]
|
||||
atlas = ExtResource("12_sgpia")
|
||||
region = Rect2(0, 0, 16, 16)
|
||||
|
||||
[node name="Map" type="Node2D" node_paths=PackedStringArray("RoomClearActivation")]
|
||||
process_mode = 1
|
||||
script = ExtResource("1_ntv3p")
|
||||
RoomResource = ExtResource("2_ntv3p")
|
||||
RoomClearActivation = []
|
||||
|
||||
[node name="Tilemaps" type="Node2D" parent="." groups=["navigation_polygon_source_geometry_group"]]
|
||||
|
||||
|
|
@ -55,7 +62,7 @@ metadata/_edit_lock_ = true
|
|||
position = Vector2(256, 224)
|
||||
|
||||
[node name="ControlPad" parent="Tilemaps/Actors" node_paths=PackedStringArray("Target") instance=ExtResource("7_fyclk")]
|
||||
position = Vector2(48, 32)
|
||||
position = Vector2(248, 34)
|
||||
Target = NodePath("../HorizontalDoor")
|
||||
|
||||
[node name="ICCTv" parent="Tilemaps/Actors" instance=ExtResource("8_7u0ti")]
|
||||
|
|
@ -101,10 +108,28 @@ shape = SubResource("RectangleShape2D_4lag8")
|
|||
|
||||
[node name="Features" type="Node2D" parent="."]
|
||||
|
||||
[node name="Marker2D" type="Marker2D" parent="Features"]
|
||||
position = Vector2(41, 152)
|
||||
[node name="Chest" type="Marker2D" parent="Features"]
|
||||
position = Vector2(264, 55)
|
||||
script = ExtResource("11_tcpmo")
|
||||
MarkerTexture = SubResource("AtlasTexture_h0uip")
|
||||
SpawnChance = 10.0
|
||||
|
||||
[node name="Marker2D2" type="Marker2D" parent="Features"]
|
||||
position = Vector2(39, 280)
|
||||
[node name="Chest2" type="Marker2D" parent="Features"]
|
||||
position = Vector2(40, 263)
|
||||
script = ExtResource("11_tcpmo")
|
||||
MarkerTexture = SubResource("AtlasTexture_h0uip")
|
||||
SpawnChance = 10.0
|
||||
|
||||
[node name="Chest3" type="Marker2D" parent="Features"]
|
||||
position = Vector2(40, 152)
|
||||
script = ExtResource("11_tcpmo")
|
||||
MarkerTexture = SubResource("AtlasTexture_h0uip")
|
||||
SpawnChance = 10.0
|
||||
|
||||
[node name="Chest4" type="Marker2D" parent="Features"]
|
||||
position = Vector2(39, 56)
|
||||
script = ExtResource("11_tcpmo")
|
||||
MarkerTexture = SubResource("AtlasTexture_h0uip")
|
||||
SpawnChance = 10.0
|
||||
|
||||
[connection signal="area_entered" from="PlayerEnterDetector" to="." method="OnRoomEntered"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue