Message Board


Message Board > C/C++ > SDL help with collision checking + source

June 4, 2013, 03:31
DoctorN
Whiskered
91 posts
Download Source Here: http://www.mediafire.com/downl … 2-2013_1741.zip

Hello, it has been about a year since I have posted here for help. I am doing some c++ sdl stuff and I was wondering if someone can help me with the collision. I have it down, but I want to be able to have multiple rects. If you see on lines 88-101, you will see I have some code set that will decide if the player is falling or not. I am pretty sure the problem is here, because the player will fall, unless both walls are underneath it in the same spot. If this can be fixed, that would be great.

Thanks
____________
#

Message Board > C/C++ > SDL help with collision checking + source

Quick reply


You must log in or register to post.
Copyright © 2005 Booleansoup.com
Questions? Comments? Bug reports? Contact us!