Game Development Reference
In-Depth Information
Figure 8-5. Left Accelerometer rule
TIP: Should you want to design a game that will be published, do not
forget to handle screen rotation as explained in Chapter 4.
Next, you need to ensure that the ball is bouncing off the Wall and Door actors.
Drag and drop a Collide behavior and change the settings to Bounce when
colliding with ''actor of type'' ''Wall.'' Repeat the operation by dragging and
dropping a second Collide behavior, but change the settings to make it collide
with ''actor of type'' ''Door'' as per Figure 8-6.
Figure 8-6. Collision rules for Ball
 
Search WWH ::




Custom Search