mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-07-03 12:01:16 +00:00
Fixed enemy spawns
This commit is contained in:
parent
c00d298443
commit
7a62f6a8cd
19 changed files with 263 additions and 147 deletions
|
|
@ -1,15 +1,19 @@
|
|||
[gd_scene load_steps=9 format=4 uid="uid://dngwjgs5bhnx7"]
|
||||
[gd_scene load_steps=13 format=4 uid="uid://dngwjgs5bhnx7"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://b2j00riayxkit" path="res://Scripts/Controllers/RogueliteRoom.cs" id="1_xsqjb"]
|
||||
[ext_resource type="Resource" uid="uid://bv0mr43vcfrdh" path="res://Resources/RogueliteMaps/BigMap.tres" id="2_xsqjb"]
|
||||
[ext_resource type="TileSet" uid="uid://6k28roiljylj" path="res://Tilesets/factory_tileset.tres" id="4_tyndx"]
|
||||
[ext_resource type="Script" uid="uid://krean0uywtms" path="res://Scripts/TilemapAvoidance.cs" id="5_lrgk6"]
|
||||
[ext_resource type="PackedScene" uid="uid://dcbcyp1qogcl0" path="res://Scenes/Props/BigTankHorizontal.tscn" id="6_cgxuy"]
|
||||
[ext_resource type="Script" uid="uid://8umfjejbkcsm" path="res://Scripts/Actors/RogueliteEnemySpawner.cs" id="7_cgxuy"]
|
||||
[ext_resource type="PackedScene" uid="uid://c27co22bjym3c" path="res://Scenes/Actors/Camera.tscn" id="7_lrgk6"]
|
||||
[ext_resource type="Resource" uid="uid://qbo6avc7x64b" path="res://Resources/Enemies/Fairy_Guard.tres" id="8_lrgk6"]
|
||||
[ext_resource type="PackedScene" uid="uid://b0k2grrc8xp1l" path="res://Scenes/Props/BigTank.tscn" id="8_tyndx"]
|
||||
[ext_resource type="Resource" uid="uid://cqfyuurvqb8m6" path="res://Resources/Enemies/Base_Fairy_Special.tres" id="9_tyndx"]
|
||||
|
||||
[sub_resource type="NavigationPolygon" id="NavigationPolygon_lrgk6"]
|
||||
vertices = PackedVector2Array(486, 58, 614, 58, 614, 294, 486, 294, 378, 211, 378, 155, 166, 58, 179, 58, 179, 77, 254, 77, 254, 58, 474, 58, 376, 107, 324, 107, 474, 10, 486, 10, 376, 155, 324, 163, 326, 163, 326, 211, 314, 211, 314, 107, 262, 107, 486, 310, 474, 310, 474, 294, 246, 294, 246, 265, 262, 211, 200, 265, 200, 294, 166, 294, 154, 58, 166, 310, 154, 310, 154, 294, 26, 294, 26, 58, 154, 10, 166, 10)
|
||||
polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2, 3, 4, 5), PackedInt32Array(6, 7, 8), PackedInt32Array(9, 10, 11, 12, 13), PackedInt32Array(11, 14, 15, 0), PackedInt32Array(12, 11, 0, 5, 16), PackedInt32Array(17, 18, 19, 20), PackedInt32Array(17, 20, 21, 13), PackedInt32Array(9, 13, 21), PackedInt32Array(9, 21, 22), PackedInt32Array(3, 23, 24, 25), PackedInt32Array(4, 3, 25), PackedInt32Array(19, 4, 25, 26, 27), PackedInt32Array(20, 19, 27), PackedInt32Array(28, 20, 27, 29), PackedInt32Array(29, 30, 31, 32, 6, 8), PackedInt32Array(31, 33, 34, 35), PackedInt32Array(35, 36, 37, 32), PackedInt32Array(31, 35, 32), PackedInt32Array(32, 38, 39, 6), PackedInt32Array(29, 8, 9, 22, 28)])
|
||||
vertices = PackedVector2Array(246, 265, 248, 212, 326, 211, 378, 211, 358, 230, 313, 262, 248, 278, 314, 211, 262, 211, 520, 244, 534, 234, 614, 234, 614, 262, 550, 262, 520, 198, 534, 134, 248, 166, 262, 107, 166, 58, 179, 58, 179, 77, 168, 102, 249, 77, 249, 88, 202, 118, 168, 118, 294, 88, 294, 90, 330, 90, 330, 88, 360, 88, 360, 84, 374, 84, 374, 107, 326, 107, 314, 107, 426, 230, 378, 138, 442, 138, 457, 182, 457, 232, 442, 58, 474, 58, 518, 122, 504, 182, 474, 10, 486, 10, 486, 58, 518, 58, 570, 122, 570, 90, 614, 90, 585, 118, 614, 118, 585, 134, 504, 198, 472, 232, 472, 244, 550, 294, 486, 294, 486, 310, 474, 310, 474, 294, 426, 294, 358, 262, 313, 278, 248, 294, 246, 294, 168, 260, 200, 265, 200, 294, 166, 294, 154, 282, 154, 260, 166, 310, 154, 310, 154, 294, 56, 262, 26, 262, 26, 186, 42, 186, 42, 102, 26, 102, 26, 58, 57, 58, 57, 88, 86, 88, 86, 102, 54, 102, 54, 186, 86, 186, 86, 234, 88, 234, 88, 260, 56, 294, 102, 260, 102, 282, 168, 244, 184, 244, 184, 234, 202, 234, 138, 102, 138, 58, 154, 58, 154, 10, 166, 10, 216, 166, 216, 212)
|
||||
polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2, 3, 4, 5, 6), PackedInt32Array(7, 2, 1), PackedInt32Array(8, 7, 1), PackedInt32Array(9, 10, 11, 12, 13), PackedInt32Array(10, 9, 14, 15), PackedInt32Array(8, 1, 16, 17), PackedInt32Array(18, 19, 20, 21), PackedInt32Array(21, 20, 22, 23, 24, 25), PackedInt32Array(23, 26, 27, 17, 24), PackedInt32Array(28, 29, 30), PackedInt32Array(30, 31, 32, 33), PackedInt32Array(30, 33, 34, 28), PackedInt32Array(27, 28, 34, 35), PackedInt32Array(34, 2, 7, 35), PackedInt32Array(27, 35, 17), PackedInt32Array(36, 3, 37, 38, 39, 40), PackedInt32Array(39, 38, 41, 42, 43, 44), PackedInt32Array(42, 45, 46, 47), PackedInt32Array(47, 48, 43), PackedInt32Array(49, 50, 51, 52), PackedInt32Array(51, 53, 52), PackedInt32Array(49, 52, 54, 15), PackedInt32Array(43, 49, 15), PackedInt32Array(15, 14, 55, 44, 43), PackedInt32Array(40, 56, 57), PackedInt32Array(9, 13, 58, 59, 57), PackedInt32Array(59, 60, 61, 62), PackedInt32Array(57, 59, 62), PackedInt32Array(57, 62, 63, 36, 40), PackedInt32Array(4, 64, 5), PackedInt32Array(5, 65, 6), PackedInt32Array(6, 66, 67, 0), PackedInt32Array(68, 69, 70, 71, 72, 73), PackedInt32Array(71, 74, 75, 76), PackedInt32Array(77, 78, 79, 80), PackedInt32Array(81, 82, 83, 84, 85), PackedInt32Array(85, 86, 87, 88), PackedInt32Array(81, 85, 88), PackedInt32Array(80, 81, 88, 89), PackedInt32Array(77, 80, 89), PackedInt32Array(77, 89, 90, 91), PackedInt32Array(77, 91, 92, 93, 94), PackedInt32Array(93, 95, 96, 94), PackedInt32Array(68, 97, 98, 69), PackedInt32Array(69, 98, 99, 100, 0), PackedInt32Array(21, 101, 102, 103), PackedInt32Array(103, 104, 105, 18), PackedInt32Array(21, 103, 18), PackedInt32Array(24, 17, 16, 106), PackedInt32Array(100, 24, 106, 107), PackedInt32Array(76, 94, 96, 72), PackedInt32Array(71, 76, 72), PackedInt32Array(0, 100, 107, 1), PackedInt32Array(36, 4, 3), PackedInt32Array(43, 42, 47)])
|
||||
outlines = Array[PackedVector2Array]([PackedVector2Array(32, 42, 30, 31, 62, 27, 61, 38)])
|
||||
parsed_collision_mask = 353
|
||||
source_geometry_mode = 1
|
||||
|
|
@ -69,6 +73,9 @@ position = Vector2(288, 184)
|
|||
[node name="BigTank4" parent="Tilemaps/Actors" instance=ExtResource("8_tyndx")]
|
||||
position = Vector2(352, 184)
|
||||
|
||||
[node name="Camera" parent="Tilemaps/Actors" instance=ExtResource("7_lrgk6")]
|
||||
position = Vector2(311, 60)
|
||||
|
||||
[node name="Features" type="Node2D" parent="."]
|
||||
|
||||
[node name="ReturnTeleporter" type="Marker2D" parent="Features"]
|
||||
|
|
@ -82,20 +89,30 @@ position = Vector2(88, 57)
|
|||
|
||||
[node name="EnemySpawners" type="Node2D" parent="."]
|
||||
|
||||
[node name="RogueliteEnemySpawner" type="Marker2D" parent="EnemySpawners"]
|
||||
position = Vector2(214, 106)
|
||||
[node name="RogueliteEnemySpawner6" type="Marker2D" parent="EnemySpawners"]
|
||||
position = Vector2(246, 114)
|
||||
script = ExtResource("7_cgxuy")
|
||||
Enemy = ExtResource("8_lrgk6")
|
||||
|
||||
[node name="RogueliteEnemySpawner2" type="Marker2D" parent="EnemySpawners"]
|
||||
position = Vector2(69, 238)
|
||||
[node name="RogueliteEnemySpawner7" type="Marker2D" parent="EnemySpawners"]
|
||||
position = Vector2(408, 158)
|
||||
script = ExtResource("7_cgxuy")
|
||||
Enemy = ExtResource("8_lrgk6")
|
||||
|
||||
[node name="RogueliteEnemySpawner3" type="Marker2D" parent="EnemySpawners"]
|
||||
position = Vector2(485, 149)
|
||||
[node name="RogueliteEnemySpawner8" type="Marker2D" parent="EnemySpawners"]
|
||||
position = Vector2(79.6165, 191.795)
|
||||
script = ExtResource("7_cgxuy")
|
||||
Enemy = ExtResource("8_lrgk6")
|
||||
|
||||
[node name="RogueliteEnemySpawner4" type="Marker2D" parent="EnemySpawners"]
|
||||
position = Vector2(449, 268)
|
||||
[node name="RogueliteEnemySpawner9" type="Marker2D" parent="EnemySpawners"]
|
||||
position = Vector2(284, 221.998)
|
||||
script = ExtResource("7_cgxuy")
|
||||
Enemy = ExtResource("8_lrgk6")
|
||||
|
||||
[node name="RogueliteEnemySpawner5" type="Marker2D" parent="EnemySpawners"]
|
||||
position = Vector2(290, 254)
|
||||
[node name="RogueliteEnemySpawner10" type="Marker2D" parent="EnemySpawners"]
|
||||
position = Vector2(444.985, 243.404)
|
||||
script = ExtResource("7_cgxuy")
|
||||
Enemy = ExtResource("9_tyndx")
|
||||
|
||||
[node name="NavigationRegion2D" type="NavigationRegion2D" parent="."]
|
||||
visible = false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue