Technopolies

Okay, so I unzipped the zip and I have a bunch of unexecutable jars and a batch file, none of which run. What’s a Mac guy supposed to do? Why not make it webstartable?

look at the contents of the batch file and then make the equivalent .sh file or something. If you are really ambitious use the JarBundler tool to package it into a proper Application Bundle.

New update is available here:
http://212.98.171.182:3298/Download/techno_20051003.zip

unpack and execute


run.bat 

OR


java -jar client.jar

new features

  • added pistol
  • added shotgun
  • added machinegun
  • added new alien race: Mutons
  • added respawn points for bots
  • TAB key now hilites nearby visible items

Screens:

http://212.98.171.182:3298/Download/techno_20051003.zip

  • added sounds (LWJGL OpenAL)

this game looks really good, really would like to try it, but am not on windows, is it possible you could upload a java web start version?

Sure,
JWS support will be added in the near future.

In the latest version, jar manifest was modified to allow running the game by typing


java -jar client.jar

Note , that you still need to put proper lwjgl 0.96 native libraries into the game’s folder

TODOs for the upcoming version

  • NPCs, dialogs and a first simple quest
  • environmental sounds (forest, wind, river)
  • water
  • some new locations
  • player will be able to reach another neighbour location by approaching the border of a level

some shots:

NPC dialog

http://host.picturewizard.com/2005-5/312079/shot75-npc.jpg

Water

http://host.picturewizard.com/2005-5/312079/shot76-water.jpg

Big continent consisting of 25 connected level maps

http://host.picturewizard.com/2005-5/312079/shot77-continent_map.jpg

0.94 is out , after 2.5 weeks

available at http://212.98.171.182:3298/Download/techno_2005-10-20.zip

Note, that the this archive contains only WIN32 LWJGL binaries

New features:

  • new big map (10 sectors are currently available)
  • player can now travel between adjacent locations
  • added water
  • added experience
  • added money
  • added stackable items (muton heads)
  • added NPCs
  • added first simple quest (collect muton heads)
  • added shop
  • added roads
  • new look for items on the ground
  • added sounds and music (LWJGL + FMOD)
  • added shadows for static objects
  • added some enchancements for grass and dirt decorations
  • some new items / static objects
  • added “tips of the day”
  • added “Rest” command. press R to regain HP if wounded.
  • added “Grab Nearest” command - press G to search nearby bodies / pick nearby items
  • added “Attack Nearest” command - press A to attack nearest visible enemy
  • dead bots are removed from the ground after 1 minute
  • items on the ground are now removed after 2 minutes
  • fixed memory leaks on server
  • fixed calculation of bullet trajectory on server

Some more shots:

http://host.picturewizard.com/2005-5/312079/shot78-water.jpg

http://host.picturewizard.com/2005-5/312079/shot82-grass_and_tree_shado.jpg

http://host.picturewizard.com/2005-5/312079/shot84-sprite_items.jpg

http://host.picturewizard.com/2005-5/312079/shot85-money.jpg

http://host.picturewizard.com/2005-5/312079/shot88-shop.jpg

http://host.picturewizard.com/2005-5/312079/shot89-roads.jpg

Coming along nicely. Very satisfying blasting away at the NPCS.

I had a bit of trouble getting it started on my machine using run.bat. Basically java was finding the lwjgl*.jar files in the folder with technopolies, but finding the .dll files on my machine (because they are in my path). The exception I was getting is this:

Exception in thread “main” java.lang.LinkageError: Version mismatch: jar version is ‘0.96’, native libary version is ‘0.97’
at org.lwjgl.Sys.(Sys.java:67)
at org.lwjgl.openal.AL.(AL.java:86)
at m.c(Unknown Source)
at techno.client.world3d.Client3D.main(Unknown Source)

There are Mutants you’re supposed to kill! - talk to the NPCs instead of shooting them ::slight_smile:

Totally awesome game! - must be a lot of work.
Are you the only person working on it - or is it an army of people doing it ?

It feels a bit sluggish - and I am not sure it’s actualy running in fullscreen mode ?
could you add an fps counter or graph?

Ok, it’ll be corrected in the next version


