Tile collision control with SDL2

Pages: 12
Jul 18, 2019 at 12:05pm
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