Search:
Forum
General C++ Programming
Tile collision control with SDL2
Page 2
Tile collision control with SDL2
Pages:
1
2
Jul 18, 2019 at 12:05pm UTC
Zaap
(101)
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:
1
2
C++
Information
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs