mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-07-06 16:41:16 +00:00
Mapping and generation fixes
This commit is contained in:
parent
7482cfa496
commit
8c17738371
18 changed files with 628 additions and 53 deletions
|
|
@ -1,9 +1,13 @@
|
|||
[gd_scene load_steps=7 format=4 uid="uid://hmu4dw62c10t"]
|
||||
[gd_scene load_steps=12 format=4 uid="uid://hmu4dw62c10t"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://b2j00riayxkit" path="res://Scripts/Controllers/RogueliteRoom.cs" id="1_4lag8"]
|
||||
[ext_resource type="Resource" uid="uid://ryfk7g1wqypk" path="res://Resources/RogueliteMaps/TestRGMapLong.tres" id="2_4lag8"]
|
||||
[ext_resource type="Script" uid="uid://8umfjejbkcsm" path="res://Scripts/Actors/RogueliteEnemySpawner.cs" id="5_ehmby"]
|
||||
[ext_resource type="TileSet" uid="uid://6k28roiljylj" path="res://Tilesets/factory_tileset.tres" id="5_upf1e"]
|
||||
[ext_resource type="Resource" uid="uid://cocl3qontm3be" path="res://Resources/Enemies/Base_Fairy.tres" id="6_112g0"]
|
||||
[ext_resource type="Script" uid="uid://krean0uywtms" path="res://Scripts/TilemapAvoidance.cs" id="6_kwstq"]
|
||||
[ext_resource type="Script" uid="uid://umyqgyxjiaig" path="res://Scripts/Actors/ChestMarker.cs" id="7_wcv20"]
|
||||
[ext_resource type="Texture2D" uid="uid://qeh4ai8h6sw5" path="res://Sprites/Chest.png" id="8_upf1e"]
|
||||
|
||||
[sub_resource type="NavigationPolygon" id="NavigationPolygon_rlq0q"]
|
||||
vertices = PackedVector2Array(166, 58, 294, 58, 294, 294, 166, 294, 166, 310, 154, 310, 154, 294, 154, 58, 26, 294, 26, 58, 166, 10, 154, 10)
|
||||
|
|
@ -15,10 +19,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_kwstq"]
|
||||
atlas = ExtResource("8_upf1e")
|
||||
region = Rect2(0, 0, 16, 16)
|
||||
|
||||
[node name="Map" type="Node2D" node_paths=PackedStringArray("RoomClearActivation")]
|
||||
process_mode = 1
|
||||
script = ExtResource("1_4lag8")
|
||||
RoomResource = ExtResource("2_4lag8")
|
||||
RoomClearActivation = []
|
||||
|
||||
[node name="Tilemaps" type="Node2D" parent="." groups=["navigation_polygon_source_geometry_group"]]
|
||||
|
||||
|
|
@ -46,14 +55,10 @@ metadata/_edit_lock_ = true
|
|||
|
||||
[node name="EnemySpawners" type="Node2D" parent="."]
|
||||
|
||||
[node name="RogueliteEnemySpawner" type="Marker2D" parent="EnemySpawners"]
|
||||
position = Vector2(57, 67)
|
||||
|
||||
[node name="RogueliteEnemySpawner2" type="Marker2D" parent="EnemySpawners"]
|
||||
position = Vector2(82, 185)
|
||||
|
||||
[node name="RogueliteEnemySpawner3" type="Marker2D" parent="EnemySpawners"]
|
||||
position = Vector2(261, 248)
|
||||
[node name="RogueliteEnemySpawner6" type="Marker2D" parent="EnemySpawners"]
|
||||
position = Vector2(99, 118)
|
||||
script = ExtResource("5_ehmby")
|
||||
Enemy = ExtResource("6_112g0")
|
||||
|
||||
[node name="NavigationRegion2D" type="NavigationRegion2D" parent="."]
|
||||
visible = false
|
||||
|
|
@ -69,4 +74,24 @@ collision_mask = 2
|
|||
position = Vector2(162, 175.5)
|
||||
shape = SubResource("RectangleShape2D_4lag8")
|
||||
|
||||
[node name="Features" type="Node2D" parent="."]
|
||||
|
||||
[node name="Chest" type="Marker2D" parent="Features"]
|
||||
position = Vector2(185, 136)
|
||||
script = ExtResource("7_wcv20")
|
||||
MarkerTexture = SubResource("AtlasTexture_kwstq")
|
||||
SpawnChance = 10.0
|
||||
|
||||
[node name="Chest2" type="Marker2D" parent="Features"]
|
||||
position = Vector2(105, 55)
|
||||
script = ExtResource("7_wcv20")
|
||||
MarkerTexture = SubResource("AtlasTexture_kwstq")
|
||||
SpawnChance = 10.0
|
||||
|
||||
[node name="Chest3" type="Marker2D" parent="Features"]
|
||||
position = Vector2(185, 56)
|
||||
script = ExtResource("7_wcv20")
|
||||
MarkerTexture = SubResource("AtlasTexture_kwstq")
|
||||
SpawnChance = 10.0
|
||||
|
||||
[connection signal="area_entered" from="PlayerEnterDetector" to="." method="OnRoomEntered"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue