ROPE


Ropes are used so Jumpman can Climb Down to Girders below Him. When Jumpman is on a Rope, he will automatically Climb Down. (Unlike a Ladder where he can Climb Up or Down). Jumpman can also Jump off a Rope in an attempt to grab something or land on another platform.

When you create a Rope, 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)

Rope'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. Ropes will Fade in and Out as the .Active state is changed (Due to level play).

There is no limit to the number of Ropes which can be created on each level.


This Section describes the object and the properties available at design time.

When a Rope is Selected, the Property Editor Window will bring up the following dialog;


Name

Sets the name of the object which is used to reference it via the Visual Basic Scriptlets. Object Names Cannot Contain any spaces and Must be unique.

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.

 

Sprite Image

Defines the Image set to use for rendering the Rope at run-time. Selecting this item will bring down a list of all the Images available in the Image Manger (link).

Like Ladders, Ropes are built up out of 4 Individual Graphic elements.. A Top Piece. A repeating Middle Piece and a Bottom Piece. A Rope with the Length of 1 uses a Single Graphic Piece. A Rope with the Length of 2 uses only the Top and Bottom Graphic elements. Ropes will automatically Join other Ropes they are next to to make a single Rope 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.

 

Length

Defines the Length of the Rope.. Setting the Length to a value which will make the Rope 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).

 

Visible

If Ticked, then the Rope is Visible at run-time.. If the Rope is either not Visible or Active then it is drawn in a darker shade to signify that it is different from other Ropes.

 

Active

If Ticked, then the Rope is Active at run time.. Active means that the player will interact with the Rope (ie. Climb Down). It is possible to have an invisible Rope which can be climbed on and a visible Rope which can't by different combinations of the Visible and Active flags.


This Section describes the object and how it can accessed and controlled via the scriptlets at run-time. Please refer to the Bomb on more information about scriptlets.

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 Ropes.

 

.Visible

Makes a Rope Visible or Not.. Irrelevant if a Rope is Visible or Not, It must be Active for Jumpman to be able to climb it. Valid Values are True and False.

Script Example..

Rope1.Visible = True

The Object will either Fade In or Fade Out depending on the state of .Visible

 

.Active

Makes a Rope Active or Not.. An Active Rope can be climbed by the Player. Valid Values are True and False.

Script Example..

Rope1.Active = True

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)

ie..

Rope1.Visible = True
Rope1.Active = True