Chains are used so Jumpman can Climb Up to Girders above Him. When Jumpman is on a Chain, he will automatically Climb Up. (Unlike a Ladder where he can Climb Up or Down). Jumpman can also Jump off a Chain in an attempt to grab something or land on another platform.
When you create a Chain, the following object graphic is drawn in the editor.. It can then be selected and moved around as per any other object. (Shown is the non-selected and selected states of the object)
Chain's (via the Scriptlets) can be made to appear or disappear on collection of a Bomb or when a Trigger is run-over. This allows the Level to dynamically change shape as the player progresses though the level. Chains will Fade in and Out as the .Active state is changed (Due to level play).
There is no limit to the number of Chains
which can be created on each level.
When a Chain is Selected, the Property Editor Window will bring up the following dialog;
It is important to note that changing the name of an object will not change any references to it via the scriptlets. Generally it would be unlikely that you would change the name of an object from the one generated by the program.
Defines the Image set to use for rendering the Chain at run-time. Selecting this item will bring down a list of all the Images available in the Image Manger (link).
Like Ladders, Chains are built up out of 4 Individual Graphic elements.. A Top Piece. A repeating Middle Piece and a Bottom Piece. A Chain with the Length of 1 uses a Single Graphic Piece. A Chain with the Length of 2 uses only the Top and Bottom Graphic elements. Chains will automatically Join other Chains they are next to to make a single Chain with the correct Top and Bottom Pieces.
The Following Image shows the required 4 Graphic elements.
Please Refer to the Girder object (link) for for Information on how this Image is Built Up.
Defines the Length of the Chain.. Setting the Length to a value which will make the Chain extend past the edges of the level will result in the value being clipped to the maximum length allowed (depending on the position of the object).
If Ticked, then the Chain is Active at run time.. Active means that the player will interact with the Chain (ie. Climb Up). It is possible to have an invisible Chain which can be climbed on and a visible Chain which can't by different combinations of the Visible and Active flags.
A Method is a function call which can be executed whilst a Property changes the state of a individual flag in the object.
There are currently no script accessible Methods for Chains.
Makes a Chain Visible or Not.. Irrelevant if a Chain is Visible or Not, It must be Active for Jumpman to be able to climb it. Valid Values are True and False.
The Object will either Fade In or Fade Out depending on the state of .Visible
Makes a Chain Active or Not.. An Active Chain can be climbed by the Player. Valid Values are True and False.
Ideally both the .Visible and .Active properties should be changes at once to the same state unless you want some confusing level behavior. (Which may be the case)