Game Development Reference
In-Depth Information
Create a new rule and set the condition to ''Actor receives event'' ''overlaps or
collides'' with ''actor of type'' ''racket.'' Drag and drop a Change Attribute
behavior and change game.AutoBullet to 1. Drag and drop a Destroy behavior.
The actor action pane should match Figure 9-17.
Figure 9-17. AutoBullet action pane
Bullet
Open the Bullet actor in the Actor Editor. Drag and drop a Change Velocity
behavior into the actor and change the settings to:
Direction: 90
Relative to: scene
Speed: 300
Create a new rule and set the condition of ''Any'' for ''Actor receives event''
''overlaps or collides'' with ''actor of type'' ''Brick1'' and ''Actor receives event''
 
Search WWH ::




Custom Search