Intel graphics card and graphics chips really suck.
Thx, i will try on my desktop PC.
I will use the standard extensions to load third parties libraries:
<extension name="lwjgl" href="http://lwjgl.org/jnlp/extension.php" />
JInput is included in LWJGL, isn't it?
gouessej said:
I will use the standard extensions to load third parties libraries:
<extension name="lwjgl" href="http://lwjgl.org/jnlp/extension.php" />
JInput is included in LWJGL, isn't it?
I'm a little confused of what you're trying to do. Are you helping me creating a webstart for Imperii? Or just trying to launch it on your computer with jnlp?
I will tonight be able to test the game on some more computers.
Haladria said:
gouessej said:
I will use the standard extensions to load third parties libraries:
<extension name="lwjgl" href="http://lwjgl.org/jnlp/extension.php" />
JInput is included in LWJGL, isn't it?
I'm a little confused of what you're trying to do. Are you helping me creating a webstart for Imperii? Or just trying to launch it on your computer with jnlp?
I will tonight be able to test the game on some more computers.
The both :D
Here is what I wrote, the bold pieces need to be filled:
<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0+" codebase="http://" href="imperii.jnlp">
<information>
<title>Imperii</title>
<vendor></vendor>
<homepage href=""/>
<description>Imperii</description>
<description kind="short">Imperii</description>
<offline-allowed/>
</information>
<security>
<all-permissions />
</security>
<update check="always" policy="always"/>
<property name="sun.java2d.noddraw" value="true"/>
<resources>
<j2se version="1.5+" href="http://java.sun.com/products/autodl/j2se" initial-heap-size="32m" max-heap-size="256m"/>
<extension name="lwjgl" href="http://lwjgl.org/jnlp/extension.php" />
<jar href="ImperiiData.jar" download="eager" main="true"/>
<jar href="jme.jar" download="eager" main="false"/>
<jar href="jme-audio.jar" download="eager" main="false"/>
<jar href="jme-awt.jar" download="eager" main="false"/>
<jar href="jme-font.jar" download="eager" main="false"/>
<jar href="jme-gamestates.jar" download="eager" main="false"/>
<jar href="jme-model.jar" download="eager" main="false"/>
<jar href="jme-scene.jar" download="eager" main="false"/>
<jar href="jme-xml.jar" download="eager" main="false"/>
</resources>
<application-desc main-class="" />
<component-desc/>
</jnlp>
I hope you don't try to load files that are not in the JAR, otherwise you have to add them in the JNLP file too.
Tried. It's amazing!
boci said:
Tried. It's amazing!
So you got it working :)
This really looks like a lot of fun to play and very well developed/detailed.
Looking forward for a multi/platform version.
duenez said:
This really looks like a lot of fun to play and very well developed/detailed.
Looking forward for a multi/platform version.
Well I think it should be possible to launch it from the console in linux and mac. But since I have neither of those systems I cannot test it. I don't think I have done anything stupid that is not platform independent.
This is an updated zip (holds both exe for windows and jar for linux, including all necessary natives):
http://www.gamerendering.com/imperii/Imperii.zip
Haladria said:
Well I think it should be possible to launch it from the console in linux and mac. But since I have neither of those systems I cannot test it. I don't think I have done anything stupid that is not platform independent.
Very nice game!
Tested and working perfectly under Linux / Ubuntu 8.10 32bit
If anything, it would be nice if you could include a .sh file in your zip
e.g.
#!/bin/sh
cd lib
java -Djava.library.path="./" -jar Imperii.jar
I'm glad you liked it and thanks for testing.
I will add a that .sh file to the zip.
One little change in the game too, it will now log to a file instead of the consol.
I got a crash while building a gun…
below the last few lines from the output
May 1, 2009 2:37:51 PM com.jme.scene.Node attachChild
INFO: Child (Monster) attached to this node (UniformGridNode(11,5))
May 1, 2009 2:37:51 PM com.jme.scene.Node detachChildAt
INFO: Child removed.
May 1, 2009 2:37:51 PM com.jme.scene.Node attachChild
INFO: Child (Monster) attached to this node (UniformGridNode(13,7))
May 1, 2009 2:37:51 PM com.jme.scene.Node detachChildAt
INFO: Child removed.
May 1, 2009 2:37:51 PM com.jme.scene.Node attachChild
INFO: Child (Monster) attached to this node (UniformGridNode(9,10))
May 1, 2009 2:37:51 PM com.jme.scene.Node detachChildAt
INFO: Child removed.
May 1, 2009 2:37:51 PM com.jme.scene.Node <init>
INFO: Node created.
May 1, 2009 2:37:51 PM com.jme.scene.Node <init>
INFO: Node created.
May 1, 2009 2:37:51 PM com.jme.scene.Node attachChild
INFO: Child (temp0) attached to this node (SpawnSharedNode)
May 1, 2009 2:37:51 PM com.jme.scene.Node attachChild
INFO: Child (SpawnSharedNode) attached to this node (Monster)
May 1, 2009 2:37:51 PM com.jme.scene.Geometry lockMeshes
WARNING: This Geometry already has locked meshes.(Use unlockMeshes to clear)
May 1, 2009 2:37:51 PM com.jme.scene.Node <init>
INFO: Node created.
May 1, 2009 2:37:51 PM com.jme.scene.Node <init>
INFO: Node created.
May 1, 2009 2:37:51 PM com.jme.scene.Node attachChild
INFO: Child (temp0) attached to this node (SpawnSharedNode)
May 1, 2009 2:37:51 PM com.jme.scene.Node attachChild
INFO: Child (SpawnSharedNode) attached to this node (Monster)
May 1, 2009 2:37:51 PM com.jme.scene.Geometry lockMeshes
WARNING: This Geometry already has locked meshes.(Use unlockMeshes to clear)
May 1, 2009 2:37:51 PM com.jme.scene.Node detachChildAt
INFO: Child removed.
May 1, 2009 2:37:51 PM com.jme.scene.Node attachChild
INFO: Child (MuzzleFlash) attached to this node (DynamicNode)
May 1, 2009 2:37:51 PM com.jmex.game.DefaultUncaughtExceptionHandler uncaughtException
SEVERE: Main game loop broken by uncaught exception
java.lang.NullPointerException
at monsters.MonsterManager.lineDamage(MonsterManager.java:529)
at ammo.RailBeamAmmo.shoot(RailBeamAmmo.java:59)
at turret.Turret.shoot(Turret.java:489)
at turret.Turret.update(Turret.java:351)
at gamelogic.GameLogic.update(GameLogic.java:161)
at gamestates.IngameState.stateUpdate(IngameState.java:713)
at gamestates.RenderPassGameState.update(RenderPassGameState.java:134)
at com.jmex.game.state.GameStateNode.update(GameStateNode.java:71)
at com.jmex.game.StandardGame.update(StandardGame.java:381)
at com.jmex.game.StandardGame.run(StandardGame.java:250)
at java.lang.Thread.run(Thread.java:636)
Menu configuration saved
AL lib: alSource.c:2361: alcDestroyContext(): deleting 64 Source(s)
AL lib: alBuffer.c:1081: exit(): deleting 12 Buffer(s)
Grif said:
I got a crash while building a gun...
below the last few lines from the output
May 1, 2009 2:37:51 PM com.jme.scene.Node attachChild
INFO: Child (Monster) attached to this node (UniformGridNode(11,5))
May 1, 2009 2:37:51 PM com.jme.scene.Node detachChildAt
INFO: Child removed.
May 1, 2009 2:37:51 PM com.jme.scene.Node attachChild
INFO: Child (Monster) attached to this node (UniformGridNode(13,7))
May 1, 2009 2:37:51 PM com.jme.scene.Node detachChildAt
INFO: Child removed.
May 1, 2009 2:37:51 PM com.jme.scene.Node attachChild
INFO: Child (Monster) attached to this node (UniformGridNode(9,10))
May 1, 2009 2:37:51 PM com.jme.scene.Node detachChildAt
INFO: Child removed.
May 1, 2009 2:37:51 PM com.jme.scene.Node <init>
INFO: Node created.
May 1, 2009 2:37:51 PM com.jme.scene.Node <init>
INFO: Node created.
May 1, 2009 2:37:51 PM com.jme.scene.Node attachChild
INFO: Child (temp0) attached to this node (SpawnSharedNode)
May 1, 2009 2:37:51 PM com.jme.scene.Node attachChild
INFO: Child (SpawnSharedNode) attached to this node (Monster)
May 1, 2009 2:37:51 PM com.jme.scene.Geometry lockMeshes
WARNING: This Geometry already has locked meshes.(Use unlockMeshes to clear)
May 1, 2009 2:37:51 PM com.jme.scene.Node <init>
INFO: Node created.
May 1, 2009 2:37:51 PM com.jme.scene.Node <init>
INFO: Node created.
May 1, 2009 2:37:51 PM com.jme.scene.Node attachChild
INFO: Child (temp0) attached to this node (SpawnSharedNode)
May 1, 2009 2:37:51 PM com.jme.scene.Node attachChild
INFO: Child (SpawnSharedNode) attached to this node (Monster)
May 1, 2009 2:37:51 PM com.jme.scene.Geometry lockMeshes
WARNING: This Geometry already has locked meshes.(Use unlockMeshes to clear)
May 1, 2009 2:37:51 PM com.jme.scene.Node detachChildAt
INFO: Child removed.
May 1, 2009 2:37:51 PM com.jme.scene.Node attachChild
INFO: Child (MuzzleFlash) attached to this node (DynamicNode)
May 1, 2009 2:37:51 PM com.jmex.game.DefaultUncaughtExceptionHandler uncaughtException
SEVERE: Main game loop broken by uncaught exception
java.lang.NullPointerException
at monsters.MonsterManager.lineDamage(MonsterManager.java:529)
at ammo.RailBeamAmmo.shoot(RailBeamAmmo.java:59)
at turret.Turret.shoot(Turret.java:489)
at turret.Turret.update(Turret.java:351)
at gamelogic.GameLogic.update(GameLogic.java:161)
at gamestates.IngameState.stateUpdate(IngameState.java:713)
at gamestates.RenderPassGameState.update(RenderPassGameState.java:134)
at com.jmex.game.state.GameStateNode.update(GameStateNode.java:71)
at com.jmex.game.StandardGame.update(StandardGame.java:381)
at com.jmex.game.StandardGame.run(StandardGame.java:250)
at java.lang.Thread.run(Thread.java:636)
Menu configuration saved
AL lib: alSource.c:2361: alcDestroyContext(): deleting 64 Source(s)
AL lib: alBuffer.c:1081: exit(): deleting 12 Buffer(s)
Thanks for the log, I will try to locate the error. I have never seen it before :(
i can't get this to work on mac os x 64 bit intel, java version 10.5…
get the following
Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file
it seems that the files were compiled against a java 6 runtime....
i really can't wait to have a look at this...
i'm addicted to tower defense games :D
ncomp said:
i can't get this to work on mac os x 64 bit intel, java version 10.5...
get the following
Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file
it seems that the files were compiled against a java 6 runtime....
i really can't wait to have a look at this...
i'm addicted to tower defense games :D
Under Mac OS X 10.5, the software update 1 contains the JDK 1.6 and it is compatible with Intel, therefore you have no excuse...
the default java version on all mac os x 10.5 is java version 5 including 64 bit intel…
you must change the java home directory alias in the library directory manually to get the java 6 runtime…
also the docs for the game say that this is java 5 compatible…
it's just feedback…
not a criticism…
ncomp said:
the default java version on all mac os x 10.5 is java version 5 including 64 bit intel...
you must change the java home directory alias in the library directory manually to get the java 6 runtime...
also the docs for the game say that this is java 5 compatible....
it's just feedback...
not a criticism...
It should be java 5 compatible (for mac users), I just compiled it with the wrong JRE. There is nothing in the code that is Java 6 only. I will put up an fixed version as soon as I have time for all mac users.
One question, does java 5 compiled code utilize new optimizations in Java 6? I think so but I'm not sure...
I have now updated the zip with a jar compiled for JVM 1.5 and tested it so it should work. I also think I solved the issue with multisampling, it will now only do multisampling if possible.
Didn't think about file encoding, so the .sh file you included ended up in Dos format, making it pretty useless for linux.
Fix is easy enough, but just to sure everything will be fine next time, I've included a new .sh file (had to rename it to .txt to be able to attach it)
Incidentally, did you change some of the aliens? Some (green) ones seem to be split when being hit and the new and smaller ones walk through walls. Is this as intended? Never noticed it before.