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 Professional Discussion / TheComet's Library - A library of useful functions

Author
Message
TheComet
13
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 14th Oct 2011 23:16 Edited at: 13th Nov 2011 23:04
Hey all!




Intro

TheComet's Library is a project of mine (duh) which will provide you with a useful set of functions to create cool effects in your games. It is very easy to use and comes with a full documentation and example for every effect. I will be adding more functions in the future, so always make sure to check out the first post. Download is at the very bottom.

Most of these effects will be used in the Open Source Shooter, which was the original motivator for this project.

Content

Done
Working On

2D Collision Lines
2D Particles
3D Fire
3D Smoke
3D Trails
3D Sparks (95% done)
Download






Command list



Example Video








Command List



Example Video








Command List



Example Video








Command List



Example Video








Command List



Example Video








By downloading the file(s) below, you agree to the GNU license, and must give me credit when using it.

TheComet's Library_14_10_11.7z

TheComet

Attachments

Login to view attachments
Da_Rhyno
10
Years of Service
User Offline
Joined: 25th May 2011
Location:
Posted: 14th Oct 2011 23:19
Looks good!
revenant chaos
Valued Member
14
Years of Service
User Offline
Joined: 21st Mar 2007
Location: Robbinsdale, MN
Posted: 15th Oct 2011 00:06
Wow those 3D trails are sweet!
zenassem
18
Years of Service
User Offline
Joined: 10th Mar 2003
Location: Long Island, NY
Posted: 15th Oct 2011 04:56
Very nice results!

Your signature has been erased by a mod please reduce it to 600 x 120.
WLGfx
13
Years of Service
User Offline
Joined: 1st Nov 2007
Location: NW United Kingdom
Posted: 15th Oct 2011 16:07
Excellent stuff. I like all of them!!!

Mental arithmetic? Me? (That's for computers) I can't subtract a fart from a plate of beans!
Warning! May contain Nuts!
CumQuaT
AGK Master
11
Years of Service
User Offline
Joined: 28th Apr 2010
Location: Tasmania, Australia
Posted: 15th Oct 2011 17:00
Very cool, TheComet!

Malevolence: The Sword of Ahkranox
www.msoa-game.com
www.facebook.com/malevolencegame
TheComet
13
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 22nd Oct 2011 18:00 Edited at: 24th Oct 2011 19:19
Thanks guys for the good feedback

Just a teaser for y'all for the next addition to the library (3D Sparks):



The spark is currently linear, I'm working on adding an arc to it.

TheComet

Attachments

Login to view attachments
Chris Tate
DBPro Master
12
Years of Service
User Offline
Joined: 29th Aug 2008
Location: London, England
Posted: 24th Oct 2011 15:32
Grog Grueslayer
Valued Member
16
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 24th Oct 2011 18:08
Wow, you've done a great job. Right when I saw the 2D collision lines video I was impressed and blown away when I saw the 3D trails video.

Pro Noob 4u
9
Years of Service
User Offline
Joined: 24th Oct 2011
Location:
Posted: 24th Oct 2011 20:25
Wow looks awesome great job i just got into dbpro so hopefully someday i will be able to produce such good results
gwheycs62egydws
11
Years of Service
User Offline
Joined: 17th Aug 2009
Location: The World
Posted: 14th Dec 2011 06:29
@TheComet

Nice work

but my DBP only had one problem
it seams it dose not like to load source dba's from sub folder

it took me a bit to figure that one out

but they all worked very nicely

thanks for creating

to move side ways - is to move forward
Since a Strait line gets thin fast
gwheycs62egydws
11
Years of Service
User Offline
Joined: 17th Aug 2009
Location: The World
Posted: 14th Dec 2011 06:41
@TheComet

tiny update to that thought

it seams the "\"
needs to be before and that has to be manually edited in
and every thing loads and dose it thing fine

even needed to add in
..\..\Essentials

for that part to load in

a tiny bug with DBP 7.61 along with spaces from some others people
code show up as a box but it still compiles like it's still a space
in the line of code

to move side ways - is to move forward
Since a Strait line gets thin fast
TheComet
13
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 14th Dec 2011 09:09
@ Resourceful

Thanks a bunch for trying this out! It's good to know someone made use of it

So you're saying this fixed it?

#include "\..\..\TCL_Essentials.dba"
#include "\source\TCL_3DFire.dba"


TheComet

gwheycs62egydws
11
Years of Service
User Offline
Joined: 17th Aug 2009
Location: The World
Posted: 14th Dec 2011 23:51
@TheComet

yes that will work too

but I manual edited the .dbpo file and told it ware to load the files from
I tried to tell dbp editor to load from a folder but there
was one command it would not understand to what to do with
it keep saying legal command

so I edited the file just like a text file
and every thing ran perfectly

to move side ways - is to move forward
Since a Strait line gets thin fast
MrValentine
AGK Backer
10
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 15th Dec 2011 01:44
O_o

cant think what to say...
Nice work man¡

Naphier
10
Years of Service
User Offline
Joined: 2nd Oct 2010
Location: St Petersburg, Florida
Posted: 15th Dec 2011 01:52

Thank you tremendously for this great work.
These tools will help me a lot.
Great job!!

gwheycs62egydws
11
Years of Service
User Offline
Joined: 17th Aug 2009
Location: The World
Posted: 29th Dec 2011 10:53
@TheComet

when is the example posted on
Posted: 22nd Oct 2011 04:00 then Edited: 24th Oct 2011 05:19
to be posted ?

to move side ways - is to move forward
Since a Strait line gets thin fast
TheComet
13
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 29th Dec 2011 14:41
You mean the 3D sparks?

@ MrValentine, Naphier, Resourceful - Thanks a lot!

TheComet

gwheycs62egydws
11
Years of Service
User Offline
Joined: 17th Aug 2009
Location: The World
Posted: 29th Dec 2011 15:35
@TheComet

your welcome

yes "3D sparks"
and idea when your going to post the example ?

to move side ways - is to move forward
Since a Strait line gets thin fast
TheComet
13
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 29th Dec 2011 16:22
The code for it is complete, I just have to code a small example for it and write the documentation. I hate setting deadlines because I'm horrible at keeping them, but I think I should be able to post it on Friday night.

TheComet

Phaelax
DBPro Master
18
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 29th Dec 2011 20:24
I need those sparks for AppGameKit!

"You're not going crazy. You're going sane in a crazy world!" ~Tick
jlahtinen
11
Years of Service
User Offline
Joined: 26th Oct 2009
Location: Finland
Posted: 3rd Jan 2012 11:54
Eh, how do I use these? No dll's?
gwheycs62egydws
11
Years of Service
User Offline
Joined: 17th Aug 2009
Location: The World
Posted: 28th Jan 2012 09:55
@jlahtinen

sorry i did not see your message sooner

you need to goto and download from

Particle Engine wrapper 1.2.3 for DBPro
http://forum.thegamecreators.com/?m=forum_view&t=191567&b=5

the your good to go

@TheComet

any more updates to this ?

to move side ways - is to move forward
Since a Strait line gets thin fast
mr Handy
13
Years of Service
User Offline
Joined: 7th Sep 2007
Location: out of TGC
Posted: 17th Apr 2012 09:42
@TheComet
Quote: "must give me credit when using it"

what does it mean?
The Weeping Corpse
9
Years of Service
User Offline
Joined: 19th Sep 2011
Location: United Kingdom
Posted: 17th Apr 2012 12:05
Quote: "@TheComet
Quote: "must give me credit when using it"
what does it mean? "


Hope you dont mind if I answer? It means that you must mention somewhere in your game\program that it uses TheComet's Library.

A few good suggestions are:

1) the installer liecense agreement.
2) the opening credits.
3) the closing credits.
4) the manual.
ShaunRW
DBPro Developer
13
Years of Service
User Offline
Joined: 7th Jan 2008
Location: Brisbane, Australia
Posted: 17th Apr 2012 12:28
WOW! looks awesome, I'll have to have a play with these later.

