kyleconroy/hawkthorne-journey — pull request #282 by campadrenalin (2012-09-15 23:54:50+00:00)
Title: Welcome... to Ladders

@jhoff and I have made a new "climbable" node type. It's mostly for use in the level I'm going to help @didory123 build, the Village Forest Treeline, which will make heavy use of climbing ropes. But this new node has a few spots where it can be useful already in the game, as is showed off in the town exterior.

An important thing to note is that it assumes two things:

* It will not be moving around.
* It does not need to draw itself, since it will be represented by the tiles underneath it.

So if we need a version that moves around, we'll need to do further development on this code at that time, to make sure it supports these things as optional without breaking in a moving or static capacity.

One of the side effects necessary to get this stuff to work was adding a 'gazeidle' animation to every character, in which they look away from the camera motionlessly. There were other internal changes necessary as well, such as adding the variable Player.physics_on for boolean control of whether things like gravity and friction were in effect, as a more robust alternative to setting x and y velocity to 0; also adding Player.idle_state and Player.current_climb. The diffs will provide the most comprehensive and straightforward summary of the changes to existing structure.