diff options
Diffstat (limited to 'DungeonSystem/scenes')
| -rw-r--r-- | DungeonSystem/scenes/ZoneEntrance.tscn | 20 | ||||
| -rw-r--r-- | DungeonSystem/scenes/roomBase.tscn | 17 |
2 files changed, 36 insertions, 1 deletions
diff --git a/DungeonSystem/scenes/ZoneEntrance.tscn b/DungeonSystem/scenes/ZoneEntrance.tscn new file mode 100644 index 0000000..260e558 --- /dev/null +++ b/DungeonSystem/scenes/ZoneEntrance.tscn @@ -0,0 +1,20 @@ +[gd_scene format=3] + +[ext_resource type="Script" path="res://DungeonSystem/scripts/ZoneEntrance.cs" id="1_script"] +[ext_resource type="Texture2D" path="res://icon.svg" id="2_icon"] + +[sub_resource type="CircleShape2D" id="CircleShape2D_trigger"] +radius = 16.0 + +[node name="ZoneEntrance" type="Node2D"] +script = ExtResource("1_script") + +[node name="Sprite2D" type="Sprite2D" parent="."] +texture = ExtResource("2_icon") +scale = Vector2(0.2, 0.2) + +[node name="Area2D" type="Area2D" parent="."] +collision_mask = 2 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"] +shape = SubResource("CircleShape2D_trigger") diff --git a/DungeonSystem/scenes/roomBase.tscn b/DungeonSystem/scenes/roomBase.tscn index f155572..9d560a5 100644 --- a/DungeonSystem/scenes/roomBase.tscn +++ b/DungeonSystem/scenes/roomBase.tscn @@ -159,7 +159,22 @@ tile_set = SubResource("TileSet_cb62v") position = Vector2(5, -2) navigation_polygon = SubResource("NavigationPolygon_0m7y3") -[node name="EnemySpawners" type="Node" parent="." unique_id=334603267] +[node name="EnemySpawners" type="Node2D" parent="." unique_id=334603267] + +[node name="SpawnA" type="Marker2D" parent="EnemySpawners" unique_id=155180021] +position = Vector2(-24, -24) + +[node name="SpawnB" type="Marker2D" parent="EnemySpawners" unique_id=310446298] +position = Vector2(24, -24) + +[node name="SpawnC" type="Marker2D" parent="EnemySpawners" unique_id=1598592441] +position = Vector2(-24, 24) + +[node name="SpawnD" type="Marker2D" parent="EnemySpawners" unique_id=210595017] +position = Vector2(24, 24) + +[node name="NextZoneEntranceMarker" type="Marker2D" parent="." unique_id=991240117] +position = Vector2(0, 0) [node name="Doors" type="Node2D" parent="." unique_id=34224735] |
