my 2d engine first public test (java 5.0 + jogl)

This is the 2d engine I’m working on(see download at the end of post).
I started it as a sprite/scrolling engine but I have a plan and I want to make it slowly evolve to a sort of art-oriented 3d engine (with staticMeshes and no BSP).

For the moment it’s for java 1.5.0 only, sorry but it will take some time before I can eventually adapt it to java 1.4 and frankly I would prefer to wait for the next java version rather than spend my time coding compability stuff. Sorry for mac users :-[
I’ll see if I can work that up but I feel strongly inclined to port everything to C++ because distributing a java game doesn’t seem very user-friendly at the moment.

It’s my first public release of java code, and I am not experienced with jar files (I left most of the rssources out of the jar because I couldn’t make them work from within it).So please don’t be too harsh and help me fix the errors. At the moment I’d be surprised if it worked on everybody’s computer “as is” :slight_smile: (it will try to set fullscreen at 800X600, be prepared)


THE “GAME”

The graphics will look a bit strange, but I have mixed two of my games projects and they have very different settings (a post apoclyptic shooter, and an insect-themed arcade game).But it’s just a demo/public test for the engine, not a real game.

instructions:
You play some kind of segmented insect and you must survive the longest possible. Move your “head” with the mouse, your body will follow, every second the score is incremented depending on the number of segments in your body.
Mutants moths (yes moth) are chasing you, don,'t let them touch your “head” or you wil loose two of your segment, if you are touched without any “body” segment left, you lose the game (the program quits -a bit abruptly- to the desktop).
There are two types of floating bonuses that appear: blue (“spd”) bonus will increase your speed and red(“life”) bonus will give you one additional segment.

-sound: no sound.


FUTURE:
As you can see from the output in the console, I expected to release the engine open source, but I’m not sure anymore because there are already so many sprite engine and I’m not very good at “academic programming”, it will probably be difficult for me to make it develloper-friendly (although I have already created a couple of nice editors).
I want to focus on graphic output (fast sprites ,scrolling and effects) and not make a complete game API, the engine will manage only display and collision notifies.

WARNING:this demo makes a lot of flashing effects in the background, so don’t try it if you have photosensitive epilepsy (I’m serious).

DOWNLOAD (win32+linux)(2.6 MB)

[edit] correct download link

Nice work, running fine on my XP Box.

But the game seems too limited (my opinion…)

For a sprite engine, i would have preferred a demo instead of a game : smaller/bigger sprites and more pre-defined sfx (e.g explosions, smoke, water/rain fx)… may be i’m asking too much for a sprite/scrolling engine :wink:

Java 1.5 : booo i couldn’t test on my iMac… may be a litte drop of retroweaver could help ? (not sure)

Lilian

ha ha thats awesome! The movements for the moth seem realistic, in a way that makes me want to gag ;D I agree with c_lilian though, its hard to make comments about the sprite engine itself with that game, a demo would have been good.

I thought a game would be better to demonstrate how efficient the engine really is.
I’ll prepare a better demo.
At the moment the engine has everything you can expect from sprites made with 3d polygons:
3-axis rotations,translucency,zooming,colorizing,etc,etc…
The same for the scrolling planes.
Now for those who tested it could you indicate what’s your config? thanks.

I’ll make a better demo,stay tuned :slight_smile:

I’m on an AMD64 2800+ with a GeforceFX 5200 and 768 megs of ram.

AMd 2200+ 512meg ram geforce 4 mx runs lovely!