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.

DLL Talk / 2d collision dll? (DBC)

Author
Message
Caleb1994
10
Years of Service
User Offline
Joined: 10th Oct 2008
Location: The Internet you idiot!
Posted: 22nd Dec 2008 07:22
Jw is there a 2d collision dll that uses raycasting? i think raycasting would be great in 2d games vary usefull
skully
12
Years of Service
User Offline
Joined: 21st Jul 2006
Location: y+width*x
Posted: 27th Mar 2009 16:41
Raycasting in 2d? is a joke? the best way for a 2D collision, is use a matrix(X,Y) and reading the cell matrix, is the result is a type as a floor, water, enemy, etc...

example (pseudocode):



this system is very faster... i use this for collision 3D with a type ofheightmaps
Caleb1994
10
Years of Service
User Offline
Joined: 10th Oct 2008
Location: The Internet you idiot!
Posted: 27th Mar 2009 16:52
OffTopic:

Dang this is old havn't seen this post in a long time


OnTopic:

ya when i posted this i was moving from 3d(using sparky with raycasting) into 2d and didn't really know arrays and i was trying to use built in collision. but thanks for the example! haha

New Site! Check it out \/

Login to post a reply

Server time is: 2019-07-19 08:09:12
Your offset time is: 2019-07-19 08:09:12