good 2d engine?

hey everyone, i’m new to game programming though i’ve been doing java for a while. i’m looking for a good 2d game engine that i can have a look at with maybe a few games as examples so that i can figure out how the whole thing works.

if anybody knows any sites for good engines and/or games, that would be much appreciated.
thanks
Nemanja

Check out Kev Glass’ articles at:
http://grexengine.com/sections/externalgames/
He “lives” at this forum so you could get help and feedback as well.

JDJ had some heavy hitters create an article:
http://www.sys-con.com/story/?storyid=46663&DE=1
I assume that they have a “correct” way of doing things + game looks pretty nice.

And meat fighter seems to have all you are looking for:
http://www.meatfighter.com/developers.html
Possibly the most complete game in the list, and probably good code to play with.

I have not really looked into any of these, but I have a feeling that they are all good. If you have a look, maybe you can post back with oppinions?

Hmm… it’s fairly obvious that they’re app programmers rather than game programmers by their instant need to start creating multiple threads all over the place.

thanks a lot for the links, i’ve had a brief look at the meat fighter one and it looks pretty good. it’s also pretty easy to understand i find. anyway, i’ll spend a bit more time figuring it out and maybe i can give you a better review of it. but thanks a lot for the links, they’ve helped out a lot.

You might find this tutorial very helpful. It implements Java2D, JOGL and LWJGL versions of the same game.
http://www.cokeandcode.com/info/tut2d-2.html
http://www.cokeandcode.com/info/tut2d-3.html
http://www.cokeandcode.com/info/tut2d-4.html

I don’t know is mine is good or not :stuck_out_tongue: but here it is :
http://goldenstudios.or.id/products/GTGE/

Games made with it :
http://goldenstudios.or.id/products/games/

And it support for Java2D / JOGL / LWJGL too (with only change a few lines)
Example (webstart) :
http://goldenstudios.or.id/products/games/bin/robosick.jnlp

Or their wise and understand threads can beneficial in any almost any type of program :wink:

i’ve had a look at some of these things, and they don’t seem to be quite the things i need. hte golden studio engine seems like the closest thing to what i need but i would need to optimise the engine to my needs and it doesn’t allow for that. are there no engines that are kinda open source or something so that i can tweak an existing engine to what i need?

Have you seen GAGE?
http://java.dnsalias.com/

There’s also mine:

http://basiliskgl.sf.net

There are so many spritesd engines out there it should be only a matter of searching a bit.
Incidentally I am producing a little open source sprite engine but it’s not released yet. Keep an eye on the “your games here” forum where I’ll post the initial tests maybe this week or the next one.
My engine will be optimized for fast multiple scrollings and numerous sprites but with simpler collision detection .(no pixel-perfect detection but it should be OK for most games).

Zero,
do you have any available examples using Basilisk library?

Not right, I’ve finished the pathfinding and state based ai some weeks ago and I’m not releasing it because I want to provide a sounding documentation, BTW you can go to my site

http://www.dot-brain.com

and download the Blockz sources.

It is a game prototype we made for third party and it uses most of the Basilisk framework (it was built on top of version 1.x, but I ported it for 2.x).

When SF will restore my account for basilisk I will add it to the source repository of the Basilisk Project.