XNA for Silverlight developers: Part 7 - Collision detection

by Mister Goodcat 16. March 2011 17:54

Detection of and reaction to collisions is a very fundamental element in games. As soon as it has moving components of some sort, it is likely that collisions are of concern. For example, the player character may collide with the scenery of the game. The player may also collide with other characters (enemies, monsters etc.), and of course many games work with projectiles that can hit various other parts on the game screen. But what exactly are collisions in a game, and what are good ways to detect and handle them? This article tries to give answers with several samples and explanations. The full source code is included for download.

Read the full article at Silverlight Show.

Tags: , , ,

Programming

Comments (1) -

8/21/2011 3:47:40 PM #

Patrick Payet

Hi Peter,

Great stuff !

Is it possible to get the source code about this post because I cannot register myself on  Silverlight Show web site.

Thanks again to share this with us :)

Patrick Payet France |

Comments are closed

Archive