SPACE INVADERS 8

We now should have a working Space Invaders game, but we can make it more visually appealing by custom designing our ship using "Sprite" functionality in the API.

[TO BE DONE -- NEED TO ADD A NEW PAGE AND PROJECT THAT TEACHES USING AND CUSTOMIZING SPRITES]

To change the ship to a custom sprite, we need to include some basic initialization code, code to design the sprite configuration and code to draw the sprite.

Here is the initialization code:


Here is the sprite code: 


Here is the drawing code:


And here is what our full project should look like at this point:

prev| next