mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-07-03 10:51: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,4 +1,4 @@
|
|||
[gd_scene load_steps=9 format=4 uid="uid://bon3ay27r54tw"]
|
||||
[gd_scene load_steps=12 format=4 uid="uid://bon3ay27r54tw"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://b2j00riayxkit" path="res://Scripts/Controllers/RogueliteRoom.cs" id="1_0pyb7"]
|
||||
[ext_resource type="Resource" uid="uid://cb7gk278lmicd" path="res://Resources/RogueliteMaps/Lab2x1_1.tres" id="2_0pyb7"]
|
||||
|
|
@ -6,6 +6,8 @@
|
|||
[ext_resource type="TileSet" uid="uid://6k28roiljylj" path="res://Tilesets/factory_tileset.tres" id="5_xmtgx"]
|
||||
[ext_resource type="Resource" uid="uid://qbo6avc7x64b" path="res://Resources/Enemies/Fairy_Guard.tres" id="6_0pyb7"]
|
||||
[ext_resource type="Script" uid="uid://krean0uywtms" path="res://Scripts/TilemapAvoidance.cs" id="6_k6m50"]
|
||||
[ext_resource type="Script" uid="uid://umyqgyxjiaig" path="res://Scripts/Actors/ChestMarker.cs" id="7_u0u4o"]
|
||||
[ext_resource type="Texture2D" uid="uid://qeh4ai8h6sw5" path="res://Sprites/Chest.png" id="8_8uhw6"]
|
||||
|
||||
[sub_resource type="NavigationPolygon" id="NavigationPolygon_f7qjl"]
|
||||
vertices = PackedVector2Array(614, 90, 614, 102, 598, 102, 312, 100, 598, 90, 280, 100, 232, 102, 218, 90, 218, 68, 248, 68, 280, 70, 248, 58, 376, 58, 376, 68, 312, 70, 422, 68, 422, 90, 474, 90, 474, 10, 486, 10, 486, 90, 522, 90, 522, 84, 552, 84, 552, 74, 598, 74, 598, 118, 522, 118, 522, 102, 486, 102, 486, 150, 474, 150, 474, 102, 422, 102, 422, 134, 408, 134, 408, 118, 377, 118, 377, 134, 344, 134, 344, 118, 312, 118, 312, 134, 280, 134, 280, 118, 232, 118, 166, 102, 166, 150, 154, 150, 154, 102, 118, 102, 118, 118, 104, 118, 104, 102, 56, 102, 56, 118, 42, 118, 42, 102, 26, 102, 26, 90, 42, 90, 88, 74, 88, 84, 42, 74, 118, 84, 118, 90, 154, 90, 166, 90, 154, 10, 166, 10)
|
||||
|
|
@ -17,10 +19,15 @@ source_geometry_mode = 1
|
|||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_wtdf1"]
|
||||
size = Vector2(591, 85)
|
||||
|
||||
[node name="Map" type="Node2D"]
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_gq82i"]
|
||||
atlas = ExtResource("8_8uhw6")
|
||||
region = Rect2(0, 0, 16, 16)
|
||||
|
||||
[node name="Map" type="Node2D" node_paths=PackedStringArray("RoomClearActivation")]
|
||||
process_mode = 1
|
||||
script = ExtResource("1_0pyb7")
|
||||
RoomResource = ExtResource("2_0pyb7")
|
||||
RoomClearActivation = []
|
||||
metadata/test_scene = "res://Scenes/Maps/Roguelike.tscn"
|
||||
|
||||
[node name="Tilemaps" type="Node2D" parent="." groups=["navigation_polygon_source_geometry_group"]]
|
||||
|
|
@ -80,16 +87,28 @@ shape = SubResource("RectangleShape2D_wtdf1")
|
|||
|
||||
[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(408, 135)
|
||||
script = ExtResource("7_u0u4o")
|
||||
MarkerTexture = SubResource("AtlasTexture_gq82i")
|
||||
SpawnChance = 10.0
|
||||
|
||||
[node name="Marker2D2" type="Marker2D" parent="Features"]
|
||||
position = Vector2(116, 119)
|
||||
[node name="Chest2" type="Marker2D" parent="Features"]
|
||||
position = Vector2(424, 55)
|
||||
script = ExtResource("7_u0u4o")
|
||||
MarkerTexture = SubResource("AtlasTexture_gq82i")
|
||||
SpawnChance = 10.0
|
||||
|
||||
[node name="Marker2D3" type="Marker2D" parent="Features"]
|
||||
position = Vector2(60, 72)
|
||||
[node name="Chest3" type="Marker2D" parent="Features"]
|
||||
position = Vector2(104, 119)
|
||||
script = ExtResource("7_u0u4o")
|
||||
MarkerTexture = SubResource("AtlasTexture_gq82i")
|
||||
SpawnChance = 10.0
|
||||
|
||||
[node name="Marker2D4" type="Marker2D" parent="Features"]
|
||||
position = Vector2(420, 134)
|
||||
[node name="Chest4" type="Marker2D" parent="Features"]
|
||||
position = Vector2(552, 71)
|
||||
script = ExtResource("7_u0u4o")
|
||||
MarkerTexture = SubResource("AtlasTexture_gq82i")
|
||||
SpawnChance = 10.0
|
||||
|
||||
[connection signal="area_entered" from="PlayerEnterDetector" to="." method="OnRoomEntered"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue