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 / Wanna see how to make bullet holes? Look here!

Author
Message
Metrion
19
Years of Service
User Offline
Joined: 8th Jul 2005
Location: In the darkest cave
Posted: 16th Jul 2005 05:13
Making bullet holes is quite simple. All you have to do is download
Sparky's Collision DLL, make/download a simple image that is supposed to represent the collision, and code it! Well, here's an example!



you, of course, have to find out the correct objects and all to use, but that shouldn't be too hard, right? good luck
NanoBrain
20
Years of Service
User Offline
Joined: 20th Jan 2005
Location: Portland, OR
Posted: 17th Jul 2005 08:06
Metrion,

I would suppose that this post would be more popular if were more of a tutorial, instead of code show. You should write out a short tutorial with an explaination, and then repost it to this topic.


+NanoBrain+
blanky
20
Years of Service
User Offline
Joined: 3rd Aug 2004
Location: ./
Posted: 17th Jul 2005 08:18
Eek.

That is NOT a small amount of code!!

I mean, it probably makes sense if you use Sparky's DLL regularly, but .. some of us don't

How's my typing? Phone 0800-GO-TO-HELL
Metrion
19
Years of Service
User Offline
Joined: 8th Jul 2005
Location: In the darkest cave
Posted: 1st Aug 2005 16:50
Eheheheh... thanks for the tips guys. Alright. I'll work on the tutorial.

If practice makes perfect and nobody is perfect, then why practice?
Metrion
19
Years of Service
User Offline
Joined: 8th Jul 2005
Location: In the darkest cave
Posted: 1st Aug 2005 18:04 Edited at: 1st Aug 2005 18:58
Okay, here's the new tutorial WITH SPARKY'S COLLISION DLL AND IT'S DOCUMENTATION AND AN EXAMPLE (OF THE DLL IN USE) WITH IT!!!!

Just open up the zip file and check it out.

EDIT:

*off-topic: For some reason, my stupid avatar just changed... I have no idea as to why... can someone help?

EDIT2:

Eheheh... never mind about my avatar

If practice makes perfect and nobody is perfect, then why practice?

Attachments

Login to view attachments
blanky
20
Years of Service
User Offline
Joined: 3rd Aug 2004
Location: ./
Posted: 1st Aug 2005 20:01 Edited at: 1st Aug 2005 20:04
Bee-Ew-Teafull. Completely wonderful. All of the following are SUGGESTIONS, so don't think I don't like it just because my 'Things That Can Be Improved' section is more verbose than my 'It's Wonderful!' section...

'Tis a nice document to be sure, although I recommend (when you've got time, it's fine for now) you read through the document, make it 'scan' a bit better, and then move the initialization code from the end to (roughly) the beginning.

Unforunately, (for me), the example does not work...
Quote: "
Runtime Error at line 320. The DLL Call failed to execute at line 320
"

(It's lying, it's actually two lines above that, the Collision Setup bit.)

Other than that, the tutorial is sufficient, the code lovely, and 'Commands.txt' really quite useful if you're in a hurry.

I recommend for others to also try this out, and add their comments (the zip file is ~90KB).

[Insert extremely witty comment here] :: Add me to MSN if you like, but don't expect any big favours [unless you like VB6]. ... IDK!!
Metrion
19
Years of Service
User Offline
Joined: 8th Jul 2005
Location: In the darkest cave
Posted: 2nd Aug 2005 00:56
Thanks blanky

Oh, btw you need to add the following after the main loop to get the DLL working. That's why it probably doesn't work. I'll update it in the Word Document. Thanks again



If practice makes perfect and nobody is perfect, then why practice?
Metrion
19
Years of Service
User Offline
Joined: 8th Jul 2005
Location: In the darkest cave
Posted: 2nd Aug 2005 01:00 Edited at: 2nd Aug 2005 01:02
There we go. Updated and ready to rumble! And if anyone has comments or tips, please post them here as blanky said

If practice makes perfect and nobody is perfect, then why practice?

Attachments

Login to view attachments
master programmer
19
Years of Service
User Offline
Joined: 30th May 2005
Location: 3D Space
Posted: 2nd Aug 2005 04:19
DLLs confuse me, I like making in-game things. For one, its easier to understand. 2, its easier to understand. 3, it just makes more sense! And yes, I repeated my self.

