This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-05-24 01:50:22

Flait7
Scratcher
Registered: 2008-04-14
Posts: 100+

Fps options.

Scratch should have an option deciding how many frames per second a project should run at, because when a certain object starts to move at a fast speed, or even at maybe 20 or 30 steps, it could completely pass by an object when that object was supposed to intersect the first object's path and interfere with it. Instead of 30fps, it could be possible for scratch's fps rate to be variable, so a person could decide to use 90 fps and 10 steps instead of 30 fps and 30 steps.  Or even 60fps and 15 steps.  It would be very convenient for certain projects.


http://scratch.mit.edu/static/projects/Flait7/2248016_sm.pnghttp://scratch.mit.edu/static/projects/Flait7/1827934_sm.png

Offline

 

#2 2011-05-24 17:35:36

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: Fps options.

This is less to do with the frame rate, and more to do with the distance moved by each sprite. If you have a sprite set to move 10 steps every loop, then it will move that many steps every time, skipping over everything else. Increasing the frame rate will not fix this. (Note that in games, when your frame rate drops, collision detection does not suddenly fail. This is because everything is still being processed correctly.) Besides, you can't just set a frame rate to run at; not all computers could handle it!


http://www.blocks.scratchr.org/API.php?action=random&return=image&link1=http://i.imgur.com/OZn2RD3.png&link2=http://i.imgur.com/duzaGTB.png&link3=http://i.imgur.com/CrDGvvZ.png&link4=http://i.imgur.com/POEpQyZ.png&link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

#3 2011-05-24 17:36:14

nuckelavee
Scratcher
Registered: 2011-05-18
Posts: 79

Re: Fps options.

Maybe, but I'm not sure how this would be implemented.  Flash has a variable framerate, but it has one framerate for the whole document.  It would have to be 100 fps, then the blocks could be set to a percent, possibly.


Scratch 2.0- announced April 19, 2010, and now in alpha!  It looks cool, and finally has cloning  smile  Yay.

Offline

 

Board footer