Game Development Reference
In-Depth Information
Figure 3-26. Scaling in the x direction
Experiment with the code. I made some modifications that change the background color as well as
the direction of the translation (to move diagonally back and forth) and scaling (see Figure 3-27 ).
Figure 3-27. Experimenting with the code
See if you can replicate these changes.
 
Search WWH ::




Custom Search