PureBasic and Dark Basic Pro

For everything that's not in any way related to PureBasic. General chat etc...
Heathen
Enthusiast
Enthusiast
Posts: 498
Joined: Tue Sep 27, 2005 6:54 pm
Location: At my pc coding..

Post by Heathen »

dracflamloc wrote:
Hurga wrote:
They charge you to get upgrades... for simple bugfixes! Screw them.
Hm, AFAIK thats not true. The Updates are free (at least for DBP).

For the rest I agree with you. I started with DBP when they released it. After some years of patience I decided to look for an other language to code... and I choose PB.

It seems to me that they focus on special effects but forget the basics like structures and so on... On the other hand I have to confess, that the 3D engine is quite simple and offers nice effects with less efford. But with 2D its cruel slow and with a larger project I loose the overview over the code, and with the bugs, I quit it...
Its true, they fix a few bugs and do releases for free. However, they also fix bugs for a new version and add a couple new features then charge you for it and don't release the bugfixes for the older version.

Not too mention any large code is just ugly as hell with their commands being almost complete sentences like "Make object rotate set angle 55 And do it with a bag of chips"
I can't stand LOOONG languages like that. That's probably why I love purebasic, the syntax is short and to the point.
User avatar
oryaaaaa
Addict
Addict
Posts: 825
Joined: Mon Jan 12, 2004 11:40 pm
Location: Okazaki, JAPAN

Post by oryaaaaa »

I have Darkbasic/DarkbasicPro.

but, SLOW and Heavy. I dont like it.
venom
User
User
Posts: 56
Joined: Fri Jul 25, 2003 1:54 pm
Location: Australia

Post by venom »

dracflamloc wrote:Its true, they fix a few bugs and do releases for free. However, they also fix bugs for a new version and add a couple new features then charge you for it and don't release the bugfixes for the older version.
Since when? I've never had to pay for an update, Realbasic on the other had has something like 6-12 months of free updates before you have to pay again.
Tipperton
Addict
Addict
Posts: 1286
Joined: Thu Jun 19, 2003 7:55 pm

Post by Tipperton »

venom wrote:
dracflamloc wrote:Its true, they fix a few bugs and do releases for free. However, they also fix bugs for a new version and add a couple new features then charge you for it and don't release the bugfixes for the older version.
Since when? I've never had to pay for an update, Realbasic on the other had has something like 6-12 months of free updates before you have to pay again.
I've never had to pay for any DarkBasic updates either...

With RealBasic your initial purchase gets you six months of updates, after that you have to pay for an additional 12 months of updates...
Brice Manuel

Post by Brice Manuel »

I can't stand LOOONG languages like that. That's probably why I love purebasic, the syntax is short and to the point.
PureBasic is a VERY wordy language. Many of the commands are laughable in their length.
Since when? I've never had to pay for an update,
I bought Dark BASIC when DBS (DarkBASIC Software) first released it: 1.0, original CD release. The CD label was printed on an inkjet and was literally packaged and shipped by the Bamber Brothers' (Lee, Malcolm and Chris) Mother.

Eventually DB users were promised features like network support and others would be implemented for free during the regular update cycle which was then once a month. However, after Rick Vanner joined DBS and took charge of the business end, many of the promised updates were not released for free, but instead released for $$ in the enhancement pack. No biggie to me, as with the exception of DLL capabilities, I really wasn't interested in those features anyway. However, this is what most people refer to when they say DB charges for updates.
Kale
PureBasic Expert
PureBasic Expert
Posts: 3000
Joined: Fri Apr 25, 2003 6:03 pm
Location: Lincoln, UK
Contact:

Post by Kale »

Brice Manuel wrote:PureBasic is a VERY wordy language. Many of the commands are laughable in their length.
I disagree strongly. Compared to many others PureBasic has a nice balance between brevity and description.
--Kale

Image
Brice Manuel

Post by Brice Manuel »

Kale wrote:Compared to many others PureBasic has a nice balance between brevity and description.
I was mainly referring to 2d commands like: DisplayTranslucideSprite, DisplayTransparentSprite, TransparentSpriteColor. Three-word commands are definitely overdoing it, but it could also be much, much worse :wink:
Tipperton
Addict
Addict
Posts: 1286
Joined: Thu Jun 19, 2003 7:55 pm

Post by Tipperton »

Brice Manuel wrote:Three-word commands are definitely overdoing it, but it could also be much, much worse :wink:
Yeah it could, like COBOL, that is a very wordy language! :mrgreen:
Derek
Addict
Addict
Posts: 2354
Joined: Wed Apr 07, 2004 12:51 am
Location: England

Post by Derek »

Brice Manuel wrote:Three-word commands are definitely overdoing it, but it could also be much, much worse :wink:
What about four-word's. :lol:

ChangeListIconGadgetDisplay()
Brice Manuel

Post by Brice Manuel »

