I've been working on collision detection for the past 4 hours without actually getting very far. It's glitchy, slow, long, and way too complex. Is a simpler way to detect a hit than by using the x/y positions AND x/y sizes of BOTH objects????
The "SDL_Sprite_Dude_Who_Jumps_Around_Boxes_Engine"? Yup
Or the "Will_Project_Engine" (which is the same) Yup again.
Thanks Disch, that makes a whole lot more sense that what I was trying
EDIT: Disch, I may sound dumb but how do you get bottom and top???
Although it is geared towards complex collision detection mostly in 3D it also has everything you need to know for 2D collision as well. Math heavy but probably the best book you can get on the subject. Just a suggestion to further your knowledge in the subject if you feel so inclined.
Disch, words can't quite say how much I thank you! With a little addition, your code worked beautifully (the addition was due to the fact the player faces different directions) :) :)