SDL problem.

I am making a game and all goes perfect.
The problem is my checkcollision function works good but only with
(SDL_rect player;

With images it does not work,so could anyone help?
(i think that should do the same.FOR EXAMPLE:(SDL_rect ={image,heroe->w,etc...})

BUT not sure,is anyone who can help?
How are you going to check collisions on images? Images usually don't have x and y coordinates.
Topic archived. No new replies allowed.