mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-07-06 20:11:16 +00:00
Non working procedural generation
This commit is contained in:
parent
5bfffc22ad
commit
794368dde6
10 changed files with 337 additions and 115 deletions
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=17 format=3 uid="uid://bf1kqr3o6r6d4"]
|
||||
[gd_scene load_steps=16 format=3 uid="uid://bf1kqr3o6r6d4"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://doxmbokehw8ci" path="res://Scripts/GameManager.cs" id="1_wbqvu"]
|
||||
[ext_resource type="PackedScene" uid="uid://c4pr2707hbeph" path="res://Scenes/Actors/fsm_player.tscn" id="2_3fyis"]
|
||||
|
|
@ -16,13 +16,6 @@
|
|||
[ext_resource type="Script" uid="uid://cnkipcolyj61w" path="res://Scripts/AlarmManager.cs" id="12_eoca5"]
|
||||
[ext_resource type="PackedScene" uid="uid://b3tyacxxw88lx" path="res://Scenes/Utils/StreamPlayerWithName.tscn" id="13_4n7t6"]
|
||||
|
||||
[sub_resource type="NavigationPolygon" id="NavigationPolygon_jtlua"]
|
||||
vertices = PackedVector2Array(-69.1094, 193.477, -146.813, 182.609, -132, 117.898, -69.8906, 117.117)
|
||||
polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2, 3)])
|
||||
outlines = Array[PackedVector2Array]([PackedVector2Array(-159, 191, -140, 108, -60, 107, -59, 205)])
|
||||
parsed_collision_mask = 353
|
||||
source_geometry_mode = 1
|
||||
|
||||
[node name="GameScene" type="Node2D" node_paths=PackedStringArray("NavigationRegion")]
|
||||
process_mode = 3
|
||||
script = ExtResource("1_wbqvu")
|
||||
|
|
@ -31,7 +24,7 @@ PlayerTemplate = ExtResource("2_3fyis")
|
|||
SpawnMarkers = Dictionary[int, NodePath]({
|
||||
0: NodePath("PlayerStartPosition")
|
||||
})
|
||||
NavigationRegion = NodePath("NavigationRegion2D")
|
||||
NavigationRegion = NodePath("")
|
||||
|
||||
[node name="Maps" type="Node2D" parent="." groups=["navigation_polygon_source_geometry_group"]]
|
||||
process_mode = 1
|
||||
|
|
@ -72,7 +65,4 @@ script = ExtResource("12_eoca5")
|
|||
process_mode = 3
|
||||
autoplay = true
|
||||
|
||||
[node name="NavigationRegion2D" type="NavigationRegion2D" parent="."]
|
||||
navigation_polygon = SubResource("NavigationPolygon_jtlua")
|
||||
|
||||
[connection signal="ManagerReady" from="." to="Maps" method="InitSpawning"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue