XNA 2D Basic Collision Detection with Rotation (Sprite2Sprite)
(If you are in a hurry and do not want to no how it's done but just do it, dowload the project and extract the CollisionDetection2D.cs file to include in your project that contains the collision detection methods) In my previous post ,we have seen several collision detection techniques that can be used in 2D games in XNA. In that post, we have left out the changes that affect our code when textures can also be rotated . In this post, I intend to fill this gap by picking up from exactly where we stopped and adding
Διαβάστε περισσότερα »