Day 1 - Section I: Introduction and Overview
c. Drawing with XNA
Goals:
Notice:
![]() |
![]() |
![]() |
Here are the details, each of the following changes are enclosed by regions with label: __CODE_ADDED__:
#region __CODE_ADDED__:
instance variable for the image and its position Texture2D sprite; // represent the image as a 2D texture #endregion |
#region
__CODE_ADDED__: load the image |
#region
__CODE_ADDED__: draw the image as a sprite (2D Texture) |
![]() |
Kelvin Sung Computing and Software Systems University of Washington, Bothell ksung@u.washington.edu |