PDA

View Full Version : Ladder script difficulties!!



4441524259
May 2nd, 2005, 08:20 PM
Help me please! I've been following TonyPa's instruction for tile based games (http://www.tonypa.pri.ee/tbw/). I'm having a very difficult time when it comes to making the ladders work. My character can now climb DOWN the ladder but when it comes to climbing up the ladder my char mc just looks up, doesn't move and there's a wierd glitch where he gets stuck, like Flash is reading the script that tells him he's on the ladder and can't go side to side, and for glitches sake can't go up it either. Would anybody please tell me what I'm doing wrong?

the actionscript is in .txt form since the .fla is too large!

Thanx,

Jacob

4441524259
May 2nd, 2005, 08:24 PM
an instant of "empty" mc is on the stage and has the actionscript

onClipEvent(enterFrame) {
_root.detectKeys();
} on it.

Jacob