GreenDixy
13
Years of Service
User Offline
Joined: 24th Jul 2008
Location: Toronto
Posted: 17th Apr 2012 13:05
great work i will put you in my credits at the start. my main reason for using it is the 3d trail for my bullet system love the way it looks.

======================================
My software never has bugs. It just develops random features.
mr Handy
13
Years of Service
User Offline
Joined: 7th Sep 2007
Location: out of TGC
Posted: 17th Apr 2012 16:12
@The Weeping Corpse
I thought credits = money or something, like in Dune 2
But this library is under GNU, so I can't use it with a commercial product?
TheComet
13
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 17th Apr 2012 16:49 Edited at: 17th Apr 2012 17:08
Quote: "But this library is under GNU, so I can't use it with a commercial product?"


http://www.gnu.org/philosophy/selling.html.en

You are allowed to sell copies of the modified program commercially, but only under the terms of the GNU GPL. Thus, for instance, you must make the source code available to the users of the program as described in the GPL, and they must be allowed to redistribute and modify it as described in the GPL.

These requirements are the condition for including the GPL-covered code you received in a program of your own.


You only have to give away my source code, modified or not. You can do this by pasting a link to this thread at the same place you credited me (for example in the readme file, you have to mention my name and link this thread). That's all.

I'm glad this library is of use to you. Thank you in advance for using it.

TheComet

gwheycs62egydws
11
Years of Service
User Offline
Joined: 17th Aug 2009
Location: The World
Posted: 17th Apr 2012 17:03
@TheComet

umm when is the "3D Sparks"
you posted about on

22nd Oct 2011 04:00 Edited: 24th Oct 2011 05:19

is this ready to be released ?

are there any more examples you have ?

to move side ways - is to move forward
Since a Strait line gets thin fast
TheComet
13
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 17th Apr 2012 17:07
@ Resourceful - You're right, I completely forgot to upload that... I'll get to it don't you worry.

TheComet

basjak
11
Years of Service
User Offline
Joined: 16th Apr 2010
Location: feel like signing up for mars
Posted: 17th Apr 2012 18:23
@theComet: many thanks I was looking for this thread all the weekend as I remember it from last October. I think it should be added to available TPC plugging(s) in program announcement.
xSpadez
9
Years of Service
User Offline
Joined: 11th Apr 2012
Location: 127.0.0.1
Posted: 17th Apr 2012 23:16
Wow you must have spent a lot of your freetime making this. Its so amazing Thank you for giving it out to the community, can't wait to start using this...

xSpadez - Like a baws
gwheycs62egydws
11
Years of Service
User Offline
Joined: 17th Aug 2009
Location: The World
Posted: 18th Apr 2012 03:10
@TheComet

things come up thats the raveoly of life ;O)

to move side ways - is to move forward
Since a Strait line gets thin fast
mr Handy
13
Years of Service
User Offline
Joined: 7th Sep 2007
Location: out of TGC
Posted: 18th Apr 2012 09:00
@TheComet
Thanks! Your "library" is awesome!

Login to post a reply

Server time is: 2021-08-02 14:31:35
Your offset time is: 2021-08-02 14:31:35