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

Report as inappropriate.

danpost
danpost presents ...

2014/1/14

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.

CONTROLS:
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.

1945 views / 13 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.
UpupzealotUpupzealot

2014/1/14

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

2014/1/14

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

2014/1/15

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

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

Who likes this?

Entity1037