Game Development Reference
In-Depth Information
Figure 3-12. Modified Rack Player 1 Serving rule
Repeat the operation for Rack Player 2.
Last but not least, you need to modify the Destroy behavior of the Ball actor to
indicate that there is no longer an active ball in the game. Double-click the Ball
actor. Drag a Change Attribute behavior above the Destroy behavior and change
the ActiveBall attribute to false. Your rule should look similar to Figure 3-13.
Figure 3-13. Modified Destroy behavior
Search WWH ::




Custom Search