Hello there! I've recently been trying to work on a platformer of mine, and one of the techniques in it, ideally, is being able to cling to edges. Now, I've made an attempt to work on it myself, looking at various tutorials/examples, but for some reason my attempts seem to fail, even when I mimic the code exactly. I've looked through my code, and, well...I can't spot the problem.
(Guess this is why I don't normally program!)
If someone could take a look-see and help me out, that'd be very much appreciated. In particular, what I'm attempting to make is a method where if they get close enough to the edge, they cling automatically, and are able to jump off via the jump button, or climb up normally.
dl.dropbox.com/u/5095961/PCAttemptv02.capx (Hope this works...)