ShopDreamUp AI ArtDreamUp
Deviation Actions
Suggested Deviants
Suggested Collections
You Might Like…
Description
Well did it for work and other Flash project testings. Decided to share with you. Help to test program for bottlenecks. Though a more complex thing I used in Collision Studies series exists. Just need to polish it for wide use
Anyways it is AS3 fla containing a library item called fps.
You can see demo here:[link]
It shows:
FPS - frames per second
ms - milliseconds per frame
mem - memory flash player currently uses.
graph - FPS graph showing how FPS changes over time
Easy adding to a project. Just Copy/Paste from this fla to your project.
Parameters you can configure on top of FPS code without much insight in code itself:
Color - for text and graph in hex form.
graph width and height for graph size.
Automatically scales FPS based on graph size and System.frameRate
Well if find bugs/make upgrades/ have suggestions etc etc comment here.
Anyways it is AS3 fla containing a library item called fps.
You can see demo here:[link]
It shows:
FPS - frames per second
ms - milliseconds per frame
mem - memory flash player currently uses.
graph - FPS graph showing how FPS changes over time
Easy adding to a project. Just Copy/Paste from this fla to your project.
Parameters you can configure on top of FPS code without much insight in code itself:
Color - for text and graph in hex form.
graph width and height for graph size.
Automatically scales FPS based on graph size and System.frameRate
Well if find bugs/make upgrades/ have suggestions etc etc comment here.
© 2008 - 2024 wonderwhy-ER
Comments18
Join the community to add your comment. Already a deviant? Log In
Just looking at the source for this, and I see you copy it into a new bitmap and back, just to scroll it 1 pixel? Why not use BitmapData.scroll()?