Game Development Reference
In-Depth Information
behavior and change game.Score togame.Score+100. Drag and drop a Destroy
behavior. The actor action pane should be as per Figure 9-16.
Figure 9-16. 100 pt cap action pane
Auto bullet
Create a game attribute of type Boolean, name it ''AutoBullet,'' and set the
default value to false.
Open the Auto bullet actor in the Actor Editor.
Drag and drop a Change Velocity behavior into the actor and change the
settings to:
Direction: 270
Relative to: scene
Speed: 150
 
Search WWH ::




Custom Search