APPENDIX CCheck Your KnowledgeAnswers
This appendix contains the answers to the questions in the "Check Your Knowledge" sections of Chapters 2 through 6.
SpriteBatch object is used to draw textures to the screen.
Initialize method is where you set the initial state and values of objects and fields unrelated to content.
- You change the background color of the game by modifying the color specified in the
Draw method at
Update method is used to change the state of your game on an ongoing basis.
- The game runs in a default scenario of a fixed-step time loop. That means that every 1/60 second, the
rotation variable will be incremented by
0.02. Since the
rotation variable is ...
Get Zune Game Development Using XNA 3.0 now with O’Reilly online learning.
O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.