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.

Dark GDK / [RELEASE] Per Pixel Collision

Author
Message
SushiBox
16
Years of Service
User Offline
Joined: 20th Sep 2008
Location: Ohio
Posted: 25th Oct 2008 22:22 Edited at: 25th Oct 2008 22:22
This is was originally coded by IanM, this is the C++ conversion for DGDK. Please test this and let me know your experience with using it.

Original Code:


DarkGDK Conversion:


Thanks in advanced for testing this. Please let me know how it turns out.

www.Helios-Online.net
Hayer
18
Years of Service
User Offline
Joined: 4th Nov 2005
Location: Norway
Posted: 25th Oct 2008 23:39
Cheer, thanks

Really useful

SushiBox
16
Years of Service
User Offline
Joined: 20th Sep 2008
Location: Ohio
Posted: 26th Oct 2008 00:11
Did you get it to work? Post an example please.

www.Helios-Online.net
Hayer
18
Years of Service
User Offline
Joined: 4th Nov 2005
Location: Norway
Posted: 26th Oct 2008 00:15
to be honest I haven't tried it but my friend sitting next to me told me it worked very well

IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 26th Oct 2008 01:26
@SushiBox,
You should have taken a look at WindowKillers version - he took my code and added 16 bit colour, known sprite to unknown sprite collision, collision with animated sprites, and most recently, caching of sprite image data to speed things up quite a bit.

Here's the link: http://forum.thegamecreators.com/?m=forum_view&t=138147&b=6

SushiBox
16
Years of Service
User Offline
Joined: 20th Sep 2008
Location: Ohio
Posted: 26th Oct 2008 16:47
Ok, my team is doing it at the moment.

www.Helios-Online.net
Zuka
16
Years of Service
User Offline
Joined: 21st Apr 2008
Location: They locked me in the insane asylum.
Posted: 29th Oct 2008 22:18
Makes mine look barbaric and hideous.
G Lyst
16
Years of Service
User Offline
Joined: 24th May 2008
Location:
Posted: 9th Nov 2008 00:49
does anyone know if this function reduce the frame rate significantly?

Accepting all Super Smash Brother Brawl players and Mario Kart Wii players. Bring it on!
SushiBox
16
Years of Service
User Offline
Joined: 20th Sep 2008
Location: Ohio
Posted: 9th Nov 2008 00:56
It does, but if you are willing to wait maybe a day, I am converting the one IanM suggested.

It has image caching and other very good features and doesn't drop the FPS AT ALL.

I will make a new thread for it.

www.Helios-Online.net
G Lyst
16
Years of Service
User Offline
Joined: 24th May 2008
Location:
Posted: 9th Nov 2008 01:34
Yup I can wait. I really want to create a 2D online game with Playbasic because of their vector collision. But the downside is that playbssic is kinda buggy and I wasn't sure what other language to use for 2D gaming with sprite collision. Thanks!

Accepting all Super Smash Brother Brawl players and Mario Kart Wii players. Bring it on!

Login to post a reply

Server time is: 2024-09-30 09:33:52
Your offset time is: 2024-09-30 09:33:52