ScratchData LogoScratchData
Back to karenb's profile

Level advance

KAkarenb•Created October 21, 2010
Level advance
4
4
954 views
View on Scratch

Description

Press the space bar to increment the score by 1. When the score reaches 10, the score should be reset and the "game" should "level up" (i.e. change the background color). In response to a ScratchEd question: I've got 19 kids working on game projects right now and this is a common quirk: Many of them have a "score" variable and want to increment the score until it gets to a certain number, like 10, and then have the game advance to the next level. But many of them are finding that the "score" variable increments to 12 or 13 before the script stops executing and/or sends a broadcast to trigger the next level. Why is that? Is there a fix? http://scratched.media.mit.edu/discussions/how-do-i/slowness-loops

Project Details

Project ID1366920
CreatedOctober 21, 2010
Last ModifiedOctober 21, 2010
SharedOctober 21, 2010
Visibilityvisible
CommentsAllowed