System.setProperty("java.library.path", ".");

Nope, there are not much people willing to participate at the moment :wink:

Yes, actually the game window was resizing to fit the whole screen.

I’ve added framerate counter and changed the code to

       
        Frame f = new Frame("Test");
        f.setMenuBar(null);
        f.setUndecorated(true);
        f.setFocusable(false);
        f.setIgnoreRepaint(true);
        graphicsDevice.setFullScreenWindow(f);

but did not noticed any increase.

I’ve also noticed that 3d runs smoother when you minimize all windows and switch back to the game.

exact steps:

  • start the game (~30fps )
  • Win+D to minimize all
  • Click on game window to return (~50fps)

I first thought it was a bug with video card drivers, but the problem persists on at least 3 different videocards.
Any clues regarding why that all happens ?

p.s. I am using LWJGLCanvas for 3D.

any particular reason for using the canvas instead of the native display ?

Yes, the idea behind this decision was to be able to mix AWT and LWJGL to create complex 2D UI and HUDs.
I did not have better idea at the moment, and was happy to use AWTGLCanvas from the moment it first appeared.

The way I get around that is to use awt to create buffered images for GUI/HUD’s, etc, then upload those as textures.

available at http://javagamesfactory.org/jnlp/Technopolies/alpha.jnlp (~3mb)

  • added WebStart support
  • added skills (Weapon mastery for all kinds of weapons & misc skills - Scouting, Bodybuilding, etc… - talk to NPC at starting location and ask him to train you)
  • added temporary effects (Traumas & Stone Skin)
  • added heavy armor (Marine Light Armor)
  • added rocket launcher (the whole new category of weapons with splash damage)
  • reworked damage calculation
  • reworked game icons
  • added ammunition for ranged weapons.

some teasers:

http://host.picturewizard.com/2005-5/312079/shot94-laucher.jpg

http://host.picturewizard.com/2005-5/312079/shot96-character.jpg

http://host.picturewizard.com/2005-5/312079/shot97-shop_ammo.jpg

testing, but having some webstart issues with 1.6 - got this one:

Exception in thread “AWT-EventQueue-0” java.lang.IllegalStateException: From thread Thread[AWT-EventQueue-0,6,main]: Thread[AWT-EventQueue-0,6,] already has the context current
at org.lwjgl.opengl.Context.checkAccess(Context.java:169)
at org.lwjgl.opengl.Context.makeCurrent(Context.java:176)
at org.lwjgl.opengl.AWTGLCanvas.paint(AWTGLCanvas.java:251)
at org.lwjgl.opengl.AWTGLCanvas.update(AWTGLCanvas.java:269)

looks very good here on linux but i only get 6fps :’(

oh btw i have a console error too

Loading native libraries...
Loading native libraries from win32.zip ...
Error loading libraries from win32.zip
Loading native libraries from linux.zip ...
Error loading libraries from linux.zip
Loading native libraries from osx.zip ...
Error loading libraries from osx.zip
Connecting.....connected
java.lang.LinkageError: Version mismatch: jar version is '0.98', native libary version is '0.97'
	at org.lwjgl.fmod3.FMOD.initialize(FMOD.java:222)
	at org.lwjgl.fmod3.FMOD.<clinit>(FMOD.java:205)
	at gu.<clinit>(Unknown Source)
	at hI.setZone(Unknown Source)
	at hI.processEvent(Unknown Source)
	at hI.process3D(Unknown Source)
	at gi.b(Unknown Source)
	at gi.d(Unknown Source)
	at techno.client.world3d.Client3D.run(Unknown Source)
	at techno.client.world3d.Client3D.main(Unknown Source)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at com.sun.javaws.Launcher.executeApplication(Launcher.java:1098)
	at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1045)
	at com.sun.javaws.Launcher.continueLaunch(Launcher.java:896)
	at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:468)
	at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:218)
	at com.sun.javaws.Launcher.run(Launcher.java:165)
	at java.lang.Thread.run(Thread.java:595)

I’ve got other reports on problems with WS + 1.6, but i dont have any clue on why is all this happening. Have anyone tried it with 1.5 ?