This is more of a lack of creativity on my part than a valid technical problem, but I'll ask it anyway. I'm an artist, not a programmer.
My platform "engine" runs on one box using the physics movement on a box, with a horizontal line one pixel beneath checking to see if there's a platform below it or not, with a sprite on top. The rest is your typical velocity-adjusting according to position, state, and keyboard entries.
I'd like my character to "stick" to sloped surfaces, and not "detach" and fly around when he hits sudden peaks or dips. (Unless he's using a certain attack- launching yourself off terrain like this is the basis of my game.)
I can't seem to create a system for having this happen. I had some invisible boxes that the platform detector hit, which would then mess with his velocity, but they always send him flying in awkward directions and don't really resemble natural movement. Does anyone have any suggestions?
I'll post the .cap if it proves necessary to figuring this out.