SpitUp arcade test

Hi.

I’m working in a simple Java arcade game for Windows, Linux and MacOS X.

I need some test and reviews about the game working in different systems (speed, playability, etc…)

The download link of the game is:

http://deplastic.com/spitup.html

thanks for the help and cheers.

Jose Luis

  1. never package a ZIP, always use JAR. No-one can run ZIP files, everyone can run JAR files

  2. make a webstart version.

  3. make a 320 pixel wide screenshot and submit it to the address on this page:

http://grexengine.com/sections/externalgames/

EDIT: I didn’t try the game because there was no jar and no webstart version; ZIP is too much hassle

What he said.
Won’t try it until its Webstarted.

Cas :slight_smile:

General information about Java Webstart:
http://wiki.java.net/bin/view/Games/WebStart

How to use java webstart on your own projects:
http://wiki.java.net/bin/view/Games/HowToUseWebstart

Happy coding :slight_smile:

P.S. as you are (?) not using any “native” libraries (i.e. gagetimer, jogl, lwjlg etc etc) you don’t need to include the

bit in your jnlp file (this is a good idea, as then your users won’t be told about security risks involved in running applications that request all permissions on there machines - your app. aren’t allowed to touch their machine => all is great :slight_smile:

Hi again.

The entire game is packaged in a zip file, with de .jar, exe, .sh, and .command, launchers for differents System.

I only need a minimal review about the game working in a Linux and MacOS X System.

I upload lather the game to your link.

thanks again.

Webstart! Webstart! Webstart!
</chant mode>

;D

Now this is interesting, do you not need security permissions for network access etc? Out of the sandbox type stuff?

Kev

Thaks for all.

Sorry for my bad english.

This is the updated download version:

http://deplastic.com/spitup.html

And here is the WebStart version:

http://www.deplastic.com/webstart/SpitUp.jnlp

But i have a problem with JWS.

The keyboard and mouse events dont work in Java Web Start.

??

Ah, strange - you’re right, they don’t work :confused: Better fix it!

Cas :slight_smile:

Excellent.

I noticed there was a security exception when webstart tried to start your game - you should check that out (it might be denying your kb and mouse stuff).

I also noticed lots of exceptions being thrown when I tried to click or press mouse buttons.

Unfortunately, when I close your app, it kills the webstart console so I lost the errors. But you’ve at least got some error messages you can check out :).


java.security.AccessControlException: access denied (java.util.PropertyPermission user.dir read)
java.lang.NullPointerException
      at Game.mouseDown(SpitUp.java:257)
      at java.awt.Component.handleEvent(Unknown Source)
      at java.awt.Component.postEvent(Unknown Source)
      at java.awt.Component.dispatchEventImpl(Unknown Source)
      at java.awt.Component.dispatchEvent(Unknown Source)
      at java.awt.EventQueue.dispatchEvent(Unknown Source)
      at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.run(Unknown Source)

Get a whole lot of the NPE’s. I think you should grant more permissions so that this property can be read.

Erik

Very special and outdated case: Spitup.exe doesn’t start on NT4. Leaves a process that has to be killed.

Astonishing enough: starting the jar works after it complains about a missing dll entry (outdated DX version I assume).

Ok, I’ll agree you don’t have to care too much about NT4…

Te .exe works ok in XP System.

The web start FIXED version is available again.

http://www.deplastic.com/webstart/SpitUp.jnlp

Thanks very much.

¿Any test in MacOS X or Linux Systems?

Works fine on linux now, except…every 5 seconds it pauses for about 5 seconds at a time, completely frozen. When it’s working, it’s very smooth and fast, so my best guess is this is a problem with playing sounds (linux’s sound system is utter crud, some java games do this some of the time with sounds :frowning: I don’t know what exactly they do wrong, but it only happens to particular games, so I guess it’s something consistent in the coding?)

PS I do hear a few sounds, e.g. when I start the game, and jump. Normally if it’s a sound porlbme in linux, you hear nothing whilst it hangs for a few seconds.

Hi.

I think the pauses in game, is due to the Java garbage collector. ??

The audio is in .wav format, and now is included in the .jar file.

Thanks for the help.

:-* :-*

[quote]Hi.
I think the pauses in game, is due to the Java garbage collector. ??
[/quote]
No, there is almost never such a problem; that is a myth these days.

That seems to have fixed the hanging - works fine now on linux.

Couple of suggestions:

  • don’t make the guy bounce in at the start, or else make it so he’s invulnerable whilst buoncing. Several times I died because he bounced onto something and killed himself.
  • the combination of sliding all the time and the way the jump works makes it feel like you’re not actually in control, which is really annoying. Doesn’t seem like you really have much choice over where your character goes.
  • You could start the level with a single intro screen which said something like “shoot the mosquitos, and collect them when they drop- but don’t hit the bee!” at the moment it takes a while to work out what you are supposed to catch and waht to avoid :frowning:

yes thanks.

The game is very basic.
My only intention at the moment is test the Java performance in various systems.

I think to modify the player mobility and some bugs, and put bonus in the mosquitoes, more lives, temporaly helmet for the whispes, more force on jump, etc… and of course the option for save the scores.

Thanks for your sugestions, lather I upload the game to gexengine page.

thanks again

Works on Mac OS X 10.3.2 JRE 1.4.2_03.

But it is very hard to control.

Thanks.

¿the imput keys and the speed of the game works ok?

great notice. :slight_smile:

[quote]Hi.

I think the pauses in game, is due to the Java garbage collector. ??
[/quote]
Are you using java.applet.AudioClip by any chance?

Erik