Skip to Main Content
Learning XNA 3.0
book

Learning XNA 3.0

by Aaron Reed
November 2008
Beginner content levelBeginner
510 pages
16h 24m
English
O'Reilly Media, Inc.
Content preview from Learning XNA 3.0

Test Your Knowledge: Quiz

  1. What are the steps in an XNA game loop?

  2. If you wanted to load a Texture2D object, in which method should you do that?

  3. What line of code should you use to change the framerate of an XNA game to 20 fps?

  4. What should you pass in as the parameter of Content.Load when loading a Texture2D object?

  5. Fact or fiction: the content pipeline will let you know at compile time if you add an image to your project that it cannot parse.

  6. You're drawing a sprite, and you want the background to be transparent. What steps do you need to take to draw it with a transparent background?

  7. You have two sprites (A and B), and when they collide you always want A to be drawn on top of B. What do you need to do?

  8. What are the things you need to keep track of to cycle through a sprite sheet?

  9. In the United States of America, which month is National Horseradish Month?

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning XNA 4.0

Learning XNA 4.0

Aaron Reed
Beginning C# 7 Programming with Visual Studio 2017

Beginning C# 7 Programming with Visual Studio 2017

Benjamin Perkins, Jacob Vibe Hammer, Jon D. Reid

Publisher Resources

ISBN: 9780596154905Supplemental ContentErrata Page