Chapter 6
Advanced UI Movements and Graphics
Section 3
Using Ball and Canvas
We rely on three major components when we create an interactive, touch and drag application. A canvas is the container for all of the moving shapes and images in our app. A ball is a simple circle that can move across a canvas and can detect collision with another ball or ImageSprite. An ImageSprite is similar to a ball, but we can use any image we wish as the background for the ImageSprite. - Know what a Canvas is. Show a background image on a Canvas - Create a ball with a color and radius - Create a custom ImageSprite