broken_seals/game/voxelman/FPSCounter.gd

8 lines
198 B
GDScript3
Raw Normal View History

2019-11-20 14:37:34 +01:00
extends Label
# Copyright Péter Magyar relintai@gmail.com
# MIT License, might be merged into the Voxelman engine module
func _process(delta):
text = str(Engine.get_frames_per_second()) + "FPS"