[gameprogrammer] Map Collision

Ok, I search the archives and couldn't find what I was looking for.  I
am just getting into game programming and am using SDL and C++.  I've
done a lot of examples and am getting the hang of everything.  So I
thought I would venture away from tutorials and try and make something
of my own.

I know how to do sprite animation and generic collision detection of
sprites.  And I know how to scroll a background.  What I don't know
how to do is detect collision with background data.  For example, I am
making a game sort of like spy hunter but with a NASCAR twist. 
Anyway, I need to adjust the speed of my sprites when they come in
contact with the side of the road.

Any information, links, tips on how to achieve this would be great.

Thanks.

-- 
Gregg Bolinger


---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html


Other related posts: