Sign in to follow this  

collision detection is not functioning

This topic is 2060 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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 have included all the source code of the msvc project.
The 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.

Share this post


Link to post
Share on other sites

This topic is 2060 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this