Tile map && Tile map collision

Tile maps and their collision are my bane of game programming! There’s nothing out there that seems to help me; when I do get close (or get it complete) the collision is so buggy and odd they’re on the verge of un-playable. They’re really a pain in the arse for me

Comments

Ovno
14. Dec 2013 · 11:05 UTC
I use this
DJLad97
14. Dec 2013 · 11:25 UTC
I’m using xna (which already has rectangles and their sides built in) and that’s what I’m basically doing – checking the the player rect and the tile rect. But for some reason its so buggy, one example of its weirdness is that it will teleport through tiles and slide up/along tiles when colliding with them. Its all really weird and I’m not sure why :(