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.

Beginners > Sonic Style Game

#151710 - Aquarium - Mon Mar 03, 2008 9:16 pm

I would like to make a sonic kind of game..but i?m less that a beginner i think..if anyone could give me some tutorials and programs or tell me how to make a game like that i would apreciate it..i would like to make it to my nintendo ds,with a lot of characters, and if posible kind of like sonic rush (characters in 3d), but if its is to hard it might be like sonic advance..anyone can help me with my project?please..

#151711 - tepples - Mon Mar 03, 2008 9:36 pm

Have you made any video games for the PC yet?
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#151712 - Aquarium - Mon Mar 03, 2008 9:37 pm

only in rpg maker and game maker..i don?t know anything of coding :s

#151718 - bean_xp - Mon Mar 03, 2008 10:02 pm

Ok, it's probably best you take a huge step back then. Try coding something simpler, and for the PC. Entry to DS can be very difficult and complicated at times.

I would suggest you familiarise yourself with C++ on your PC, perhaps start with some simple command line programs so that you understand the basics, then maybe move on to something more complicated such as a pong/space invaders type game. Because Sonic Advance/Rush would be a complicated first step.

The first steps of coding can be very difficult, and it's best you take it slowly. You'll know when you are ready.

#151719 - Dwedit - Mon Mar 03, 2008 10:06 pm

I've never had to start from square 1 (basic logic, if...else, for, variables, functions, expressions, etc), so I don't know how to give advice about those topics.

But once you get into the point where you are making a game, I got two magic words: Object Tables. Design your game code around a big table which contains all the active objects. Each object may be a player, an enemy, a projectile, whatever. Each object has properties including coordinates, what the object is, animation information, and some internal counters that control what it will do, and more.
_________________
"We are merely sprites that dance at the beck and call of our button pressing overlord."

#151720 - Aquarium - Mon Mar 03, 2008 10:17 pm

thanks ;) and do you know any easy tutoral to learn simple coding?to start learnig?

#151722 - Aquarium - Mon Mar 03, 2008 11:10 pm

where can i get a compiler?i?m folowing a tutorial and it sais that after i have write a c code i must compile it..where can i get one?

#151724 - Aquarium - Mon Mar 03, 2008 11:23 pm

i?m folowing this tutorial (http://www.eskimo.com/~scs/cclass/notes/sx1a.html)
and when it says that i must compile it i don?t know what to do..i have already whriten the code in a programe named "miracle c"..but what programe do i need to compile the code to see it work?can anyone help me?maybe i didn?t understant something :s i?m not english..anyone?

#151725 - tepples - Mon Mar 03, 2008 11:53 pm

Aquarium wrote:
where can i get a compiler?

Macintosh computers and computers running GNU/Linux come with a compiler called GCC. For Windows, you can use MinGW, a popular port of GCC to Windows. MinGW packaging can be confusing at times, but you probably want the MinGW installer.

You can start by making programs that take text input and produce text output, working from hello world up to more complicated things such as text adventures. Then you can add the Allegro library so that you can display graphics, play sound, and read joysticks (and the keyboard as if it were a joystick).
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#151736 - Rajveer - Tue Mar 04, 2008 1:28 am

If you're starting out coding, then I'd suggest starting with simple programs for the PC. If you really want to start on the Nintendo DS, I'd say use PALib. I started with PALib to teach myself C programming using this website:

http://www.palib.info/wiki/doku.php?id=day1

I'm pretty sure that you'd be better off learning on a PC environment though, there's so many useful C/C++ tutorials aimed at beginning on a PC. In any case, good luck!

#151766 - Aquarium - Tue Mar 04, 2008 8:24 pm

thanks averybody :) thanks a lot :) i will try hard on this one..i?ll try to take this to the end ;) if so one day i can make a easy game xD thanks :)