gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Coding > Languages?

#48285 - Shoxz - Mon Jul 18, 2005 7:59 pm

Hello,
This is a kinda noob like question, but anyway, What programng languages can you use to program GBA/DS games, and, Is their any way Visual Basic can be used, since thats basicly all i know.

Thanks,
Shoxz
_________________
-Shoxz,
Webdesigner
PHP, HTML, and VB programmer

Also known as Unreal, and Kez.

#48286 - NoMis - Mon Jul 18, 2005 8:06 pm

C/C++ is the mainly used language for GBA programming but there is also an implementation of the Basic language wich is called dragonBasic.

http://www.gbadev.org/author.php?author=Jeff%20Massung

I have no idea if dragonBasic is still supported by the developers and the HP seems to be down.

NoMis
_________________
www.gamedev.at - The austrian gamedev site
hde.gamedev.at - The Handheld Dev Env plugins for Eclipse

#48289 - Shoxz - Mon Jul 18, 2005 8:33 pm

Thanks.. Ill try to get hold of this dragonbasic thing..
_________________
-Shoxz,
Webdesigner
PHP, HTML, and VB programmer

Also known as Unreal, and Kez.

#48304 - Lord Graga - Mon Jul 18, 2005 10:56 pm

I don't know if DB has any DS support. Also, you would want to learn a more used language. I suggest C.

#48672 - Shoxz - Thu Jul 21, 2005 6:12 pm

Ok what do you guys thinks better.. C or C++?
Adv. and Dis. of each please, and which is easyer?
_________________
-Shoxz,
Webdesigner
PHP, HTML, and VB programmer

Also known as Unreal, and Kez.

#48674 - Miked0801 - Thu Jul 21, 2005 6:42 pm

Hit that search button and read this same debate - about 20 times...

#48675 - poslundc - Thu Jul 21, 2005 6:43 pm

Shoxz wrote:
Ok what do you guys thinks better.. C or C++?
Adv. and Dis. of each please, and which is easyer?


This question is just begging for trouble.

...

If your primary concern is with ease of learning, I would recommend starting in C rather than C++. While C++ offers you everything that C does - and sometimes with a more sensible syntax - C++ tutorials are more likely to get you bogged down in learning the object-oriented paradigm, which is a distraction from the stuff you need to learn and may overcomplicate things for you, and they are also more likely to gloss over the nitty-gritty pointer stuff as a disincentive to use it, which is the stuff you absolutely need to know for hardware programming.

Also, many features of the OOP paradigm, while useful, need to be much more judiciously applied when programming on the GBA, so I think it's better to leave that stuff until you have a better grasp of the hardware's limitations and an understanding of how to bend the language you're using to work with it.

So, C first, C++ later, if and when you decide you want to use it.

Dan.

Edit: or just do as Mike advises.

#48780 - Shoxz - Fri Jul 22, 2005 11:11 am

Ill just go with C then ;)
Thanks.
_________________
-Shoxz,
Webdesigner
PHP, HTML, and VB programmer

Also known as Unreal, and Kez.

#48808 - tepples - Fri Jul 22, 2005 6:18 pm

"Assets" are things such as tile sets, sprite cels, maps, palettes, sounds, and the like. A lot of programmers make their own asset editors and converters using Visual Basic or the related language Visual Fred.NET.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#48818 - NoMis - Fri Jul 22, 2005 7:40 pm

Visual Fred ... lol

I think Eclipse is also a great thing to make your own asset tools.

NoMis
_________________
www.gamedev.at - The austrian gamedev site
hde.gamedev.at - The Handheld Dev Env plugins for Eclipse

#48837 - jma - Sat Jul 23, 2005 12:04 am

NoMis wrote:
I have no idea if dragonBasic is still supported by the developers and the HP seems to be down.


No, Dragon BASIC is no longer available or supported. Sorry, guys.

Jeff M.

Edit: I should add my own opinion, too... learn C ;-)
_________________
massung@gmail.com
http://www.retrobyte.org

#50648 - Shoxz - Thu Aug 11, 2005 10:25 am

what about C#? is that any diffrent than C?
_________________
-Shoxz,
Webdesigner
PHP, HTML, and VB programmer

Also known as Unreal, and Kez.

#50659 - Quirky - Thu Aug 11, 2005 2:05 pm

C# for the GBA is a no go, it's Microsoft's Java-like language. It compiles to machine independant byte code, which requires a 'virtual machine' to run - a lot like running code on an emulator really. Except nobody has written a GBA C# virtual machine as far as I know.

As for which is 'best'... Learn C, then learn C++ if it interests you - C++ is a big language and has a lot of gotchas but is capable of generating some elegant solutions to coding problems. But I prefer C and assembler for the GBA, I see enough C++ in my proper job and most games can get away with procedural code.