add FPS to testmap

This commit is contained in:
Henrik Neumann 2025-02-18 20:43:41 +01:00
parent 59ed74a988
commit c5814b836a
2 changed files with 16 additions and 1 deletions

View File

@ -0,0 +1,13 @@
extends Node3D
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
DebugDraw2D.set_text("Frames drawn", Engine.get_frames_drawn())
DebugDraw2D.set_text("FPS", Engine.get_frames_per_second())
DebugDraw2D.set_text("delta", delta)

File diff suppressed because one or more lines are too long