Java-Gaming.org Java4K winners: [ by our judges | by the community ]         
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members



News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  Print  
  SpitUp arcade test  (Read 2267 times)
0 Members and 2 Guests are viewing this topic.
Offline jrnovoa

JGO n00b
*

Posts: 12


Java games rock!


« on: 2004-03-01 01:50:17 »

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
Offline blahblahblahh

JGO Kernel
*****

Posts: 4575


http://t-machine.org


« Reply #1 on: 2004-03-01 02:13:45 »

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

malloc will be first against the wall when the revolution comes...
Offline princec
« League of Dukes »

JGO Kernel
*****

Posts: 8089
Medals: 96


Eh? Who? What? ... Me?


« Reply #2 on: 2004-03-01 02:21:18 »

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

Cas Smiley

Games published by our own members! Go get 'em!
Offline AndersDahlberg

Full Member
**

Posts: 196



« Reply #3 on: 2004-03-01 02:26:46 »

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 Smiley

P.S. as you are (?) not using any "native" libraries (i.e. gagetimer, jogl, lwjlg etc etc) you don't need to include the  <security>
   <all-permissions/>
   </security> 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 Smiley
Offline jrnovoa

JGO n00b
*

Posts: 12


Java games rock!


« Reply #4 on: 2004-03-01 02:30:12 »

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.
Offline AndersDahlberg

Full Member
**

Posts: 196



« Reply #5 on: 2004-03-01 02:48:38 »


Webstart! Webstart! Webstart!
</chant mode>

Grin
Offline kevglass
« League of Dukes »

JGO Kernel
*****

Posts: 5214
Medals: 49


Mentally unstable, best avoided.


« Reply #6 on: 2004-03-01 03:01:37 »

Quote

P.S. as you are (?) not using any "native" libraries (i.e. gagetimer, jogl, lwjlg etc etc) you don't need to include the  <security>
   <all-permissions/>
   </security> 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  


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

Kev

Offline jrnovoa

JGO n00b
*

Posts: 12


Java games rock!


« Reply #7 on: 2004-03-01 03:33:14 »

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.

??
Offline princec
« League of Dukes »

JGO Kernel
*****

Posts: 8089
Medals: 96


Eh? Who? What? ... Me?


« Reply #8 on: 2004-03-01 04:14:34 »

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

Cas Smiley

Offline blahblahblahh

JGO Kernel
*****

Posts: 4575


http://t-machine.org


« Reply #9 on: 2004-03-01 04:33:33 »

Quote

And here is the WebStart version:


Excellent.
Quote

But i have a problem with JWS.

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


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 Smiley.

malloc will be first against the wall when the revolution comes...
Games published by our own members! Go get 'em!
Offline erikd

JGO Kernel
*****

Posts: 2561
Medals: 7


Maximumisness


« Reply #10 on: 2004-03-01 04:49:19 »

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
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

Offline Herkules

JGO Kernel
*****

Posts: 1522
Medals: 1


Friendly fire isn't friendly!


« Reply #11 on: 2004-03-01 05:10:46 »

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....

HARDCODE    --     DRTS/FlyingGuns/JPilot/JXInput  --    skype me: joerg.plewe
Offline jrnovoa

JGO n00b
*

Posts: 12


Java games rock!


« Reply #12 on: 2004-03-01 05:57:15 »

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?
Offline blahblahblahh

JGO Kernel
*****

Posts: 4575


http://t-machine.org


« Reply #13 on: 2004-03-01 06:10:36 »

Quote

¿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 Sad 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.

malloc will be first against the wall when the revolution comes...
Offline jrnovoa

JGO n00b
*

Posts: 12


Java games rock!


« Reply #14 on: 2004-03-01 06:29:35 »

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.

Kiss Kiss

Offline blahblahblahh

JGO Kernel
*****

Posts: 4575


http://t-machine.org


« Reply #15 on: 2004-03-01 06:58:38 »

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


No, there is almost never such a problem; that is a myth these days.

Quote

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


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 Sad

malloc will be first against the wall when the revolution comes...
Offline jrnovoa

JGO n00b
*

Posts: 12


Java games rock!


« Reply #16 on: 2004-03-01 07:20:37 »

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
Offline swpalmer

JGO Kernel
*****

Posts: 3438
Medals: 4


Where's the Kaboom?


« Reply #17 on: 2004-03-01 07:22:03 »

Works on Mac OS X 10.3.2  JRE 1.4.2_03.

But it is very hard to control.

Offline jrnovoa

JGO n00b
*

Posts: 12


Java games rock!


« Reply #18 on: 2004-03-01 07:32:37 »


Thanks.

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

great notice.  Smiley
Offline erikd

JGO Kernel
*****

Posts: 2561
Medals: 7


