Adding Actions to Events
In This Chapter
Assigning an Action to an Object
Giving an Object something to do
Making your Object move
Keeping score and more
In this chapter, I discuss each of the Actions that you can assign to Objects. You can think of Actions as the verb in a sentence: They tell the Objects what to do, when to do it, and how to do it. Actions are what causes a clown to bounce off the wall, or a plane to shoot a bullet, or an asteroid to split into pieces. By using Actions, you save yourself from having to write the code yourself. I love Actions because I’m not great with writing my own code, and Actions provide an easier and quicker way for me (and you) to create a game.
How to Assign an Action to an Object
Here’s a quick, top-level procedure on how to ...