U-wars

Screenshot:

http://eee.pri.ee/uwars/uwars.jpg

Applet version:
http://eee.pri.ee/uwars

Zip download:
http://eee.pri.ee/uwars/Uwars.zip

Just extract the file and game will start from .bat file.

Installer download:
http://eee.pri.ee/uwars/uwars-installer.exe

This downloads and extracts files into the same directory where .exe file is and starts the game.

Fire: right mouse button
Move: left mouse button (moves towards cursor)
New game: ctrl + left mouse button

From console you can see max hit and max damage combo information.

For making big hit combos you have to chase robot from south to north (in critical situation it dodges to north).

this seems to be a quite simple game, why dont you provide an Applet version ?

NB: I wont test such game unless it is an Applet (and you will probably got a lot more feedbacks)

It would be vise and I tried, but it needs lot of changes…
Right now:

Seems it needs lot of changes…

hum… seems you try accessing file directly, just use getImage() to load your gif image

ex :

Image i=getImage("01.gif ");

Maybe you would prefer to be in WIP section rather than showcase ?

Nope

Well its not that troublesome to extract one file and doubleclick on bat file, dont you agree? :confused:

[quote]Well its not that troublesome to extract one file and doubleclick on bat file, dont you agree? :confused:
[/quote]
no :-X

+1 :-\

For images in an applet use;

Image image=getImage(getDocumentBase(), "image.gif");

if not an applet use;

Image image=Toolkit.getDefaultToolkit().getImage("image.gif");

Hi!

You could use Java Webstart, couldn’t you?

much less troublesome. :wink:

You can also load images via class loader resources if you want to include everything in a single jar.

BufferedImage image = ImageIO.read(Myclass.class.getResourceAsStream("/image.gif"));

Works everywhere, regardless of deployment method.

Installer download:
http://eee.pri.ee/uwars/uwars-installer.exe

This downloads and extracts files into the same directory where .exe file is and starts the game.

just make it a webstart, nice and simple. I hate to download executables. Cause it clutters up my desktop. And I do realize that webstarts install, but most people are afraid of installing programs :/. quite sad how paranoid/lazy we all are…

Well this is awful how many viruses are moving around nowadays and how many people are there with zero ethics (who programs those things) so it doesnt suprise me. I made an applet version of this game, but I cant get it to work on my webspace, because I can`t change the Java security policy file (game needs to read images from the web server). Maybe I manage to create this webstart, I hope that Eclipse has a built in functionality for creating webstart launchers.
Still if someone has good firewall and antivirus installed and they try this game, then it would be nice if they report in this topic that it is a safe application.
But if any person manages to hack the server and change the .zip file, then it sure will be not safe anymore, so the possibility stays, but I think it is an application with too few users for trying this kinda thing.

And if you want to make big combos, then you have to chase robot from south to north (in critical situation it dodges to north).

If you load your images the way Markus suggested you can place the images inside the jar. This way wont cause it to throw the SecurityException also.

Thanks! I didn`t notice this earlier.

Here is the working applet version:
http://eee.pri.ee/uwars