Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Sprite collision question

Author
Message
Ed222
16
Years of Service
User Offline
Joined: 3rd Nov 2007
Location: Calgary
Posted: 8th Feb 2008 04:44
I have a question about sprites if you make the back ground of the sprite image black not using dbp using paint then use sprite collision in dbp it not suppost to detect the blackbrack ground right? bucause in mine it still does heres the image i'm using i'm using get image command.

Windows Is better than everything

Attachments

Login to view attachments
Ed222
16
Years of Service
User Offline
Joined: 3rd Nov 2007
Location: Calgary
Posted: 8th Feb 2008 18:05 Edited at: 8th Feb 2008 18:48
I still have a question about the sprite I set the back ground as black in the sprite image in dbc the black back ground is never showen or decteded I'm using this code
to get the image my teacher gave me this code a long time ago I always use this code to get sprites never had this problem why now? and I don't get the pixel perfect collision..thing I never went in memblock area this is starting to tick me off...can anyone help please?
[edit]
I found the problem it detects all right so well in fact it detects the transparent black aka alpha channel of this sprite is there any way to make it so the alpha channel isn't detected?

Windows Is better than everything
Ed222
16
Years of Service
User Offline
Joined: 3rd Nov 2007
Location: Calgary
Posted: 8th Feb 2008 19:40
Anyone?

Windows Is better than everything
Ed222
16
Years of Service
User Offline
Joined: 3rd Nov 2007
Location: Calgary
Posted: 8th Feb 2008 20:31 Edited at: 8th Feb 2008 20:39
@ windows killer
I don't get how to use your code heres what i've done
it says you must hit a function declartion in mid program
[edit]
one more question can you only use this for 2 sprites?

Windows Is better than everything
Ed222
16
Years of Service
User Offline
Joined: 3rd Nov 2007
Location: Calgary
Posted: 8th Feb 2008 20:54 Edited at: 8th Feb 2008 22:23
YES!!! it works thanks for the sprite collision command
P.S. are you going to make it into a Dll or plug in? also one more question how come dbp does this?

Windows Is better than everything

Login to post a reply

Server time is: 2024-09-27 10:34:12
Your offset time is: 2024-09-27 10:34:12