ScratchData LogoScratchData
Back to Kileymeister_test's profile

Almost Perfect Slope Detection

KIKileymeister_test•Created April 27, 2011
Almost Perfect Slope Detection
228
194
11679 views
View on Scratch

Description

To those telling me how to wall/ceiling detect, yes I know how to do that I simply did not include it in this engine. Only very slightly away from perfect. Slight bugs in the Flash Player, it runs fine offline or in Java. My unique version of slope detection. Unlike most other slope detecting engines, this engine knows the exact slope of the hill it's on, and changes it's direction accordingly to match the slope. HOW IT WORKS: Two sensor sprites are on each side of the player's feet. These sprites move to the top of the ground they're on. The player sprite then detects the slope discrepancy between the two to figure out the exact slope of the hill. In a while I may add wall detection and such for a fully perfect engine, but right now it's fine as it is. I'll also soon be putting in step-by-step comments next to the scripts. Feel free to download and use this engine, but PLEASE give credit for using it. Thank you.

Project Details

Project ID1751359
CreatedApril 27, 2011
Last ModifiedMarch 16, 2014
SharedApril 27, 2011
Visibilityvisible
CommentsAllowed

Remix Information

Parent ProjectView Parent
Root ProjectView Root