Game Development Reference
In-Depth Information
This time, the view is called with a different constructor. Rather than passing a rectangle,
we will pass a center position and size. This serves the same purpose, but allows us to spe-
cify the center point more easily.
After we initialize the view, we create four sprites in the four corners of the screen around
the world point ( 0 ; 0 ). The following are the tests done with a rotation of 0 and 45 degrees
on the scene:
Search WWH ::

Custom Search