Advertisement
Dessyreqt

APM Script

Jul 10th, 2012
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 12.90 KB | None | 0 0
  1. "Current APM: " .. apm)
  2.     gui.text(textX, textY + 10, "Average APM: " .. math.floor(avgApm))
  3.     gui.text(textX, textY + 20, "Peak APM: " .. peakApm)
  4. end
  5.  
  6. while true do
  7.     elapsedFrames = elapsedFrames + 1
  8.     CompareControllers()
  9.     CalculateApm()
  10.     OutputApm()
  11.     snes9x.frameadvance()
  12. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement