(AGK version: 2023.01.25)
Submitted: 2023-04-18 03:47:04
// load and play a music file in a continuous loop
	LoadMusicOgg(1,"music.ogg")
	PlayMusicOgg(1,1)
	
SetSyncRate(60,0)
do  
    game() //call function "game"
    f#=ScreenFPS()
    t#=GetFrameTime()

    print("FPS: "+str(f#))
    print("Seconds: "+str(t#))
    Sync()
loop
Help make AGK better by submitting an example for this command!
(All examples are subject to approval)
Login to post an example of your own.