Api for 2d game?

Hello everyone, I am completely new to this forum. But after spending few hours around by random reading topics I decided that probably asking directly will bring more results.
Got in plans of programming new 2d game with it’s specific features.
Actually I am partically stunt in which graphics engine to choose. I’ve been thinking about JGame or just AWT.
First of all do they both support unix or only windows?
My requirements to the engine are next:
Transparent windows on top of game field (I didn’t find such feature in swing)
Making gamefield which is probably going to be a table of many small cells and put temporary objects lika players on top of field.
Well i think any engine is able to do so, but which one will take less resource?
Here is the image of how i am hoping to make my game field look like:

Moreover engine to support some kind of sprites (visual effects) for spells/abilities would be awesome.
I am hoping to get high FPS also.
Collision support is a must.
And in which format better to store animated players, objects? I guess bmp is better for fastening but heavy in memory usage…

I am hoping in finding not very difficult API, i do study java for nearly 4 months.

check out slick 2d :slight_smile:

http://slick.cokeandcode.com/

has a fairly decent wiki and does a lot of the 2d stuff that you might be looking for, and people on the forums are also on here and help.

gl.

yeah thx to kevin there is slick 2D

it is based on LWJGL.

it controls a lot of stuff for you. Which can be annoying, but also may be good.

the tutorials are kinda limited though.

so if you need to do stuff. check out the examples.

they are in the source code. also they are in webstarts in the webstart section.

welcom to javagaming, and GL with the game :slight_smile:

Last release is Slick 0.2 dated Wed Oct 31, 2007.
2 years past did scarify me. Is it trusted or i will spend more time on debugging API rather than focusing on game itself?

Last release was last week, its just that the front page hasn’t been updated but if you download the full slick download it should be a recent release. Slick is pretty actively maintained and bugs are killed pretty aggressively, just have a look at the svn for the latest activity. Also the slick forums are pretty active as well as the irc channel at freenode #lwjgl .

new version?

I am gunna have to checkc this out.

btw, why is there not a slick sectoin in this forum?

That’s awesome. Thank you guys. I will try to find myself a place in this great community.
I am hoping this isn’t my last post, will start studying slick now. :slight_smile:

P.S. I am confused:
http://slick.javaunlimited.net/viewforum.php?f=5
Announcements section, last post made was in 2008 year…

Only point releases 0.1/0.2 etc get announcements. However, there’s a new build about once a week available. Check the build number at the top of the slick webpage to see the latest version.

Also, for anyone listening, work from SVN rather than the library, it’s way way easier :slight_smile:

Kev

What is the svn?

JGame works under Linux and Unix too (even on mobile phones :D), it relies on JOGL for the hardware acceleration. It allows to write games very very quickly once you understand how it works (it is one of the main advantage of this API). Some weeks ago, the author planned to release a new version so wait and see…