// 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)
// 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