test it out and let me know what you think

I realise the background doesnt' stretch properly

http://rancidmoose.unitedti.org/members/software/Helicopter.jar
it is resizable

controls:

f2/f3 toggle fullscreen on/off
spacebar = pause
click = fire weapons
the farther your mouse is from the helicopter the faster you go.
up and down are also mouse controlled.


if the game runs too fast/too slow you can extract the .jar, and search through the sourcefile (HelicopterGame.java) for 4500, and replace it with a shorter or longer delay as required, and recompile.
What version of java are you using? When I tried running it from a console I got the following:


Code:
[localhost:~/Desktop] jonah% java -jar Helicopter.jar
Exception in thread "main" java.lang.UnsupportedClassVersionError: HelicopterGame (Unsupported major.minor version 50.0)
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)


Unless I am not mistaken, you have a higher version of Java than 1.4.2. (which is what I have).
oh, thats correct, I have 1.6.0.

this code will only compile back to 1.5 though....let me upload that version though


[edit]

and uploaded.


I can't use 1.4 for this game because it makes heavy use of generics.
I think I don't like the lag I get when I repeatedly click really fast to shoot rapidly.
The framerate seems fantastically low for the background - can you do something about that? Otherwise, it's great.
It worked once for me then died Sad
KermMartian wrote:
The framerate seems fantastically low for the background - can you do something about that? Otherwise, it's great.


you mean make it smoother scrolling?
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement