Jump to content

  • Log In with Google      Sign In   
  • Create Account

collision detection is not functioning


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
No replies to this topic

#1 Yasaswi Srikanth   Members   -  Reputation: 108

Like
0Likes
Like

Posted 25 April 2012 - 05:53 AM

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.

Attached Files



Sponsor:



Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS