Game Development Reference
In-Depth Information
Let's see this effect on the _]p object on the stage:
1. Make sure that the Lh]uan[=__ahan]pekj class is bound to the ?]p symbol. To do that, select
the ?]p symbol in the Library and click the Properties button. The Symbol Properties window
2. Make sure that the Class field contains the value Player_Acceleration , as shown in Figure 9-2. If
it doesn't, change it so that it does.
Figure 9-2. Bind the Player_Acceleration class to the Cat symbol.
3. Click the OK button.
4. Move the _]p object around the stage with the arrow keys. It gradually speeds up before
reaching its maximum speed of 5 pixels per frame.
Search Nedrilad ::

Custom Search