Iron legion tank action game

Thanks! I already use shared copy for everything I can. But not display lists, will investigate. :slight_smile:

OS? Video card? Pretty please :slight_smile:

Intel x3100
Windows 7 (x64)

And yes it runs games just fine. I can run COD4, Left 4 dead, etc.

Have your tried any other lwjgl games?
I use png files for all my textures, but I don’t believe it is the image format?

Seems its a lwjgl problem. Nothing I’ve tested has ran though none has given any errors , they just don’t do anything.

according to the exception the pixel format you set your canvas to is not supported. the pixel format is a combination of how many bits you use for the color buffer, the depth buffer, the stencil buffer and the auxiliary buffer. intel cards are notorious in that respect. you should enumerte available formats at startup.

hth

Hi Markus,

This doesn’t run for me either unfortunately, but I’ve got a SiS video card which is apparently pretty bad. The screen shots look cool though. Congrats for making a 3d game!

Tomorrow I will be home from work, and I hope to code something to detect display modes… and a million other things. Maybe this will help it to run on your machine.

About making a 3D game, it was not that hard with the right tutorials and support… :slight_smile:

You don’t need to write anything to do that. Xith already provides a way :). Just have a look at this code:


        OpenGLLayer ogl = OpenGLLayer.LWJGL;
        DisplayModeSelector dms = DisplayModeSelector.getImplementation( ogl );
        for ( DisplayMode dm : dms.getAvailableModes() )
        {
            System.out.println( dm );
        }

and


        OpenGLLayer ogl = OpenGLLayer.LWJGL;
        DisplayModeSelector dms = DisplayModeSelector.getImplementation( ogl );
        DisplayMode mode = dms.getBestMode( 1024, 768 );
        Canvas3D canvas = Canvas3DFactory.createFullscreen( ogl, mode );

Marvin

thanks!

  • I have compiled everything on java 5. Mac users should be able to run it, but I saw textures mission when I tried it myself.

  • Now, the display mode is automatically selected as the closest to 800x600 32bpp.

  • Also, I added a properties system. A file: /.ironlegion/ironlegion.properties is created when the game is started. You can edit this manually. An options menu is on the todo-list.

  • I also added memory parameeters to the jvm. The game requires more than the default, especially after a while (due to a leek). But with these parameters, I am able to play for more than half an hour.

  • An early version of the customisation is in place. When the game starts, you can customize the armour, structure and weapon of the tank. This affects it’s speed, it’s size, it’s turret turn speed and so on. You can choose whether to play a huge almost invulnerable monster that slowly rolls over the battlefield, or a small fast and ruthless tankette. As you collect credit and earn upgrade levels, you can choose how to further enhance the tank in different ways.

Hey, it looks promising looking at the screenshot and event though I haven’t played it yet.

Cool. I hope, you made use of the org.xith3d.utility.config package :).

Marvin

Darn still get the same error…

I have uploaded a new version. Some new features:

  • Menu system (I have reworked what is loaded when and the whole statemachine, menu - game - death - respawn etc)
  • Better configuration screen when starting new game
  • Better upgrade screen when leveling up
  • Easy mode, the enemies are scaled to 200% making it much easier to aim.
  • Faster mouse sensitivity, but this also depends on the choices you make.

On the drawing board:

  • Save and load
  • Options screen (for now, just edit the configuration file under <user.home>/.ironlegion
  • Proper sensor handling and radar screen, tracking of selected enemies
  • Multiple weapons for the player (also more diverse weapon types such as missiles, lasers and flamers)
  • Better physics for moving the tank
  • Missions (spread over the map, play as many times as you wish)

Great. It’s a lot of fun. But after I killed the first enemy tank, no new enemy was spawned.

Marvin

PS: You should swap the “accept” and “cancel” buttons. Positive buttons shlud always be right of negative ones.

I’m glad you liked it, and Im just getting started…

No more tanks, ever?
It works by spawning new tanks when you are a certain radius from the spawnpoint. If you clear out an area it should stay clear, until you move away and come back.

Will swap places on accept and cancel, thanks!

You are using gnome, aren’t you? :wink: Most OSes/GUIs use the opposite order ([OK] [Cancel] instead of [Cancel] [OK])

Dammit! I said something different, than I meant :(. Positive buttons (like ok) are LEFT OF negative ones (like cancel). Well, just the opposite of what was in the tank game’s dialog ;).

I’m not using Gnome, but KDE. KDE uses the standard, that most UI-environments use for western countries. I have no idea, why gnome (actually GTK) does this the wrong way. Pretty annoying actually :).

Marvin

Looks quite strange (and runs very slow) on an EEEPC (Linux, Intel onboard graphics):

http://www.jpct.net/pics/stuff/iron_legion.png

Do other openGL apps work good?
In that case, I would say my texture maps are too big, or something… :frowning:
I’m planning to have a version with all textures cut in half (actually quarters).