The_Dark_Side_of_Earth/utils/show_fps.gd

5 lines
165 B
GDScript3
Raw Normal View History

extends Label
func _process(_delta):
2025-09-24 17:43:16 +02:00
set_text("FPS " + str(Engine.get_frames_per_second()) + ", ANGLE " + str(floor((%Player.position.angle() + PI) / TAU * 360)))