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.

DS development > Starting out programming

#54220 - G-Pjube - Fri Sep 16, 2005 7:21 pm

Hi there,
I want to learn how to program for the NDS. I don't intend to create full fledged 3D games so. What program language should I learn and what else do I need to know? I'm a complete n00b at the programming part of games so I decided to get me in to it. Any help on this would be appreciated :)
_________________
www.picfront.com [ Upload your pictures ]

#54221 - Celeryface - Fri Sep 16, 2005 7:31 pm

I would recommend learning C and/or C++ before you start programming for the Nintendo DS.

You can also find links to tutorials and the development kit for the Nintendo DS in the sticky thread at the top of the forum. Here's a link to help you out.

#54223 - G-Pjube - Fri Sep 16, 2005 7:53 pm

Thanks man :D

Is there anyone that knows a good online site to learn C? I know there is one about C++ (cplusplus.com).
_________________
www.picfront.com [ Upload your pictures ]

#54226 - strager - Fri Sep 16, 2005 9:30 pm

G-Pjube wrote:
Is there anyone that knows a good online site to learn C? I know there is one about C++ (cplusplus.com).


Just learn C++. C isn't much different syntax-wise, but doesn't support classes, templates, and random declarations.

Hint: Learn about pointers!!!

#54254 - cybereality - Sat Sep 17, 2005 4:40 am

If you want to learn DS programming you should have a solid understanding of programming (C++ or otherwise). If you want to learn C++ go to this site and read everything from the beginning. You will learn everything you need to know about C.

http://www.cplusplus.com/doc/tutorial/index.html

Once you got a handle on the basics, get the devkitPro w/ ndslib and check out the example files that come with it. Read the docs to see the DS specific code. Modify the examples, and play with stuff until you understand what it does. This is the best way to learn.
_________________
// cybereality