Not Solved - Pixel Perfect Collision Detection

amigaxtreme
10-06-2005, 02:37 AM
Hi,

After 3 months of programming i have not solved the problem of Pixel Perfect Collision Detection in VB.net Direct3d Sprite class for creating 2d game.
Can anyone post a sample code, please?

Best Regards

sgt_pinky
10-30-2005, 10:05 PM
I searched 'pixel perfect collision directx' in Google, and the first link in the list was a C# example, which you should easily be able to convert to VB.

My Google results here (http://www.google.com.au/search?q=pixel+perfect+collision+directx&sourceid=mozilla-search&start=0&start=0&ie=utf-8&oe=utf-8&client=firefox-a&rls=org.mozilla:en-US:official)

Frisker
11-25-2005, 02:24 AM
Hi,

After 3 months of programming i have not solved the problem of Pixel Perfect Collision Detection in VB.net Direct3d Sprite class for creating 2d game.
Can anyone post a sample code, please?

Best Regards

I maybe don't really understand your problem.. but just declare a huger boolean matrix with false for no collision and true for collision. Like boMatrix(x,y,z) as boolean, Then use a SetPixels function to set out pixels for a let say a box SetPixels(X,Y,Z,Width,Heigth,Deep).

I'm quite sure that i'm totally wrong here.. but u can always try to explain better :)

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum