ScratchData LogoScratchData
Back to TheLogFather's profile

SPD: check costume before switch

THTheLogFather•Created December 25, 2014
SPD: check costume before switch
45
24
1023 views
View on Scratch

Description

======================================= NOTE: This project was written for Scratch 2, and cerain things are now different with Scratch 3. (Also, there's a Scratch 3 bug with the timer block that causes issues in this project with how the timing gets measured...) ======================================= Speed test demo -see studio for more speed test demos: http://scratch.mit.edu/studios/795672/ ------- This one shows that Scratch wastes time switching costume unnecessarily - you should check first, and not bother doing the switch if you're already on the costume you're about to switch to! (Unless you know it will always be different, of course.) (Yes, when you use the check, it's so fast that all 300 clones often do it before the timer gets a chance to move from zero...) Note that if you also have effects applied when you switch costume unnecessarily, then it's even worse - I've actually been kind in not making your browser grind to a halt...

Project Details

Project ID41193994
CreatedDecember 25, 2014
Last ModifiedJanuary 26, 2021
SharedDecember 26, 2014
Visibilityvisible
CommentsAllowed