# Slope Detection Help

**URL:** <https://forum.kirupa.com/t/slope-detection-help/321587>\
**Category:** flash\
**Created:** [April 25, 2011, 12:40am UTC](https://forum.kirupa.com/t/slope-detection-help/321587 "2011-04-25T00:40:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![somstuff](https://avatars.discourse-cdn.com/v4/letter/s/46a35a/32.png) [@somstuff](https://forum.kirupa.com/u/somstuff)\
**Post date:** [April 25, 2011, 12:40am UTC](https://forum.kirupa.com/t/slope-detection-help/321587/1 "2011-04-25T00:40:22Z")

</div>

I’m working on a platformer, aiming for movement similar to that in Fancy Pants Adventures.

Here’s what I got so far: [http://www.truploader.com/view/953680](http://www.truploader.com/view/953680)

Anyone have any tips for improving the engine (i.e. more like FPA’s: [http://armorgames.com/play/553/the-fancy-pants-adventure-world-2](http://armorgames.com/play/553/the-fancy-pants-adventure-world-2))? Right now, the speed on the slopes isn’t right, it seems kinda inefficient with the while loops every frame, and it’s not really how I want it as the char goes of a ramp/ledge.

I can’t find any decent platformer tutorials - anyone have a good slope detection method, or a .fla I can look at with the two point system?

Thanks.
