aboutsummaryrefslogtreecommitdiff
path: root/main.gd
diff options
context:
space:
mode:
Diffstat (limited to 'main.gd')
-rw-r--r--main.gd6
1 files changed, 6 insertions, 0 deletions
diff --git a/main.gd b/main.gd
index 5a78ede..7962d52 100644
--- a/main.gd
+++ b/main.gd
@@ -34,6 +34,12 @@ func _process(delta: float):
for it in controls_sensible_to_keyboard:
it.margin_bottom = -keyboard_height
+ # ~1650 fps with database using ItemList
+ Engine.target_fps = 0
+ OS.vsync_enabled = false
+ OS.set_window_title("%03d" % [Engine.get_frames_per_second()])
+ return
+
if power_throttle_timeout > 0.0:
power_throttle_timeout -= delta
else: