Engine suggestion.

Anything else
User avatar
rudel_ic
official Wolfire heckler
Posts: 2193
Joined: Sun Aug 28, 2005 11:19 pm
Location: Hamburg City
Contact:

Post by rudel_ic » Sat Dec 16, 2006 7:24 pm

Jeff is right, usually the engine part in 2D games is pretty much most of the game.
Take Tetris as an example. You'll most likely end up intertwining movement algorithms and game logic for obvious reasons. The pure engine part (concerning graphics at least) boils down to about 10-20 lines of OpenGL statements then (initializing stuff, showing background pic, painting cubes in display lists, painting letters..).

I think the best advice is: Just get started! And make a simple game. I don't know, something on the level of Pong.
You'll make mistakes anyway and a big part of the learning is of course done in the process. Don't think too much about weird stuff like shaders, GJK or Carmack's Reverse, that'll just confuse you ;)

If you know how to initialize an OpenGL window via C++ and how to paint texture-mapped cubes that move when you press keys, you can already make an awesome game.

Edit: Oh, if you like Java, you could check out http://lwjgl.org/ - OpenGL available from Java via native interfaces. Even with OpenAL for the sound and support for custom controllers. It's a good starting point imho. And there's also NeHe tutorial code available for it.

User avatar
NickD
Charlotte Brontë
Posts: 892
Joined: Fri Sep 15, 2006 10:33 pm
Location: Berkeley, California
Contact:

Post by NickD » Sat Dec 16, 2006 11:57 pm

um... I was looking at the nehe tutorials, and none of the code works for OSX :? . I thought it was OSX specific.

User avatar
rudel_ic
official Wolfire heckler
Posts: 2193
Joined: Sun Aug 28, 2005 11:19 pm
Location: Hamburg City
Contact:

Post by rudel_ic » Sun Dec 17, 2006 4:56 am

So what? Go ask in their forums. That's what they are for :)

Jeff
Evil Twin
Posts: 2892
Joined: Wed Nov 19, 2003 10:48 pm
Location: San Francisco, CA
Contact:

Post by Jeff » Sun Dec 17, 2006 5:12 am

I recommend REALbasic.

User avatar
NickD
Charlotte Brontë
Posts: 892
Joined: Fri Sep 15, 2006 10:33 pm
Location: Berkeley, California
Contact:

Post by NickD » Wed Dec 20, 2006 9:16 pm

What about dimension 3? You can make some cool stuff with it! www.klinksoftware.com

GreenAlge
Posts: 77
Joined: Mon Feb 21, 2005 8:18 pm
Location: Washington State, USA
Contact:

Post by GreenAlge » Thu Dec 21, 2006 2:07 am

Jeff wrote:For a 2d game, you seriously should roll your own.
Well, that depends. If, for example, you wanted to make a side scroller with physics... well, there's already an engine to save you alot of the work.

_Nik

Jeff
Evil Twin
Posts: 2892
Joined: Wed Nov 19, 2003 10:48 pm
Location: San Francisco, CA
Contact:

Post by Jeff » Thu Dec 21, 2006 2:52 am

GreenAlge wrote:
Jeff wrote:For a 2d game, you seriously should roll your own.
Well, that depends. If, for example, you wanted to make a side scroller with physics... well, there's already an engine to save you alot of the work.

_Nik
Still disagree. That's not really how it works. You will save yourself a ton of time in the long run if you make your own. Sure, using an engine will let you have a playable game in a few minutes while rolling your own engine may take a couple of days, but when you are working with your own engine, the possibilities are endless, while a prebuilt engine is going to be extremely limited.

Post Reply