mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-09-03 23:39:26 +03:00
- Rebake lightmaps in Global Illumination demo with supersampling to improve quality. - Increase SDFGI quality in the Global Illumination demo (slightly more demanding, but better matches the quality standards of 2026). All demos had Project > Tools > Upgrade Project Files ran on them with 4.6.stable (4.6.stable.mono for demos in the `mono/` folder).
125 lines
5.1 KiB
Plaintext
125 lines
5.1 KiB
Plaintext
[gd_scene format=3 uid="uid://b3lu6ldhoxd3w"]
|
|
|
|
[ext_resource type="Script" uid="uid://ch8mb4cgm22pr" path="res://navmesh_chunks_demo_2d.gd" id="1_d68tl"]
|
|
|
|
[node name="NavMeshChunksDemo2D" type="Node2D" unique_id=1736121566]
|
|
script = ExtResource("1_d68tl")
|
|
|
|
[node name="Camera2D" type="Camera2D" parent="." unique_id=165566592]
|
|
position = Vector2(960, 540)
|
|
zoom = Vector2(0.8, 0.8)
|
|
|
|
[node name="ParseRootNode" type="Node2D" parent="." unique_id=608637523]
|
|
unique_name_in_owner = true
|
|
|
|
[node name="StaticBody2D" type="StaticBody2D" parent="ParseRootNode" unique_id=41823938]
|
|
|
|
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="ParseRootNode/StaticBody2D" unique_id=642420042]
|
|
polygon = PackedVector2Array(244, 147, 636, 155, 376, 391, 460, 655, 804, 795, 756, 971, 484, 839, 308, 963, 132, 811, 128, 559)
|
|
|
|
[node name="CollisionPolygon2D2" type="CollisionPolygon2D" parent="ParseRootNode/StaticBody2D" unique_id=1594370659]
|
|
polygon = PackedVector2Array(1312, 207, 1596, 91, 1832, 175, 1739, 926, 1562, 796, 1508, 935, 1184, 811, 1324, 533, 1499, 599, 1684, 511, 1596, 322)
|
|
|
|
[node name="CollisionPolygon2D3" type="CollisionPolygon2D" parent="ParseRootNode/StaticBody2D" unique_id=1974977717]
|
|
polygon = PackedVector2Array(661, 339, 943, 397, 1112, 178, 1172, 443, 960, 639, 700, 579)
|
|
|
|
[node name="DebugPaths" type="Node2D" parent="." unique_id=1209970173]
|
|
unique_name_in_owner = true
|
|
|
|
[node name="PathDebugCorridorFunnel" type="NavigationAgent2D" parent="DebugPaths" unique_id=1641663623]
|
|
unique_name_in_owner = true
|
|
debug_enabled = true
|
|
debug_use_custom = true
|
|
debug_path_custom_color = Color(1, 0, 1, 1)
|
|
debug_path_custom_point_size = 10.0
|
|
debug_path_custom_line_width = 4.0
|
|
|
|
[node name="PathDebugEdgeCentered" type="NavigationAgent2D" parent="DebugPaths" unique_id=676470834]
|
|
unique_name_in_owner = true
|
|
path_postprocessing = 1
|
|
debug_enabled = true
|
|
debug_use_custom = true
|
|
debug_path_custom_color = Color(1, 1, 0, 1)
|
|
debug_path_custom_point_size = 10.0
|
|
debug_path_custom_line_width = 4.0
|
|
|
|
[node name="PathDebugNoPostProcessing" type="NavigationAgent2D" parent="DebugPaths" unique_id=602836575]
|
|
unique_name_in_owner = true
|
|
path_postprocessing = 2
|
|
debug_enabled = true
|
|
debug_use_custom = true
|
|
debug_path_custom_color = Color(1, 0, 0, 1)
|
|
debug_path_custom_point_size = 10.0
|
|
debug_path_custom_line_width = 4.0
|
|
|
|
[node name="ChunksContainer" type="Node2D" parent="." unique_id=424349731]
|
|
unique_name_in_owner = true
|
|
|
|
[node name="CanvasLayer" type="CanvasLayer" parent="." unique_id=2003636414]
|
|
|
|
[node name="PanelContainer" type="PanelContainer" parent="CanvasLayer" unique_id=642782821]
|
|
offset_right = 40.0
|
|
offset_bottom = 40.0
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="CanvasLayer/PanelContainer" unique_id=1429008141]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 15
|
|
theme_override_constants/margin_top = 15
|
|
theme_override_constants/margin_right = 15
|
|
theme_override_constants/margin_bottom = 15
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="CanvasLayer/PanelContainer/MarginContainer" unique_id=1679193395]
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="CanvasLayer/PanelContainer/MarginContainer/VBoxContainer" unique_id=353493237]
|
|
layout_mode = 2
|
|
text = "Use mouse cursor to set path start position"
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="CanvasLayer/PanelContainer/MarginContainer/VBoxContainer" unique_id=692966944]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 10
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="CanvasLayer/PanelContainer/MarginContainer/VBoxContainer/HBoxContainer" unique_id=771132555]
|
|
custom_minimum_size = Vector2(128, 8)
|
|
layout_mode = 2
|
|
size_flags_vertical = 4
|
|
color = Color(1, 0, 1, 1)
|
|
|
|
[node name="Label" type="Label" parent="CanvasLayer/PanelContainer/MarginContainer/VBoxContainer/HBoxContainer" unique_id=1431910639]
|
|
layout_mode = 2
|
|
text = "Path corridor-funnel"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="HBoxContainer2" type="HBoxContainer" parent="CanvasLayer/PanelContainer/MarginContainer/VBoxContainer" unique_id=1741713304]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 10
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="CanvasLayer/PanelContainer/MarginContainer/VBoxContainer/HBoxContainer2" unique_id=1278102531]
|
|
custom_minimum_size = Vector2(128, 8)
|
|
layout_mode = 2
|
|
size_flags_vertical = 4
|
|
color = Color(1, 1, 0, 1)
|
|
|
|
[node name="Label" type="Label" parent="CanvasLayer/PanelContainer/MarginContainer/VBoxContainer/HBoxContainer2" unique_id=907106113]
|
|
layout_mode = 2
|
|
text = "Path edge-centered"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="HBoxContainer3" type="HBoxContainer" parent="CanvasLayer/PanelContainer/MarginContainer/VBoxContainer" unique_id=263072552]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 10
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="CanvasLayer/PanelContainer/MarginContainer/VBoxContainer/HBoxContainer3" unique_id=1363926704]
|
|
custom_minimum_size = Vector2(128, 8)
|
|
layout_mode = 2
|
|
size_flags_vertical = 4
|
|
color = Color(1, 0, 0, 1)
|
|
|
|
[node name="Label" type="Label" parent="CanvasLayer/PanelContainer/MarginContainer/VBoxContainer/HBoxContainer3" unique_id=1163207902]
|
|
layout_mode = 2
|
|
text = "Path no post-processing"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|