mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-07-05 21:41:16 +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,16 +1,17 @@
|
|||
[gd_scene load_steps=10 format=4 uid="uid://da7hmajaaiohm"]
|
||||
[gd_scene load_steps=12 format=4 uid="uid://da7hmajaaiohm"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://b2j00riayxkit" path="res://Scripts/Controllers/RogueliteRoom.cs" id="1_dm6kf"]
|
||||
[ext_resource type="Resource" uid="uid://b5x83li01qrav" path="res://Resources/RogueliteMaps/TestRGMap.tres" id="2_5s4nm"]
|
||||
[ext_resource type="Script" uid="uid://8umfjejbkcsm" path="res://Scripts/Actors/RogueliteEnemySpawner.cs" id="5_b5lqw"]
|
||||
[ext_resource type="TileSet" uid="uid://6k28roiljylj" path="res://Tilesets/factory_tileset.tres" id="5_q5p8k"]
|
||||
[ext_resource type="Script" uid="uid://krean0uywtms" path="res://Scripts/TilemapAvoidance.cs" id="6_81nvh"]
|
||||
[ext_resource type="Resource" uid="uid://qbo6avc7x64b" path="res://Resources/Enemies/Fairy_Guard.tres" id="6_kfj8c"]
|
||||
[ext_resource type="Resource" uid="uid://cocl3qontm3be" path="res://Resources/Enemies/Base_Fairy.tres" id="6_rlq0q"]
|
||||
[ext_resource type="Script" uid="uid://umyqgyxjiaig" path="res://Scripts/Actors/ChestMarker.cs" id="7_kfj8c"]
|
||||
[ext_resource type="Texture2D" uid="uid://qeh4ai8h6sw5" path="res://Sprites/Chest.png" id="8_t4u8v"]
|
||||
|
||||
[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)
|
||||
polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2, 3), PackedInt32Array(3, 4, 5, 6), PackedInt32Array(0, 3, 6, 7), PackedInt32Array(6, 8, 9, 7), PackedInt32Array(10, 0, 7, 11)])
|
||||
vertices = PackedVector2Array(217, 102, 217, 134, 166, 134, 120, 120, 120, 70, 154, 58, 166, 58, 265, 58, 265, 72, 264, 102, 294, 72, 294, 134, 264, 134, 166, 150, 154, 150, 154, 134, 40, 134, 73, 120, 73, 70, 40, 118, 56, 72, 26, 118, 26, 72, 56, 58, 154, 10, 166, 10)
|
||||
polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2, 3, 4, 5, 6), PackedInt32Array(0, 6, 7, 8, 9), PackedInt32Array(8, 10, 11, 12, 9), PackedInt32Array(2, 13, 14, 15), PackedInt32Array(3, 2, 15), PackedInt32Array(3, 15, 16, 17), PackedInt32Array(18, 17, 16, 19, 20), PackedInt32Array(19, 21, 22, 20), PackedInt32Array(18, 20, 23, 5), PackedInt32Array(4, 18, 5), PackedInt32Array(5, 24, 25, 6)])
|
||||
outlines = Array[PackedVector2Array]([PackedVector2Array(17, 36, 14, 12, 47, 15, 49, 34)])
|
||||
parsed_collision_mask = 353
|
||||
source_geometry_mode = 1
|
||||
|
|
@ -18,10 +19,15 @@ source_geometry_mode = 1
|
|||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_rlq0q"]
|
||||
size = Vector2(272, 85)
|
||||
|
||||
[node name="Map" type="Node2D"]
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_3qg2l"]
|
||||
atlas = ExtResource("8_t4u8v")
|
||||
region = Rect2(0, 0, 16, 16)
|
||||
|
||||
[node name="Map" type="Node2D" node_paths=PackedStringArray("RoomClearActivation")]
|
||||
process_mode = 1
|
||||
script = ExtResource("1_dm6kf")
|
||||
RoomResource = ExtResource("2_5s4nm")
|
||||
RoomClearActivation = []
|
||||
|
||||
[node name="Tilemaps" type="Node2D" parent="." groups=["navigation_polygon_source_geometry_group"]]
|
||||
|
||||
|
|
@ -40,7 +46,7 @@ navigation_enabled = false
|
|||
metadata/_edit_lock_ = true
|
||||
|
||||
[node name="Props" type="TileMapLayer" parent="Tilemaps" groups=["Solid"]]
|
||||
tile_map_data = PackedByteArray("AAALAAEAAAAJAAwAAAALAAIAAAAJAA0AAAAIAAEAAAAKAAwAAAAIAAIAAAAKAA0AAAATAAMAAAAKAA4AAAATAAQAAAAKAA8AAAAAAAMAAAAKAA4AAAAAAAQAAAAKAA8AAAA=")
|
||||
tile_map_data = PackedByteArray("AAALAAEAAAAJAAwAAAALAAIAAAAJAA0AAAAIAAEAAAAKAAwAAAAIAAIAAAAKAA0AAAATAAMAAAAKAA4AAAATAAQAAAAKAA8AAAAAAAMAAAAKAA4AAAAAAAQAAAAKAA8AAAAFAAUAAQAAAAAAAQAFAAYAAQAAAAAAAQAGAAUAAQAAAAAAAQAGAAYAAQAAAAAAAQARAAMAAQAAAAAAAQASAAMAAQAAAAAAAQABAAMAAQAAAAAAAQACAAMAAQAAAAAAAQABAAgAAQAAAAAAAQAOAAcAAQAAAAAAAQAPAAcAAQAAAAAAAQA=")
|
||||
tile_set = ExtResource("5_q5p8k")
|
||||
navigation_enabled = false
|
||||
metadata/_edit_lock_ = true
|
||||
|
|
@ -50,23 +56,8 @@ metadata/_edit_lock_ = true
|
|||
|
||||
[node name="EnemySpawners" type="Node2D" parent="."]
|
||||
|
||||
[node name="RogueliteEnemySpawner" type="Marker2D" parent="EnemySpawners"]
|
||||
position = Vector2(102, 67)
|
||||
script = ExtResource("5_b5lqw")
|
||||
Enemy = ExtResource("6_kfj8c")
|
||||
|
||||
[node name="RogueliteEnemySpawner2" type="Marker2D" parent="EnemySpawners"]
|
||||
position = Vector2(221, 72)
|
||||
script = ExtResource("5_b5lqw")
|
||||
Enemy = ExtResource("6_rlq0q")
|
||||
|
||||
[node name="RogueliteEnemySpawner3" type="Marker2D" parent="EnemySpawners"]
|
||||
position = Vector2(89, 115)
|
||||
script = ExtResource("5_b5lqw")
|
||||
Enemy = ExtResource("6_rlq0q")
|
||||
|
||||
[node name="RogueliteEnemySpawner4" type="Marker2D" parent="EnemySpawners"]
|
||||
position = Vector2(227, 119)
|
||||
position = Vector2(198, 79)
|
||||
script = ExtResource("5_b5lqw")
|
||||
Enemy = ExtResource("6_rlq0q")
|
||||
|
||||
|
|
@ -85,16 +76,16 @@ shape = SubResource("RectangleShape2D_rlq0q")
|
|||
|
||||
[node name="Features" type="Node2D" parent="."]
|
||||
|
||||
[node name="Marker2D" type="Marker2D" parent="Features"]
|
||||
position = Vector2(293, 56)
|
||||
[node name="Chest" type="Marker2D" parent="Features"]
|
||||
position = Vector2(296, 136)
|
||||
script = ExtResource("7_kfj8c")
|
||||
MarkerTexture = SubResource("AtlasTexture_3qg2l")
|
||||
SpawnChance = 10.0
|
||||
|
||||
[node name="Marker2D2" type="Marker2D" parent="Features"]
|
||||
position = Vector2(25, 135)
|
||||
|
||||
[node name="Marker2D3" type="Marker2D" parent="Features"]
|
||||
position = Vector2(24.4554, 57.8303)
|
||||
|
||||
[node name="Marker2D4" type="Marker2D" parent="Features"]
|
||||
position = Vector2(292, 134)
|
||||
[node name="Chest2" type="Marker2D" parent="Features"]
|
||||
position = Vector2(40, 135)
|
||||
script = ExtResource("7_kfj8c")
|
||||
MarkerTexture = SubResource("AtlasTexture_3qg2l")
|
||||
SpawnChance = 10.0
|
||||
|
||||
[connection signal="area_entered" from="PlayerEnterDetector" to="." method="OnRoomEntered"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue