CHAPTER 4

image

Getting Things Moving

After completing this chapter, you will be able to:

  • Program with rotated texture objects effectively
  • Understand the concept of rotation reference position
  • Implement autonomous controlled gradual turning and target-locked chasing behaviors

As you saw at the end of Chapter 3, “2D Graphics, Coordinates and Game State,” the behavior of your game objects has become more complex. You may have noticed this in the Simple Game Object and Simple Game State projects, in which you created soccer ball and basketball game objects. The behavior given to those objects allows them to move around the game window, detecting and ...

Get Learn 2D Game Development with C# now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.