mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-07-05 06: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,12 +1,13 @@
|
|||
[gd_scene load_steps=10 format=4 uid="uid://dcxrdhq1yw5c7"]
|
||||
[gd_scene load_steps=12 format=4 uid="uid://dcxrdhq1yw5c7"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://b2j00riayxkit" path="res://Scripts/Controllers/RogueliteRoom.cs" id="1_cak6m"]
|
||||
[ext_resource type="Resource" uid="uid://ly8l7asedjpx" path="res://Resources/RogueliteMaps/TestRGMap2.tres" id="2_cak6m"]
|
||||
[ext_resource type="TileSet" uid="uid://6k28roiljylj" path="res://Tilesets/factory_tileset.tres" id="3_f7qjl"]
|
||||
[ext_resource type="Script" uid="uid://krean0uywtms" path="res://Scripts/TilemapAvoidance.cs" id="4_wtdf1"]
|
||||
[ext_resource type="Script" uid="uid://8umfjejbkcsm" path="res://Scripts/Actors/RogueliteEnemySpawner.cs" id="5_f7qjl"]
|
||||
[ext_resource type="Resource" uid="uid://qbo6avc7x64b" path="res://Resources/Enemies/Fairy_Guard.tres" id="6_wtdf1"]
|
||||
[ext_resource type="Script" uid="uid://umyqgyxjiaig" path="res://Scripts/Actors/ChestMarker.cs" id="7_hgeju"]
|
||||
[ext_resource type="Resource" uid="uid://cocl3qontm3be" path="res://Resources/Enemies/Base_Fairy.tres" id="7_wtdf1"]
|
||||
[ext_resource type="Texture2D" uid="uid://qeh4ai8h6sw5" path="res://Sprites/Chest.png" id="8_qe4tn"]
|
||||
|
||||
[sub_resource type="NavigationPolygon" id="NavigationPolygon_f7qjl"]
|
||||
vertices = PackedVector2Array(186, 122, 186, 58, 294, 58, 294, 134, 166, 134, 134, 122, 166, 150, 154, 150, 154, 134, 26, 134, 26, 58, 134, 58, 166, 54, 154, 54, 154, 10, 166, 10)
|
||||
|
|
@ -18,10 +19,15 @@ source_geometry_mode = 1
|
|||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_wtdf1"]
|
||||
size = Vector2(272, 85)
|
||||
|
||||
[node name="Map" type="Node2D"]
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_sbfh4"]
|
||||
atlas = ExtResource("8_qe4tn")
|
||||
region = Rect2(0, 0, 16, 16)
|
||||
|
||||
[node name="Map" type="Node2D" node_paths=PackedStringArray("RoomClearActivation")]
|
||||
process_mode = 1
|
||||
script = ExtResource("1_cak6m")
|
||||
RoomResource = ExtResource("2_cak6m")
|
||||
RoomClearActivation = []
|
||||
metadata/test_scene = "res://Scenes/Maps/Roguelike.tscn"
|
||||
|
||||
[node name="Tilemaps" type="Node2D" parent="." groups=["navigation_polygon_source_geometry_group"]]
|
||||
|
|
@ -51,18 +57,8 @@ metadata/_edit_lock_ = true
|
|||
|
||||
[node name="EnemySpawners" type="Node2D" parent="."]
|
||||
|
||||
[node name="RogueliteEnemySpawner4" type="Marker2D" parent="EnemySpawners"]
|
||||
position = Vector2(109, 81)
|
||||
script = ExtResource("5_f7qjl")
|
||||
Enemy = ExtResource("6_wtdf1")
|
||||
|
||||
[node name="RogueliteEnemySpawner5" type="Marker2D" parent="EnemySpawners"]
|
||||
position = Vector2(241.083, 101.736)
|
||||
script = ExtResource("5_f7qjl")
|
||||
Enemy = ExtResource("6_wtdf1")
|
||||
|
||||
[node name="RogueliteEnemySpawner6" type="Marker2D" parent="EnemySpawners"]
|
||||
position = Vector2(75.6301, 120.022)
|
||||
position = Vector2(201, 92)
|
||||
script = ExtResource("5_f7qjl")
|
||||
Enemy = ExtResource("7_wtdf1")
|
||||
|
||||
|
|
@ -81,10 +77,16 @@ shape = SubResource("RectangleShape2D_wtdf1")
|
|||
|
||||
[node name="Features" type="Node2D" parent="."]
|
||||
|
||||
[node name="Marker2D" type="Marker2D" parent="Features"]
|
||||
position = Vector2(263, 55)
|
||||
[node name="Chest" type="Marker2D" parent="Features"]
|
||||
position = Vector2(281, 136)
|
||||
script = ExtResource("7_hgeju")
|
||||
MarkerTexture = SubResource("AtlasTexture_sbfh4")
|
||||
SpawnChance = 10.0
|
||||
|
||||
[node name="Marker2D2" type="Marker2D" parent="Features"]
|
||||
[node name="Chest2" type="Marker2D" parent="Features"]
|
||||
position = Vector2(40, 135)
|
||||
script = ExtResource("7_hgeju")
|
||||
MarkerTexture = SubResource("AtlasTexture_sbfh4")
|
||||
SpawnChance = 10.0
|
||||
|
||||
[connection signal="area_entered" from="PlayerEnterDetector" to="." method="OnRoomEntered"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue