.Nettrix: GDI+ and Collision Detection
In this chapter we introduce you to the basic concepts of GDI+, the extended library for native graphic operations on Windows systems, and discuss one of the most important aspects of game development: collision detection algorithms. Although game developers use GDI+ functions to draw images on screen, collision detection algorithms are responsible for making the drawings interact with each other. This allows a program to know when an image is over another one and to take the appropriate action, such as bouncing a ball when it hits a wall.
KeywordsClass Diagram Collision Detection Block Type Graphic Object Code Listing
Unable to display preview. Download preview PDF.
- James Arvo, “A Simple Method for Box-Sphere Intersection Testing,” in Graphics Gems, edited by Andrew S. Glassner ( Academic Press, New York, 1990 )Google Scholar