02 – Adding a Circle


FlatRedBall provides a number of primitives which can be used to render your game, and to perform collision. These include:

  • Sprite – draws an image to screen. This image is often referred to as a Texture.
  • Text – draws text to screen.
  • Circle – draws a circle to screen and can be used for circular collision.
  • AxisAlignedRectangle – draws a rectangle to screen and can be used for collision. AxisAlignedRectangles cannot be rotated.

This tutorial will show you how to create, move, and destroy a circle. It will use input from the keyboard to control the circle.