Game Development Reference
In-Depth Information
Figure 7-42. Touch rule
One last modification, which is critical, is that this actor should be positioned on
a non-scrollable layer. In the Scene Editor, click the Scene tab to display the
scene attributes inspector. Click the Layers tab, as shown in Figure 7-43.
Figure 7-43. Layers inspector
Create a new layer by clicking the + sign in the layer inspector. By default, it will
create a new layer named ''Layer 1.'' Uncheck the box below ''scrollable.''
Expand the background layer, move down to the Touch actor in the layer
inspector to Layer 1, as shown in Figure 7-44.
 
Search WWH ::




Custom Search