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.

DarkBASIC Discussion / where can i find sparkys dll

Author
Message
That1Smart Guy
15
Years of Service
User Offline
Joined: 26th Feb 2009
Location: Somewhere...... yep
Posted: 7th Apr 2009 02:26
i keep heairng about sparkys collision DLL, so i have 3 questions:

how do you use a dll in DB?

wat is sparkys DLL?

where can i find his DLL?

There are only 10 kinds of people in the world, those who understand binary and those who dont
Latch
17
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 7th Apr 2009 02:44
You use a dll by calling the functions inside of it after loading it into memory



Sparky's dll is a dll that has functions to cast rays and to detect if the rays pass through a 3d object(s). It uses ray casting for collision detection. Very good for line of sight and bullets. Effective but not great for body to body collision.

Sparky's DLL

Enjoy your day.
That1Smart Guy
15
Years of Service
User Offline
Joined: 26th Feb 2009
Location: Somewhere...... yep
Posted: 30th Jul 2009 00:05
i started using Sparkys dll today, but what I dont get is why this isnt working:



keep in mind this is the first time ive ever used dlls

TheComet
16
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 30th Jul 2009 00:51
What I did was use the functions, not call the dll directly. Attached is "sparky.dba". If you want to use the collision dll, put this at the start of your code:



Then call the functions you need, but not the dll directly:



There is a list of the functions in the zip download of sparky's.

TheComet


Make the path of your enemies easier with Waypoint Pro!

Attachments

Login to view attachments
That1Smart Guy
15
Years of Service
User Offline
Joined: 26th Feb 2009
Location: Somewhere...... yep
Posted: 30th Jul 2009 02:19
ok, that makes sense, i was just using the DLL commands cuz, well its a DLL, thanks comet!

That1Smart Guy
15
Years of Service
User Offline
Joined: 26th Feb 2009
Location: Somewhere...... yep
Posted: 30th Jul 2009 05:01 Edited at: 30th Jul 2009 05:28
[edited out]
problem solved, thanks again comet

TheComet
16
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 30th Jul 2009 11:14
Happy to help!

TheComet


Make the path of your enemies easier with Waypoint Pro!

Login to post a reply

Server time is: 2024-05-20 06:14:39
Your offset time is: 2024-05-20 06:14:39