ScratchData LogoScratchData
Back to papipupepappa's profile

Sprite Size Performance Test

PApapipupepappa•Created February 5, 2022
Sprite Size Performance Test
24
13
189 views
View on Scratch

Instructions

Click the green flag and try changing the size. You'll notice that it lags more the bigger the cat is. If you look inside, you'll see that I've added an unnecessary loop when checking if it is touching colors. That is because I want to cause lag so that the difference in lag between sizes is more obvious. I haven't really looked into the reason it lags at larger sizes, but my guess is that a larger size means it needs to check more pixels when executing the "touching (...) ?" blocks.

Description

This project was made as a response to a question by @HumanCalc7: https://scratch.mit.edu/users/papipupepappa/#comments-185199196

Project Details

Project ID639606202
CreatedFebruary 5, 2022
Last ModifiedFebruary 6, 2022
SharedFebruary 5, 2022
Visibilityvisible
CommentsAllowed