Tile based platform game collision :(

BlitzPlus Forums/BlitzPlus Programming/Tile based platform game collision :(

Zster - Thanks for trying. I showed this to the author of the original code (which uses the code you commented out) and he reckons the reason it doesn't work is because it is reading the tiles in the wrong order. It needs to change the direction of the xloop and yloop variables in order to find the first tile you collide with.

Blitz doesn't allow variable step sizes which is why this doesn't work. I have tried using while loops instead and it still isn't having it. I'm determined to get it to do something though.

"PS your Rocket Racer game looks awesome" - cheers :)