Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Workshop

Quiz

1. What is the default coordinate system origin for XNA Framework games?

2. What is a bounding box and why is it helpful?

Answers

1. By default, the coordinate system origin for XNA Framework games is the bottom left.

2. A bounding box is a rectangle that completely contains a game object. Bounding boxes are particularly helpful when the game object is a nonrectangular shape and allows you to more easily perform collision detection and simplifies finding the top, left, bottom, and right coordinates of the game object.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial