Smoother cursor, Viewport scale, Stats
This commit is contained in:
15
game/test_ground.gd
Normal file
15
game/test_ground.gd
Normal file
@@ -0,0 +1,15 @@
|
||||
extends CanvasLayer
|
||||
|
||||
|
||||
# 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:
|
||||
$VBoxContainer/Fps.text = "FPS: " + str(Performance.get_monitor(Performance.TIME_FPS))
|
||||
$VBoxContainer/Frametime.text = "FrameTime: " + str(Engine.get_physics_interpolation_fraction())
|
||||
$VBoxContainer/PT.text = "Process time: "+ str(Performance.get_monitor(Performance.TIME_PROCESS))
|
||||
$VBoxContainer/VideoMemory.text ="Video memory Used: " + str(Performance.get_monitor(Performance.RENDER_VIDEO_MEM_USED))
|
||||
pass
|
||||
Reference in New Issue
Block a user