Games from Nothing: Black & White Exercise #4 — Magic Wand

For the fourth exercise, I decided to code a particle system that would look lie sparks coming out of a wand. To represent a wand, I used a long brown rectangle, and to represent the sparks, I used an array of transparent colorful circles that quickly shrink away after they appear.

The start screen looks like this:

Screen Shot 2014-12-08 at 7.36.32 AM

And once a player touches and drags the wand, magical sparks begin to fly!

Screen Shot 2014-12-08 at 7.36.13 AM

I also decided to loop in a little magical sound to set the feel for the game.

Author: Annie Flynn