Collision Detection with SFML 2.0



  • Dear readers,

    for several months I have been trying to get a pixel based collision detection working, but nothing is working out.

    Is there any guide on the internet, tutorial or anything that I can download, that you know off it is working 100%?

    I tried several things but none are working. Either 1000's of errors or just simply not working.

    I am using SFML2.0 with QtSDK 4.7.4.

    I want pixels based collision detection because when i would use a bounding box, it would look weird i.e. if a enemy shoots magic, you can get hit even when it is not a collision for example because the invisible bounding box around the sprite.

    Hopefully someone can tell me how to make such kind of collision detection.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.