Cube & Scoring Logic Part 1
This commit is contained in:
@@ -8,8 +8,10 @@ func _ready() -> void:
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta: float) -> void:
|
||||
$VBoxContainer/Resolution.text = "Resolution: %s" % get_viewport().size
|
||||
$VBoxContainer/Fps.text = "FPS: %s" % Performance.get_monitor(Performance.TIME_FPS)
|
||||
$VBoxContainer/Frametime.text = "FrameTime: %s" % snapped(Engine.get_physics_interpolation_fraction(), 0.000001)
|
||||
$VBoxContainer/PT.text = "Process time: %s ms" % snapped(Performance.get_monitor(Performance.TIME_PROCESS)*1000, 0.001)
|
||||
$VBoxContainer/VideoMemory.text ="Video memory Used: %s MB" % snapped(Performance.get_monitor(Performance.RENDER_VIDEO_MEM_USED)/1024**2, 0.001)
|
||||
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user