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 / darkbasic vs c++ ???

Author
Message
TheNeo
16
Years of Service
User Offline
Joined: 19th Apr 2010
Location:
Posted: 27th Apr 2010 14:17
I've tried learning both. here s some darkbasic...


c++:


Which one should i use???
Van B
Moderator
23
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sunnyvale
Posted: 27th Apr 2010 17:42
What sort of game do you want to make?

That's really the major factor these days. With C++ you are sorta left to your own devices, and can customise the engine how you want it to work, it's consideribly more work, but would result in a faster executable. Along with C++, you also have to learn the ins and outs of the engine, 2D is quite straightforward, 3D engines can be more complex.

There's also GDK which is a C++ middle ground, really it's DBPro wrapped up in a C++ engine, uses similar function calls etc.

With DBPro though you have the fastest, true game development. Some systems let you create FPS games really quickly, but they don't cover all the bases. I mean look at what the DBPro code does, then what your C++ code does - they are worlds apart, and really when it comes to game programming, sometimes it's best to just get stuck in with an idea and see where it takes you. With DBPro, there are far less roadblocks.


Health, Ammo, and bacon and eggs!
Benjamin
23
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 27th Apr 2010 20:25 Edited at: 27th Apr 2010 20:26
With DBPro you already have all the libraries there for you, there's no need to go searching for them. And the syntax is easier to pick up, although the language is somewhat limited compared with a language like C++.

If you're a beginner and want to get into game creation as soon as possible I'd suggest using DBPro for now.
TDK
Retired Moderator
23
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 27th Apr 2010 20:57
Quote: "look at what the DBPro code does, then what your C++ code does"


Precisely!

If your C++ code did exactly what the DB snippet does you would be looking at lots of included files and many hundreds of lines of code (assuming you weren't using Dark GDK that is).

The C++ code written in DB would also be understandable at a glance!

TDK

tiresius
23
Years of Service
User Offline
Joined: 13th Nov 2002
Location: MA USA
Posted: 27th Apr 2010 22:17
The title of this post might as well be:

Ball-peen Hammer or Mallet?

They are just tools and it all depends on what you need to do!!




A 3D marble platformer using Newton physics.
TheNeo
16
Years of Service
User Offline
Joined: 19th Apr 2010
Location:
Posted: 4th May 2010 14:56
i guess i'll just learn Dark GDK then

TheNeo is the one... YEAH!!!!

Login to post a reply

Server time is: 2026-07-27 20:18:02
Your offset time is: 2026-07-27 20:18:02