You are not logged in.

#1 2009-09-29 19:38:59

MrAllan
Member
Registered: 2008-12-08
Posts: 132

Programming a Mario-Kart-like game

Hi,

As a project for this year, I would like to try and program a game, much like Mario-Kart for n64. I have experience in Java and (some) C++ / C / Objective-C.
How would I start to develop such a game? Do I need a game engine (what exactly is that, anyway)? Should I model the map in a program such as Blender, and if so, how can I use it inside my code. I've heard of OpenGL being used for games before, so what about that? Where is the game logic contained in - the game engine, the code, something else? How can I combine them? What programming language should I choose?
Sorry for my big confusion, I hope someone can point me in the right direction.

Thanks in advance,
MrAllan

Last edited by MrAllan (2009-09-29 19:39:26)

Offline

#2 2009-09-29 20:28:54

deej
Member
Registered: 2008-02-08
Posts: 395

Re: Programming a Mario-Kart-like game

Jeez, you're in for a long winter ! Your best bet is to scroogle 'linux game programming' or some such thing,
and be prepared for a _lot_ of studying [ for anything more complex than tic-tac-toe ].

Interesting subject, but it takes time.

Deej

Offline

#3 2009-09-29 21:40:37

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Programming a Mario-Kart-like game

Blender and OpenGL are a good bet. As well, there's a few high quality game engines out there (maybe even Blender's by now?). You can get tons of suggestions/help at blenderartists.org.

Offline

#4 2009-09-29 22:09:49

HashBox
Member
Registered: 2009-01-22
Posts: 271

Re: Programming a Mario-Kart-like game

If you want to jump in and make a mario-kart like game, you might be better off starting with a game engine, in which case OGRE is pretty popular and cross platform. If you want to go the OpenGL route, which is cool if you want to make your own "game engines" in the future, you will want to start with Nehe's tutorials. Personally I prefer the OpenGL route, but it takes a lot of time to get something usable for your game logic depending on how complicated it needs to be. The hardest part for me is actually getting models loaded and displaying, but a game engine like OGRE will take care of this for you so you can focus on just writing the game logic.

Hope that helps anyway, good luck smile

EDIT: To try and answer a couple of your questions, a game engine is basically a library that takes care of rendering a scene, and often sound and physics, stuff like that, so of course you can write that stuff yourself if you wish. I think most large games are written in C++, but unless you need to go for ultra high performance rendering loops or something I'd say you are pretty much free to use whatever language you want, as long as you can get OGRE or OpenGL bindings for it smile

Last edited by HashBox (2009-09-29 22:12:53)

Offline

#5 2009-09-30 05:15:39

Lich
Member
Registered: 2009-09-13
Posts: 437

Re: Programming a Mario-Kart-like game

Take skottish's advice and do it in Blender...The engine is already there, all you need to worry about is modeling and programming the actual content, and as he said you can find loads of help. Trust me, you do not want to code your own game engine, especially for a game where you need collision detection.

http://wiki.blender.org/index.php/Doc:T … ngine/BSoD

Last edited by Lich (2009-09-30 05:16:16)


Archlinux | ratpoison + evilwm | urxvtc | tmux

Offline

#6 2009-09-30 05:38:58

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,410
Website

Re: Programming a Mario-Kart-like game

And take a sneak peek at the supertuxkart code... tongue

Offline

#7 2009-09-30 10:24:42

MrAllan
Member
Registered: 2008-12-08
Posts: 132

Re: Programming a Mario-Kart-like game

Thanks a lot everybody! I downloaded some of the blender demo-games, but I could not see any code used in the whole project. I have to develop the game for my CS class in school, so I wondered how much of the game would be actually programmed.

Offline

Board footer

Powered by FluxBB