To start, let's review our
MySprite object.
We've built it up over a number of lessons, and it's now pretty cool. It can:
- Draw at a certain position
- Make visible or invisible
- Move in a chosen direction
- Rotate to any angle
- Flip horizontally or vertically
If this is all news to you, it may be worth
going back and reviewing some earlier topics where we created MySprite
step-by-step.
In this sample program, we're just creating a MySprite of a hamburger bun, and placing it at a fixed location.