Optimize Player UI updates with threshold-based rendering and add performance profiler autoload: implement UI_UPDATE_THRESHOLD constant to reduce unnecessary label updates, add conditional DEBUG compilation for debug prints, wrap debug output in preprocessor directives, add PerformanceProfiler autoload, switch to JoltPhysics3D engine, enable VSync, configure rendering quality settings (TAA, SSAA, anisotropic filtering, shadow atlas), and update main scene path
This commit is contained in:
6
Scenes/Autoload/PerformanceProfiler.tscn
Normal file
6
Scenes/Autoload/PerformanceProfiler.tscn
Normal file
@@ -0,0 +1,6 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://performance_profiler"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scripts/Tools/PerformanceProfiler.cs" id="1"]
|
||||
|
||||
[node name="PerformanceProfiler" type="CanvasLayer"]
|
||||
script = ExtResource("1")
|
||||
4607
Scenes/Levels/gd_construct.tscn
Normal file
4607
Scenes/Levels/gd_construct.tscn
Normal file
File diff suppressed because one or more lines are too long
12
Scenes/Tools/CollisionGenerator.tscn
Normal file
12
Scenes/Tools/CollisionGenerator.tscn
Normal file
@@ -0,0 +1,12 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://f0yxbigny3j8"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cnmnvswllcl8t" path="res://Scripts/Tools/CollisionGenerator.cs" id="1_tool"]
|
||||
|
||||
[node name="CollisionGenerator" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_tool")
|
||||
Reference in New Issue
Block a user