ScratchData LogoScratchData
Back to TheLogFather's profile

Why touching tests 'fail'

THTheLogFather•Created October 15, 2016
Why touching tests 'fail'
67
40
2290 views
View on Scratch

Description

This is a fairly common issue that Scratchers encounter, especially when first starting to write projects where sprites touch each other. E.g: https://scratch.mit.edu/discuss/topic/221466/ So I thought I'd write this little project to help explain why this is the wrong way to script it, and what you should do instead. >> Use the arrow keys to control Scratch Cat >> Catch the food >> Watch the score increase each time you 'eat' some food ...or not...! Especially note that if you don't move the Cat, and you let the food come to you, then the score *never* increases. In fact, occasionally, you can manage to just 'clip' the food and increase the score without 'eating' it, or even get multiple 'hits' for a single item of food! See inside to understand what is going on...

Project Details

Project ID125830858
CreatedOctober 15, 2016
Last ModifiedOctober 17, 2016
SharedOctober 16, 2016
Visibilityvisible
CommentsAllowed