mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-07-05 19:21:26 +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,14 @@
|
|||
[gd_scene load_steps=7 format=4 uid="uid://c36nvk7cw3emg"]
|
||||
[gd_scene load_steps=13 format=4 uid="uid://c36nvk7cw3emg"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://b2j00riayxkit" path="res://Scripts/Controllers/RogueliteRoom.cs" id="1_5bd7y"]
|
||||
[ext_resource type="Resource" uid="uid://cjtcksew0qy6d" path="res://Resources/RogueliteMaps/TestRGMapLarge.tres" id="2_5bd7y"]
|
||||
[ext_resource type="TileSet" uid="uid://6k28roiljylj" path="res://Tilesets/factory_tileset.tres" id="5_2mndj"]
|
||||
[ext_resource type="Script" uid="uid://8umfjejbkcsm" path="res://Scripts/Actors/RogueliteEnemySpawner.cs" id="5_4pnhf"]
|
||||
[ext_resource type="Script" uid="uid://krean0uywtms" path="res://Scripts/TilemapAvoidance.cs" id="6_1dlui"]
|
||||
[ext_resource type="Resource" uid="uid://cocl3qontm3be" path="res://Resources/Enemies/Base_Fairy.tres" id="6_1w61p"]
|
||||
[ext_resource type="Resource" uid="uid://qbo6avc7x64b" path="res://Resources/Enemies/Fairy_Guard.tres" id="7_2mndj"]
|
||||
[ext_resource type="Script" uid="uid://umyqgyxjiaig" path="res://Scripts/Actors/ChestMarker.cs" id="8_1dlui"]
|
||||
[ext_resource type="Texture2D" uid="uid://qeh4ai8h6sw5" path="res://Sprites/Chest.png" id="9_d57gj"]
|
||||
|
||||
[sub_resource type="NavigationPolygon" id="NavigationPolygon_rlq0q"]
|
||||
vertices = PackedVector2Array(474, 58, 474, 10, 486, 10, 486, 58, 794, 58, 794, 10, 806, 10, 806, 58, 934, 58, 934, 134, 806, 134, 794, 134, 806, 150, 794, 150, 486, 134, 474, 134, 486, 150, 474, 150, 166, 58, 166, 134, 166, 150, 154, 150, 154, 134, 154, 58, 26, 134, 26, 58, 166, 10, 154, 10)
|
||||
|
|
@ -15,6 +20,10 @@ source_geometry_mode = 1
|
|||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_5bd7y"]
|
||||
size = Vector2(909, 85)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_wvfe8"]
|
||||
atlas = ExtResource("9_d57gj")
|
||||
region = Rect2(0, 0, 16, 16)
|
||||
|
||||
[node name="Map" type="Node2D" node_paths=PackedStringArray("RoomClearActivation")]
|
||||
process_mode = 1
|
||||
script = ExtResource("1_5bd7y")
|
||||
|
|
@ -45,17 +54,6 @@ metadata/_edit_lock_ = true
|
|||
[node name="Actors" type="Node2D" parent="Tilemaps"]
|
||||
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(373, 75)
|
||||
|
||||
[node name="RogueliteEnemySpawner3" type="Marker2D" parent="EnemySpawners"]
|
||||
position = Vector2(739, 101)
|
||||
|
||||
[node name="NavigationRegion2D" type="NavigationRegion2D" parent="."]
|
||||
visible = false
|
||||
navigation_polygon = SubResource("NavigationPolygon_rlq0q")
|
||||
|
|
@ -69,4 +67,52 @@ collision_mask = 2
|
|||
position = Vector2(480.5, 94.5)
|
||||
shape = SubResource("RectangleShape2D_5bd7y")
|
||||
|
||||
[node name="EnemySpawners" type="Node2D" parent="."]
|
||||
|
||||
[node name="RogueliteEnemySpawner6" type="Marker2D" parent="EnemySpawners"]
|
||||
position = Vector2(281, 102)
|
||||
script = ExtResource("5_4pnhf")
|
||||
Enemy = ExtResource("6_1w61p")
|
||||
|
||||
[node name="RogueliteEnemySpawner7" type="Marker2D" parent="EnemySpawners"]
|
||||
position = Vector2(362, 94)
|
||||
script = ExtResource("5_4pnhf")
|
||||
Enemy = ExtResource("7_2mndj")
|
||||
|
||||
[node name="RogueliteEnemySpawner8" type="Marker2D" parent="EnemySpawners"]
|
||||
position = Vector2(437, 119)
|
||||
script = ExtResource("5_4pnhf")
|
||||
Enemy = ExtResource("6_1w61p")
|
||||
|
||||
[node name="RogueliteEnemySpawner9" type="Marker2D" parent="EnemySpawners"]
|
||||
position = Vector2(232, 60)
|
||||
script = ExtResource("5_4pnhf")
|
||||
Enemy = ExtResource("7_2mndj")
|
||||
|
||||
[node name="Features" type="Node2D" parent="."]
|
||||
|
||||
[node name="Chest" type="Marker2D" parent="Features"]
|
||||
position = Vector2(171, 80)
|
||||
script = ExtResource("8_1dlui")
|
||||
MarkerTexture = SubResource("AtlasTexture_wvfe8")
|
||||
SpawnChance = 10.0
|
||||
|
||||
[node name="Chest2" type="Marker2D" parent="Features"]
|
||||
position = Vector2(314, 84)
|
||||
script = ExtResource("8_1dlui")
|
||||
MarkerTexture = SubResource("AtlasTexture_wvfe8")
|
||||
SpawnChance = 10.0
|
||||
|
||||
[node name="Chest4" type="Marker2D" parent="Features"]
|
||||
position = Vector2(118, 137)
|
||||
script = ExtResource("8_1dlui")
|
||||
MarkerTexture = SubResource("AtlasTexture_wvfe8")
|
||||
SpawnChance = 10.0
|
||||
|
||||
[node name="Chest3" type="Marker2D" parent="Features"]
|
||||
position = Vector2(81, 83)
|
||||
script = ExtResource("8_1dlui")
|
||||
MarkerTexture = SubResource("AtlasTexture_wvfe8")
|
||||
SpawnChance = 10.0
|
||||
|
||||
[connection signal="area_entered" from="PlayerEnterDetector" to="." method="OnRoomEntered"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue