
88 ◾ HTML5 Game Development from the Ground Up
For the explosion eect, let’s try to make some cool particles. Add a new
particle object, name it Explosion, and draw some fancy, multicolored
dots with the brush tool, for example, like those shown in Figure6.53, but
you can also import an image if you have something suitable, of course
(in this case, in the Explosion properties, change blend mode to Additive
so that each particle blends properly with the background and with the
FIGURE 6.52 Updated Every tick event to include the spawning of asteroids,
handled in the background by the sentinel object.
FIGURE 6.53 Possible particles for our ...