Quote:
Originally Posted by Cubical
I just looked at the code and I'm not that good with math so would there be a simpler way to do it using images or is it pretty much the same concept?
|
With images you may be able to do so by manipulating the blocking properties of npc's and onwall. Place an NPC with the slope as the image. Since onwall only considers the actual image blocking and transparency as nonblocking, you can use to pretty much "snap" the player to the closest position of the visual slope. It's hackish, though, as that's what I originally attempted to do.