Rebounding of any angle

BlitzMax Forums/BlitzMax Programming/Rebounding of any angle


Any ideas how you would tackle slopes like this?


Store the information/pixmap based on colour (or another map where slopes are defined = heightmap) on an array, and then read from this one the 'color-height' and move accordingly to the moving vector (you can rise or go down a slope...)