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 / Vector collision anyone?

Author
Message
Hayer
19
Years of Service
User Offline
Joined: 4th Nov 2005
Location: Norway
Posted: 18th Nov 2008 22:17 Edited at: 19th Nov 2008 09:35
Hi!

Anyone got some vector collision functions(with overlapping), want to achive "pixel perfect" collision in my game. Its a game very you see the player sideways, like in Soldat (just google it, its a great game).

Any snippets, tutorials, tips?

EDIT:
Forgot to mention that im talking about 2D

jezza
16
Years of Service
User Offline
Joined: 8th Mar 2008
Location: Bham, UK
Posted: 19th Nov 2008 08:24
Try sparky's.
Hayer
19
Years of Service
User Offline
Joined: 4th Nov 2005
Location: Norway
Posted: 19th Nov 2008 09:35
Omg, typo.

Ment 2D, not 3D!

Hayer
19
Years of Service
User Offline
Joined: 4th Nov 2005
Location: Norway
Posted: 21st Nov 2008 17:40
bump

2d vector collision anyone?

Hayer
19
Years of Service
User Offline
Joined: 4th Nov 2005
Location: Norway
Posted: 24th Nov 2008 23:12
... Not much to "try"... Cause the code is taken down "until it is fixed".. Seems pretty to me.

Any other tips / links / snippets / tutorials?

Pillarofire
20
Years of Service
User Offline
Joined: 31st Dec 2003
Location: Good Question, <looks around.>
Posted: 25th Nov 2008 03:08 Edited at: 25th Nov 2008 03:09
SushiBox
16
Years of Service
User Offline
Joined: 20th Sep 2008
Location: Ohio
Posted: 25th Nov 2008 15:20
Bah im confused, you want Vector collision or Per Pixel? Both are different lmao.

For true vector collision, use Box2D. Which is a 2D physics engine. I am using it for my 2D MMORPG.

www.Box2D.org

For perpixel collision I have another realease that works and is up, but does not support a stretched sprite. Just look onto the second or third page.

Hope this helps.

www.Helios-Online.net
Hayer
19
Years of Service
User Offline
Joined: 4th Nov 2005
Location: Norway
Posted: 26th Nov 2008 17:38 Edited at: 26th Nov 2008 17:51
A question about Box2D..

How do I set it to draw debug data? like draw the shapes etc.

Btw; SushiBox could you write a small tutorial about how to get going with Box2D?

Login to post a reply

Server time is: 2024-11-25 07:43:48
Your offset time is: 2024-11-25 07:43:48