Derek wrote:[
What about four-word's. :lol:

ChangeListIconGadgetDisplay()
I count five? hehe
Derek
Addict
Addict
Posts: 2354
Joined: Wed Apr 07, 2004 12:51 am
Location: England

Post by Derek »

Of course, my mistake. :oops:

I thought of ListIcon as one word. Must be the heat.
vanbeck
Enthusiast
Enthusiast
Posts: 104
Joined: Mon Jun 11, 2007 1:31 pm
Location: The Swan

Post by vanbeck »

DBPro does have some weird syntax, but really it's designed as a game creation language, and is capable of a lot. Compared to PB's 3D engine it's head and shoulders above that.

I mean, to make a cube, texture it, and have it rotate on screen:

Code: Select all

Sync on : Sync rate 0

Make Object cube 1,1
Load image "tex.png",1
Texture object 1,1

Do
Turn object left 1,1.0
Roll object right 1,1.0
Sync
Loop
Wordier than most languages, but it's really easy to learn and use, the entire point of Basic I think. If anyone wants to post the code to do the same in PB, then we could compare - I'm a noob with PB so I've no idea how you'd do that easily.
They (thegamecreators) don't charge for upgrades, they do charge for things like DarkPhysics, which is an amazing plugin that gives Ageia physics in DBPro, but there's free alternatives to most things, there's a Newton plugin for example. DBClassic did get an expansion pack, but that expansion pack cost about $20 and came with a shedload of good media and a lot of internal stuff for more advanced users. The media alone was worth the money. It's not like they add a little feature then expect you to pay for it, they put in a lot of work and then charge around $20 for a plugin that saves hours of coding.
I've been a user of DBPro for years, made about 8 or 9 games with it, compared to PB and VB for writing games it trounces them completely.
Kale
PureBasic Expert
PureBasic Expert
Posts: 3000
Joined: Fri Apr 25, 2003 6:03 pm
Location: Lincoln, UK
Contact:

Post by Kale »

Brice Manuel wrote:
Kale wrote:Compared to many others PureBasic has a nice balance between brevity and description.
I was mainly referring to 2d commands like: DisplayTranslucideSprite, DisplayTransparentSprite, TransparentSpriteColor. Three-word commands are definitely overdoing it, but it could also be much, much worse :wink:
Really they are nothing compared to other languages.
--Kale

Image
Brice Manuel

Post by Brice Manuel »

Kale wrote:Really they are nothing compared to other languages.
Udohiyu, they could always be worse.
freddix
Enthusiast
Enthusiast
Posts: 100
Joined: Sun Feb 08, 2004 7:22 pm
Location: South France
Contact:

Post by freddix »

Hi all,
You've seem to have all forgotten the original message subject ;)

Some of you have seen my PurePLUGIN FrameWORK @ TheGameCreators shop.... and, you'd like to know what it is ?
It need PureBASIC and it seem to allow the creation of DarkBASIC Professional plugin ... but you'd like to know more... True ?
Ok.
I will explain then ;)

PurePLUGIN is born from the work I made with my first DarkBASIC Profesisonal plugin called 'eXtends'. To create that plugin, I did need to find a way to call the DarkBASIC Professional language commands from within my plugin DLL... At the beginning there was a list of Library open, with call every where I did need it ... It wasn't really fast and, did make my code more complex in PureBASIC DLL ...
So, I decided to find a better, more flexible and expandable solution.
It's where the PurePLUGIN embryo born ...

As you imagined, PurePLUGIN is a DarkBASIC Professional plugin creation Framework using PureBASIC ... But you can say me : "it exist many users that did produce help on how to create DarkBASIC Professional TPC Plugin using C, C++, VB, etc ... and for free !!! so, why do you sell PurePLUGIN ?"
And you're right ! but PurePLUGIN is really more complex and powerful than these free works.
I did found a way to create a wrapping system that allow to use near to 99% of all native DarkBASIC Professional commands directly inside your PureBASIC DLL... and now you can say "wow! it's impressive" ... And I think (without being too pretentious), that it's true.

My system actually handle near to 99% of all native DarkBASIC Professional commands easily. All you have to do is to make a copy of the sample DLL to create your own one. Put your USER/PASS in it (in a crypted form to avoid hack). Create your ProcedureCDLL and use text edit to create your resource (it's the way DarkBASIC Professional handle TPC. I will not explain it entirely here ... too long).

In fact, the main interest is that you can easily migrate your source code from DarkBASIC Professional to PureBASIC to make it become entirely integrated in DarkBASIC Professional.

For example, something like this under DarkBASIC Professional :

Code: Select all

Make Object Cube 1, 64
Texture Object 1, 4
Ghost Object On 1
Wait Key
Will simply become this under PurePLUGIN :

Code: Select all

DBMakeObjectCube( 1, 64 )
DBTextureObject( 1, 4 )
DBGhost ObjectOn( 1 )
DBWaitKey()
It's easy as this !!!

More to this, I can easily (using internal tools I keep secret :p) add support for various plugins already available for DarkBASIC Professional. The potential is ... simply .... enormous.

You want to create a command to return for example the sign of a value ?
DarkBASIC Professional source code :

Code: Select all

Function Sign( Value )
  Retour = Value / Abs( Value )
 EndFunction Retour
PureBASIC / PurePLUGIN Source code in the DLL :

Code: Select all

ProcedureCDLL.l DBSign( Value.l )
  Retour.l = Value / Abs( Value )
  ProcedureReturn Retour
 EndProcedure
And the string table to create the DarkBASIC Professional command:

Code: Select all

1,    "Sign[%LL%DBSign%Value As Integer"
With this, you create the DarkBASIC Professional command :
VALUESIGN = Sign( VALUE )
So easy :p


the benefits are also enormous :p
1. Up to 10% speed increase for some programs
2. Keep your procedure secret when you release your DLL (instead of releasing DarkBASIC Professional source code ;))
3. Make DarkBASIC Professional become more powerful and support more thing easily.

Here is what PurePLUGIN is and why it is a commercial product ;)

For a final note, I did never talked about PurePLUGIN here because I didn't think it can interest you all that seem to think that DarkBASIC Professional is so bad... Simply take a look at some projects at TheGameCreators, you'll see that DarkBASIC Professional can be really interesting, even for big projects.

I really love PureBASIC for its capabilities (and more precisely DLL creation :p) and I really love DarkBASIC Professional for its simplicity and capabilities ;)

I hope, I've enlightened your lanterns ;)

Bye
Fred
Odyssey-Creators
http://www.odyssey-creators.com
Post Reply