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 / Class support?

Author
Message
PtrN
17
Years of Service
User Offline
Joined: 23rd Sep 2007
Location:
Posted: 9th Jul 2011 06:44
I apologies if this is the wrong area to post in, seems like the most fitting.

I am wondering what the best way to program in DB is to get support for classes. I messed around with DBC when I was younger (was my first language), but haven't touched any form of DB in years. Since then, I have started college and majored in Computer Science.

As such, I am very comfortable with languages that support classes. I am extremely comfortable with C# and python, and to a lesser extent C/C++.

It doesn't seem to me, at least in the free version, that DB supports classes. I see the differed GDK's in the other section of the forum, but I don't know how stable they are, let alone if they support the addons offered (Such as DarkAI).

What is the best way to approach this so that I can use syntax features of my favorite languages?
Hodgey
15
Years of Service
User Offline
Joined: 10th Oct 2009
Location: Australia
Posted: 9th Jul 2011 13:15 Edited at: 9th Jul 2011 13:24
DBPro has a feature call types which are similar to classes except more limited. They only support basic data types integers, floats etc. DBPro doesn't support arrays within types and I don't think you can have type specific functions. So basically classes without arrays and functions. But DBPro does support types within types.

Type in DBPro:


Class in c++


If you really wanted to use classes then I suggest DarkGDK and it is supposed to support Dark ai, physics (roll your mouse over the DGDK option in the drop down menu).

Hope that makes sense and helps

Login to post a reply

Server time is: 2024-11-22 18:50:43
Your offset time is: 2024-11-22 18:50:43