I am trying to get my racing game to recognise when two images have hit eachother when this happens I then want the game to display "Player 1 or 2 wins" and then quit the game. My code is very long so i will not post unless i need to. Im am using visual C++ and have looked at other stuff on the net but cannot seem to find anything that helps.
Hidden_mistakes 0
Light Poster
Recommended Answers
Jump to PostIf each image has a bounding rectangle, then that could be a pretty easy test.
http://www.gamedev.net/reference/articles/article735.aspDepends how accurate you want to be.
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.