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.

Newcomers DBPro Corner / Darkbasic Pro - Compatibilty and Limitations

Author
Message
Jimbob693
13
Years of Service
User Offline
Joined: 8th Jun 2011
Location:
Posted: 8th Jun 2011 17:02
Hi,

I have been programming in Dark Basic Classic for a long while now, and I feel that I would like to try my hand at Darkbasic Pro, but need to ask a few questions first.

1) can you use darkbasic classic code in darkbasic pro, or would that not work. Could you write the code like you do in Darkbasic in DarkbasicPro and it work or is it a total new way of writing code.

2) I started making a game once that had a lot of text, and I got to the point where when I compiled the programme and it informed me that i had reached the string limit, which was annoying as I had only made half of the game. Is the same string limit applied in Darkbasic Pro or can it handle more.

3) Quite a few times I have started creating projects and they have grown into bigger projects and I have found that once programmes in Darkbasic reach about 5000 lines of code things start going wrong while compiling and random crashes e.t.c.

I really would like to buy Darkbasic Pro if it is actually more powerful in the way I would like. I like to make games such as football management games with lots of stats e.t.c and graphical adventure games, and war strategy games, recently I have been trying to create more simple arcade style games as I am always scared of starting a project, spending loads of time on it and then been limited to what I can do. I actually enjoy programming in Darkbasic very much, and I have read that people love DarkbasicPro even more. So please could you tell me if DarkbasicPro would be a good move for me, and answer my other questions.

Thanks
Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 8th Jun 2011 17:44
1. Yes, Classic and Pro are virtually the same with Pro having a lot more commands. There are subtle differences in the way things are done but most Classic/Pro conversions are easy.

2. There shouldn't be any string limits (there is a single string limit number of characters but that's in Classic too).

3. Most of us have made programs with 15,000+ lines in Pro and it works just fine.

Yes, Pro is more powerful than Classic but don't take my (or anybodies) word for it... download the free version and test it out yourself then buy it.

http://www.thegamecreators.com/?m=view_product&id=2000&page=free

BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 8th Jun 2011 19:11
Quote: "download the free version and test it out yourself then buy it"


You don't need to buy it at all, the free and paid versions are identical, other than advertising in the Editor window. You can still publish anything you make.

I went from Classic to Pro many years ago, and never looked back. Even if you didn't use the additional functionality, it would still run faster.

The only quirks I found were:

CASE statements. In Classic, you can use variables but not in DBP.
MouseMoveX/Y - after reading the value, they reset to 0 until the next SYNC. You work around this by copying the value to a variable if you need it more than once per cycle.

Jimbob693
13
Years of Service
User Offline
Joined: 8th Jun 2011
Location:
Posted: 9th Jun 2011 10:17
Thanks a lot for your help, I will try Darkbasic Pro demo when I get time in the next dew days and tinker about with it. I have been looking at all the features of Darkbasic Pro and I am really impressed with what I see, but I will definitely try first. It loks like there are plenty of new features for me to learn.
Mulderman
20
Years of Service
User Offline
Joined: 8th Jan 2004
Location: C:\\
Posted: 9th Jun 2011 12:05 Edited at: 9th Jun 2011 12:07
DB Pro compiling could be faster.
I mostly use CodeSurge IDE and it's too slow.

Maybe DB new latest included default IDE is faster, i don't know.

With Blitz3D you can compile and see results instantly (you maybe even don't have time to blink an eye, it's already compiled), but with DB Pro it takes a while until you see the results. At least with CodeSurge.

I think even classic DB is compiling faster than PRO.
=PRoF=
21
Years of Service
User Offline
Joined: 17th Mar 2003
Location: Milton Keynes, UK
Posted: 9th Jun 2011 17:07
DB Classic isn't compiled. It's interpreted.

revenant chaos
Valued Member
17
Years of Service
User Offline
Joined: 21st Mar 2007
Location: Robbinsdale, MN
Posted: 10th Jun 2011 05:49
Quote: "DB Classic isn't compiled. It's interpreted."
Yeah, If I remember correctly the "Compiling" process consists of simply attaching a copy of your source code to the interpreter.
Quel
15
Years of Service
User Offline
Joined: 13th Mar 2009
Location:
Posted: 21st Jun 2011 11:06
Funny because it was called "compile"...

-In.Dev.X: A unique heavy story based shoot'em ~35%
-CoreFleet: An underground commander unit based RTS ~15%
-TailsVSEggman: An Sonic themed RTS under development for idea presentation to Sega ~15%
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 21st Jun 2011 12:05
You still have to compile the code into a file structure that can be interpreted. It doesn't read the source you have written at run time, it's a form of Byte-code.

Login to post a reply

Server time is: 2024-11-27 21:38:52
Your offset time is: 2024-11-27 21:38:52