__________________________________________
<<<<<Check out my sites>>>>>
www.rhettgames.tk | www.slayerbattletanks.tk
Metrion
19
Years of Service
User Offline
Joined: 8th Jul 2005
Location: In the darkest cave
Posted: 2nd Aug 2005 06:32
@ master programmer:

Do you want help using the DLL? I'd gladly help

If practice makes perfect and nobody is perfect, then why practice?
BearCDPOLD
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: AZ,USA
Posted: 2nd Aug 2005 07:22
You don't make things in DLLs, they give you more commands with which to make and manipulate in game things.


I'm going to eat you!
master programmer
19
Years of Service
User Offline
Joined: 30th May 2005
Location: 3D Space
Posted: 2nd Aug 2005 22:41
well I realize that you don't make them, I just find it easier to make your own in-game things that can do exactly what .dll's can do without the headaches.

Metrion, sure, you could help. I don't know where to start. I should probably go through the turorial on using and installing them that came with my DB Classic language.

------------------------------
Vote for Excelsis on the Puzzle Game Compo

__________________________________________
<<<<<Check out my sites>>>>>
www.rhettgames.tk | www.slayerbattletanks.tk
Metrion
19
Years of Service
User Offline
Joined: 8th Jul 2005
Location: In the darkest cave
Posted: 2nd Aug 2005 22:44 Edited at: 2nd Aug 2005 22:45
@blanky:

Hey, I tried to find out what went wrong on the source file called 'DBCcollisions.dba' in the zip file, but it still worked perfectly for me... are you sure it doesn't work? If anyone else has problems, please post them. I'll try to fix them.

If practice makes perfect and nobody is perfect, then why practice?
Metrion
19
Years of Service
User Offline
Joined: 8th Jul 2005
Location: In the darkest cave
Posted: 2nd Aug 2005 22:57
@ master programmer:

Don't worry; it's really easy! All you have to do is to place the DLL in the same directory as the directory with the file that accesses it. Then, just use the commands EXACTLY as they are shown and it should work.

Remember, you must add the functions in my last code snippet to the END of the code in order for the functions to work.

Installing DLLs? Nope. Don't have to do that. Good luck!

Cheers,

Metrion

If practice makes perfect and nobody is perfect, then why practice?
Uncle Sam
19
Years of Service
User Offline
Joined: 23rd Jul 2005
Location: West Coast, USA
Posted: 3rd Aug 2005 02:55
I can't use this, 'cause I'm not enhanced.

--------------
Uncle Sam
master programmer
19
Years of Service
User Offline
Joined: 30th May 2005
Location: 3D Space
Posted: 3rd Aug 2005 04:40
Metrion,
I didn't mean actually "install" I just meant have to go through codes to get them to work. But, how you put it makes it seem simple enough. I'll try it.

Thanks

__________________________________________
<<<<<Check out my sites>>>>>
www.rhettgames.tk | www.slayerbattletanks.tk
Metrion
19
Years of Service
User Offline
Joined: 8th Jul 2005
Location: In the darkest cave
Posted: 4th Aug 2005 15:18
@Uncle Sam:

Really sorry man... i'll try to come up w/ a tutorial for normal db, maybe, or look out for other collision packages and tell me about them and I'll write a tutorial for you! So don't run away and lose hope just yet

@master programmer:

No problem If you need help, just ask And btw, you do have to do some work to get the thing to work... that's why programming can be sooo difficult

If practice makes perfect and nobody is perfect, then why practice?
master programmer
19
Years of Service
User Offline
Joined: 30th May 2005
Location: 3D Space
Posted: 4th Aug 2005 23:58
All right thanks. When I think of something I need a .dll for I'll be sure to look for the .dll instead of using DB and program 100s of lines of code to get it to work.

Sure, I'll ask if I need help.


__________________________________________
<<<<<Check out my sites>>>>>
www.rhettgames.tk | www.slayerbattletanks.tk
Metrion
19
Years of Service
User Offline
Joined: 8th Jul 2005
Location: In the darkest cave
Posted: 5th Aug 2005 00:01
Cool

@ evryone else:

If anyone has comments or tips, please post them

If practice makes perfect and nobody is perfect, then why practice?

Login to post a reply

Server time is: 2025-05-22 17:14:02
Your offset time is: 2025-05-22 17:14:02