User Tools

Site Tools


climbing

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
climbing [2021/04/14 14:47] justinclimbing [2021/04/27 13:13] justin
Line 38: Line 38:
 In order for [[character|characters]] to be properly aligned with the ladder while climbing it, you'll need to define an [[attach_points|attach point]] named "climb" for both the [[character]] and the climbable [[tile]]. If these are not defined, the [[character]] will just be centered on the [[tile]]. For the [[character]], the "climb" [[attach_points|attach point]] should be added to the first frame of its "climb" [[animation]]. This [[attach_points|attach point]] will be used for initial positioning on the climbable [[tile]], and then from there the [[character]] will just be moved up and down. In order for [[character|characters]] to be properly aligned with the ladder while climbing it, you'll need to define an [[attach_points|attach point]] named "climb" for both the [[character]] and the climbable [[tile]]. If these are not defined, the [[character]] will just be centered on the [[tile]]. For the [[character]], the "climb" [[attach_points|attach point]] should be added to the first frame of its "climb" [[animation]]. This [[attach_points|attach point]] will be used for initial positioning on the climbable [[tile]], and then from there the [[character]] will just be moved up and down.
  
-In the example below, the [[attach points]] have been added to the [[character|character's]] left hand and to the left side of the ladder's top rung. Since the ladder is positioned at the back (north) side of the [[tile]] boundaries, its "climb" [[attach_points|attach point]] has been rotated 180 degrees so that [[character|characters]] will properly face the ladder while climbing it.+In the example below, the [[attach points]] have been added to the [[character|character's]] left hand and to the left side of the ladder's top rung. Since the ladder is positioned at the back (north) side of the [[tile]] boundaries, its "climb" [[attach_points|attach point]] has been rotated 180 degrees around the z-axis so that [[character|characters]] will properly face the ladder while climbing it.
  
 {{:climb_attach_points.png?nolink|}} {{:climb_attach_points.png?nolink|}}
Line 46: Line 46:
  
 Since any connected climbable [[tile|tiles]] are integrated into your game's [[navigation_and_interaction|navigation]], the [[player character]] will automatically consider them as paths when using mouse controls to move around the [[map]]. A climbable [[tile]] can also be clicked on to move the [[player character]] directly to it, for example to climb up to a specific ladder segment. Since any connected climbable [[tile|tiles]] are integrated into your game's [[navigation_and_interaction|navigation]], the [[player character]] will automatically consider them as paths when using mouse controls to move around the [[map]]. A climbable [[tile]] can also be clicked on to move the [[player character]] directly to it, for example to climb up to a specific ladder segment.
 +
 +=====Known Issues=====
 +
 +  * When using only a single [[tile]] for a ladder or other climbable structure, the [[character|character's]] climbing [[animation]] will never play. This is due to the fact that the [[character]] "snaps" to the ladder when grabbing onto it and then immediately "snaps" again when dismounting onto the adjacent [[tile]] at the other end.
  
 ~~NOTOC~~ ~~NOTOC~~
climbing.txt · Last modified: 2022/11/20 15:31 by justin