ScratchData LogoScratchData
Back to AddOne's profile

skip frame test / example

ADAddOne•Created January 30, 2010
skip frame test / example
3
5
382 views
View on Scratch

Description

Hold the mouse button to draw many lines at once. The top cat uses the usual method for movement. It moves 4 spaces in a loop. When you hold the mouse button, frames take longer to draw, so the top cat slows down. Even though it skips frames, the bottom cat stays moving at the same rate because it is using the timer to determine how far it should move. This method will allow you to make many types of animation work at the same speed on fast and slow computers, online or off. Skipping frames instead of slowing down is not a new idea. It happens in modern games and video players when the system bogs down. There are probably much better ways of doing this. But the idea is that the animation is based off the timer instead of incrementing the same amount each frame. Feel free to run with this idea. Just please leave me a comment and let me know how it works out for you. And let me know if you have questions. :) http://scratch.mit.edu/forums/viewtopic.php?id=29745

Project Details

Project ID866265
CreatedJanuary 30, 2010
Last ModifiedJanuary 30, 2010
SharedJanuary 30, 2010
Visibilityvisible
CommentsAllowed