Tagged Questions
5
votes
2answers
432 views
Collision Detection/Response in Vector-based levels
I have a 2D side scroller whose levels are stored as vectors (that is, a bunch of lines) which looks like this:
How would I detect that I'm colliding with one of these lines, and react accordingly ...