STI and collision - collision map seems offset
Posted: Tue Feb 11, 2020 10:32 pm
Hi,
I am trying to get collision working on a tile map using STI and bump. My "player" is colliding in some places, however the shape of the collidable section is all wrong. It is as if the collidable tiles are somehow in the wrong spot / larger than it should be. Anybody who could point me in the right direction for this issue.
If interested I have uploaded my (very short) code to github for you tocheck and run for yourselves: https://github.com/ErwinM/sti-collision
Any help is much appreciated,
Erwin
I am trying to get collision working on a tile map using STI and bump. My "player" is colliding in some places, however the shape of the collidable section is all wrong. It is as if the collidable tiles are somehow in the wrong spot / larger than it should be. Anybody who could point me in the right direction for this issue.
If interested I have uploaded my (very short) code to github for you tocheck and run for yourselves: https://github.com/ErwinM/sti-collision
Any help is much appreciated,
Erwin