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 / dbc compatible with dbp

Author
Message
treedomordeath
22
Years of Service
User Offline
Joined: 13th Nov 2003
Location:
Posted: 16th Nov 2003 06:25
can you port your game designs from darkbasic classic to darkbasic pro with out having to change anything?? is it worth it??

"...the only thing we have to fear is fear itself."-JFK
HZence
23
Years of Service
User Offline
Joined: 9th Mar 2003
Location:
Posted: 16th Nov 2003 06:52
Nope. Well, you might get lucky, but really, it depends. Some DBC commands are considered to be "obsolete" by the compiler in DBP. For the best results...

...start over.

Team EOD :: Programmer/Storyboard Assistant
treedomordeath
22
Years of Service
User Offline
Joined: 13th Nov 2003
Location:
Posted: 17th Nov 2003 04:53
your statement implies that there is a learning curve invoved if i decide to switch to DBP. How much different is the two?? is it that much better to jusify another investment when i aready have DBC.

"...the only thing we have to fear is fear itself."-JFK
Rknight
22
Years of Service
User Offline
Joined: 25th Sep 2003
Location: NJ
Posted: 17th Nov 2003 05:40
I don't think there's really that much of a learning curve. Just look through the help files and you'll find commands that substitute and improve on (usually) what was in DBC.

Honestly, DBC and DBP are two of the easiest programming languages I've ever run into. Which is why I use them. LOL.
Ian T
23
Years of Service
User Offline
Joined: 12th Sep 2002
Location: Around
Posted: 17th Nov 2003 06:18
No learning curve, you just might need to change some of your code. It depends on what command sets you were using-- some haven't changed at all.

--Mouse: Famous (Avatarless) Fighting Furball

A very nice %it, indeed.
Jedive
23
Years of Service
User Offline
Joined: 24th Jan 2003
Location: Spain
Posted: 17th Nov 2003 16:25 Edited at: 17th Nov 2003 16:25
Not only the commands. The way in which DBPro handles local variables is different too. In DBC, a local variable preserve its value between function calls. In DBPro, the local variables are created when the function is called, and freed at exit, which means that its value is lost between function calls.

== Jedive ==
AthlonXP 1600+, 512MB, GeForce4200, Win2K/DX9, Mandrake Linux 9.1
waffle
23
Years of Service
User Offline
Joined: 9th Sep 2002
Location: Western USA
Posted: 18th Nov 2003 08:04
In my projects I haven't had too hard of a time porting them. Just remember that precompiler code from DE will not convert. A solution is to compile from DE and select the "edit source" option (make a backup copy first).

Most code will port well, But expect the object and matrix commands to not work exactly the same way....

internet gaming group
Guyon
23
Years of Service
User Offline
Joined: 6th Jun 2003
Location: United States
Posted: 18th Nov 2003 13:56
I have ported a few easy one with no trouble at all. Though on the other had there are a few that even the authors find the job of conversion difficult. Matrix & 3D are some of the more challenging.

Login to post a reply

Server time is: 2026-07-26 20:16:45
Your offset time is: 2026-07-26 20:16:45