Tile collision control with SDL2

Pages: 12
Ok so my bad, usually it's better to use sprites with the same size, but here, instead of dividing the player pos by its size, divide it by the size of a tile. Should work now.
Topic archived. No new replies allowed.
Pages: 12