O'Reilly logo

Scratch 2.0 Game Development HOTSHOT by Sergio van Pul, Jessica Chiang

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Hotshot challenges

Speaking of balancing, you might want to change some of the values we used.

Perhaps you want to use different score limits to make it harder or easier to power up the spear.

You could also change the attack patterns of the starfish—play around with the numbers and instructions, and discover what patterns you can come up with.

Perhaps you have also noticed that we haven't actually done anything gamewise with the scoreBlue value. We changed the appearance of the spear when a certain score is reached, but this doesn't actually make any difference to the game. How will you use this new ice spear?

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required