This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

danpost presents ...


Fps Actor Class

The Fps class of this scenario can be added to your projects and just by creating and adding one instance of it into your world, you can adjust the speed and check the number of frames per second the scenario runs.

Right clicks on actor increase the speed setting;
Left clicks on actor decrease the speed setting;
Hovering over the actor with the mouse causes it to display the speed setting,
otherwise it displays the frames per second the scenario is running at.

2202 views / 9 in the last 7 days

1 vote | 0 in the last 7 days

Tags: mouse demo with-source actor class fps speed danpost

This scenario is a member of: Support Classes by danpost

open in greenfoot
Your browser does not support the canvas tag.


Very useful! But I thought it's actullay APS(act loops per sec). Since ot every act loop was painted in Greenfoot.


@Upupzealot, I believe you are technically correct. You could, however, consider what happens in one act loop as a frame, in general terms.


Yeah, and I named it "logic frame" in my mind. XD

Want to leave a comment? You must first log in.

Who likes this?