Game Development Reference
In-Depth Information
Figure 9-11 . Chains, ropes, and springs draw order in the Level1.ccb Timeline
You should definitely try to rotate the chain and rope instances so that they start out
swinging due to gravity. Try to avoid placing chains and ropes within trigger areas or
largely within borders for now. Positioning them in that way would cause incorrect colli-
sion behavior, which you'll see how to fix in the next section.
In SpriteBuilder, the placed chains and ropes will look rather stiff, like in Figure 9-12 .
Figure 9-12 . Chain and rope placed in the level
The result in-game will be nicely animated chains and ropes, as seen in Figure 9-13
Search WWH ::




Custom Search