Sonic style platforms

BlitzMax Forums/BlitzMax Beginners Area/Sonic style platforms

Yah the way to go now days is to avoid all that math and simply create a table for every tile the sprite is on. In that tile you can create a 2D array for every pixel in the tile where you can pre-calculate angle, height, etc, based on the x,y position of the sprite on the tile. Very easy, works beatifully. ;)