Hello,
I am a beginner in game programming in sdl.
I am following aaron cox's tutorial's at
http://www.aaroncox.net/tutorials/He has given an sdlGameEngine and using it he has explained how to deal with game basics.
Everything has worked fine but collision detection is not working.
I source code as an msvc project is at
https://www.dropbox.com/s/c54pbgobsywqi9c/Aaron2.zipThe controls to move bigbug are the arrow keys and to move the smallbug are asdw .
The bugs should stop while colliding with screen and rock.
Thanks in advance.