tweak settings and debugger
This commit is contained in:
@@ -260,14 +260,6 @@ func _on_control_draw() -> void:
|
|||||||
_label3_text = ""
|
_label3_text = ""
|
||||||
|
|
||||||
_append_text("fps", Engine.get_frames_per_second() as int, 0)
|
_append_text("fps", Engine.get_frames_per_second() as int, 0)
|
||||||
_append_text(
|
|
||||||
"draw calls",
|
|
||||||
(
|
|
||||||
Performance.get_monitor(Performance.RENDER_TOTAL_DRAW_CALLS_IN_FRAME)
|
|
||||||
as int
|
|
||||||
),
|
|
||||||
0
|
|
||||||
)
|
|
||||||
|
|
||||||
if mode != Mode.FULL:
|
if mode != Mode.FULL:
|
||||||
if mode != Mode.DISABLED:
|
if mode != Mode.DISABLED:
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ const CONFIG_PATH := "user://settings.cfg"
|
|||||||
DisplayServer.window_set_vsync_mode(value)
|
DisplayServer.window_set_vsync_mode(value)
|
||||||
vsync = value
|
vsync = value
|
||||||
|
|
||||||
@export var limit_max_fps: bool = false:
|
@export var limit_max_fps: bool = true:
|
||||||
set(value):
|
set(value):
|
||||||
if value:
|
if value:
|
||||||
Engine.max_fps = max_fps
|
Engine.max_fps = max_fps
|
||||||
|
|||||||
Reference in New Issue
Block a user