Maximumisness


« Reply #19 on: 2004-03-01 07:35:34 »

Quote
Hi.

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


Are you using java.applet.AudioClip by any chance?

Erik

Offline swpalmer

JGO Kernel
*****

Posts: 3438
Medals: 4


Where's the Kaboom?


« Reply #20 on: 2004-03-01 07:58:05 »

Quote

Thanks.

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

great notice.  Smiley

If anything the game runs too fast (Odd for Mac).

It is hard to control because the player bounces around so fast.. that and the general chaos of all those bugs (the buzzing, biting kind - not in code Smiley)

The keys are working.

Offline princec
« League of Dukes »

JGO Kernel
*****

Posts: 8089
Medals: 96


Eh? Who? What? ... Me?


« Reply #21 on: 2004-03-01 08:13:43 »

Got it working. Waaay too fast for me! Runs real smooth though.

Inspiron 8200, Nvidia, XP, 2GHz, JRE1.5beta.

Cas Smiley

Offline jrnovoa

JGO n00b
*

Posts: 12


Java games rock!


« Reply #22 on: 2004-03-01 08:38:51 »

Quote


Are you using java.applet.AudioClip by any chance?

Erik



Hi.
Yes I use:
URL audiob = Game.class.getResource("blop");
blop = Applet.newAudioClip(audiob);

cheers
Offline blahblahblahh

JGO Kernel
*****

Posts: 4575


http://t-machine.org


« Reply #23 on: 2004-03-01 08:44:46 »

Quote

URL audiob = Game.class.getResource("blop");


Aha....

PS If you can send me a screenshot etc today I'll be doing an update of the page in about 4 hours time, otherwise it could be a week before I get around to doing another update.

PPS Will I get to 1k posts before Cas reaches 2k? And...is this something either of us should be proud of? Grin

malloc will be first against the wall when the revolution comes...
Offline jrnovoa

JGO n00b
*

Posts: 12


Java games rock!


« Reply #24 on: 2004-03-01 08:49:36 »

Quote
Got it working. Waaay too fast for me! Runs real smooth though.

Inspiron 8200, Nvidia, XP, 2GHz, JRE1.5beta.

Cas Smiley


Sorry  Smiley Smiley

I low the Thread speed in the next release. And the speed of the mosquitoes

cheers
Offline AndersDahlberg

Full Member
**

Posts: 196



« Reply #25 on: 2004-03-01 09:34:29 »

Quote


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

Kev


Nah, I only tried to keep it simple - guess I should have said it was the same case as with applets (i.e. connection to the host where the code was downloaded from should still be ok IIANM Smiley

BTW, the game looks ok here (linux) - didn't try the sound though (no speakers atm Smiley
Offline erikd

JGO Kernel
*****

Posts: 2561
Medals: 7


Maximumisness


« Reply #26 on: 2004-03-01 09:36:03 »

Quote

Yes I use:
URL audiob = Game.class.getResource("blop");
blop = Applet.newAudioClip(audiob);


Try using javax.sound.sampled.Clip instead. It helped for me to get rid of little pauses everytime a sound starts.

Erik

Offline blahblahblahh

JGO Kernel
*****

Posts: 4575


http://t-machine.org


« Reply #27 on: 2004-03-01 09:43:18 »

Quote


Try using javax.sound.sampled.Clip instead. It helped for me to get rid of little pauses everytime a sound starts.

Erik


FYI it's fine at the moment - smooth, fast, and no delay on the sounds - ever since he bundled the sounds in the JAR AFAICS.

malloc will be first against the wall when the revolution comes...
Offline erikd

JGO Kernel
*****

Posts: 2561
Medals: 7


Maximumisness


« Reply #28 on: 2004-03-01 13:19:34 »

Yes, tried again. Works lovely, no pauses.
I suck at it though  Grin

Offline jrnovoa

JGO n00b
*

Posts: 12


Java games rock!


« Reply #29 on: 2004-03-02 01:25:38 »

Thanks for all.

¿Any help about the use of javax.sound.sampled.Clip?

cheers.


Wink
Pages: [1]
  Print  
 
 
Jump to:  


Add your game by posting it in the showcase section.

The first screenshot will be displayed as a thumbnail.

obsidian_golem 2012-05-23 10:14:50

Danny02 2012-05-21 17:10:34

Danny02 2012-05-21 17:07:10

Danny02 2012-05-21 16:56:12

davedes 2012-05-21 13:59:23

obsidian_golem 2012-05-20 20:28:41

darkjava55 2012-05-12 16:14:40

Ultroman 2012-05-12 09:36:05

Ultroman 2012-05-11 22:49:53

Ultroman 2012-05-11 22:20:01
Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.13 seconds with 19 queries.