Puppytron!

Got it working in IE 6.0.something.something. The input seemed broken though. It just goes in one direction like the keys was stuck. Seems like it only get keyinput every 5-10 seconds. And it keeps printing out pause in the console.

Still don’t work in Opera. But then again, I can’t remember the last time an applet worked in Opera :slight_smile:

Works fine in both IE6 and Opera7.54 here, JRE1.5.0_01.

Signed by Shaven Puppy Ltd - and indeed it is, because that’s the name of my company.

Cas :slight_smile:

[quote]Works fine in both IE6 and Opera7.54 here, JRE1.5.0_01.

Signed by Shaven Puppy Ltd - and indeed it is, because that’s the name of my company.

Cas :slight_smile:
[/quote]
I know the history, but I’m just querying whether you want to carry on using the old brand name on the cert for stuff done on the new brand name? For someone who doesn’t know, the puppygames == shaven puppy isn’t immediately obvious, and might look dodgy.

Especially bearing in mind that stuff on site A with a cert for company B is a classic precursor to installing a trojan, from my experience of unpatched MSIE without popup blockers…

It beats me why it’s even asking! All I did was sign it, I haven’t asked for any more permissions…

Cas :slight_smile:

It’s looking good. The red square warping in effect is very, erm, effective. The thud sound reminds me of one in Iridis Alpha too.

Any chance of displaying the last score on the title screen? It disappears a bit quick after I’ve been deaded. And how’s about being able to swap the key sets (Cursors to move, letters to fire)?

Just tried to go back to it to have another go but the Applet wouldn't display. I had to close all open IE windows to reload it. Here's the log:

Java Plug-in 1.5.0
Using JRE version 1.5.0 Java HotSpot(TM) Client VM

----------------------------------------------------

Created Game
Initing...
Java version 1.5.0
Puppygames Applet Version $Revision: 1.6 $
Starting...
1.5 NanoTimer selected.
Puppytron $Revision: 1.4 $
Loading bullet-up-left.png...loaded
Loading bullet-up-right.png...loaded
Loading bullet-up.png...loaded
Loading bullet-left.png...loaded
Loading bullet-right.png...loaded
Loading bullet-down-left.png...loaded
Loading bullet-down-right.png...loaded
Loading bullet-down.png...loaded
Loading enemybullet.png...loaded
Loading powerup-gun.png...loaded
Loading font.png...loaded
Loading gidrah1-left-1.png...loaded
Loading gidrah1-left-2.png...loaded
Loading gidrah2-left-1.png...loaded
Loading gidrah2-left-2.png...loaded
Loading gidrah3-left-1.png...loaded
Loading gidrah3-left-2.png...loaded
Loading gidrah4-left-1.png...loaded
Loading gidrah4-left-2.png...loaded
Loading gidrah5-left-1.png...loaded
Loading gidrah5-left-2.png...loaded
Loading gidrah6-left-1.png...loaded
Loading gidrah6-left-2.png...loaded
Loading gidrah1-right-1.png...loaded
Loading gidrah1-right-2.png...loaded
Loading gidrah2-right-1.png...loaded
Loading gidrah2-right-2.png...loaded
Loading gidrah3-right-1.png...loaded
Loading gidrah3-right-2.png...loaded
Loading gidrah4-right-1.png...loaded
Loading gidrah4-right-2.png...loaded
Loading gidrah5-right-1.png...loaded
Loading gidrah5-right-2.png...loaded
Loading gidrah6-right-1.png...loaded
Loading gidrah6-right-2.png...loaded
Loading player-left-1.png...loaded
Loading player-left-2.png...loaded
Loading player-right-1.png...loaded
Loading player-right-2.png...loaded
Loading titlescreen.png...loaded
Stopping...
Destroying...
Created Game
Initing...
Java version 1.5.0
Puppygames Applet Version $Revision: 1.6 $
Starting...
Stopping...
Destroying...
Created Game
Initing...
Java version 1.5.0
Puppygames Applet Version $Revision: 1.6 $
Starting...

Hm. Hopefully fixed now.

Cas :slight_smile:

http://kaioa.com/k/puppytron.png

1,182,750 points! ;D

And no highscore upload. Gah! :stuck_out_tongue:

Ok ok, I’ll get on the case!

They don’t count yet anyway coz I’ve got to tweek all the robots and add a couple more.

Cas :slight_smile:

-- Opera Java Console --

Java vendor: Sun Microsystems Inc.
Java version: 1.5.0

type 'h' for help

--
Image cache enabled
Audio cache: enabled
ClassLoader cache size: 10
Accept: true
Accept: true
Created Game
Initing...
Java version 1.5.0
Puppygames Applet Version $Revision: 1.6 $
Starting...
Accept: true
1.5 NanoTimer selected.
Puppytron $Revision: 1.4 $
Exception in thread "Thread-3" sun.misc.ServiceConfigurationError: javax.imageio.spi.ImageTranscoderSpi: : java.io.IOException: Connection failed.
      at sun.misc.Service.fail(Unknown Source)
      at sun.misc.Service.parse(Unknown Source)
      at sun.misc.Service.access$100(Unknown Source)
      at sun.misc.Service$LazyIterator.hasNext(Unknown Source)
      at javax.imageio.spi.IIORegistry.registerApplicationClasspathSpis(Unknown Source)
      at javax.imageio.spi.IIORegistry.<init>(Unknown Source)
      at javax.imageio.spi.IIORegistry.getDefaultInstance(Unknown Source)
      at javax.imageio.ImageIO.<clinit>(Unknown Source)
      at puppytron.Resources.init(Resources.java:69)
      at puppytron.Puppytron.doInit(Puppytron.java:77)
      at net.puppygames.applet.Game$1.run(Game.java:210)

This was Opera, IE just does nothing and sits there.

Bah. Try Webstart: http://www.puppygames.net/applets/puppytron.jnlp

Cas :slight_smile:

Hey Cas, if I can make a suggestion? Ditch the “” tag. It was really intended for unarchived applications, and never really worked right. Instead, change your applet tag as follows:


<applet code="puppytron.Puppytron" archive="applets/puppytron.jar,applets/common.jar,applets/sound.jar,applets/timer.jar" 
width="256px" height="256px" name="PuppyTron" alt="More games to come!">You need the Java Virtual Machine to play Puppytron.
                  <param name="width" value="256"/>
                  <param name="height" value="256"/>
                  <param name="framerate" value="60"/>
                  <a href="http://www.java.com">Get the Java Virtual Machine now!</a>
</applet>

A few other things:

  1. Your framerate cannot be 60. The resolution of Windows under 1.4.x is 10 ms. Thus your choices for framerate are 100, 50, and 25 fps. This is probably causing some of your slowdown. Since this is an Applet, I’d suggest quadrupaling the speed and setting the framerate to 25fps.

  2. Pool some objects or something. The poor GC is absolutely thrashing.

  3. Let me know if you have any questions on GAGE. I’m here to help. :slight_smile:

Edit: Almost forgot:

  1. The webstart applet won’t launch. It doesn’t seem to like your certificate. I’d actually stop signing it if I were you. It’ll just confuse people, and you don’t need the permissions anyway. :slight_smile:

The new version is neat. The bigger playing area is a good thing and difficulty ramping seems to be also better (steeper).

Some users (I asked some to play it heh) were irritated by the controls, because they strongly assoziated the cursors with movement [whereas I think it’s “natural” to have direction stuff on the left side]. So maybe add a way to switch those around.

The current version doesn’t work with 1.4 because you’re using java.util.Queue, which is a new 1.5 thingy.

Woohoo 2d place. Ye, it feels pretty good know and it gets quite thrilling. Good work :slight_smile:

Oh and it’s so much more fun with a gamepad (via keytojoy).

For the suggestion list… add a pause button (p+pause). I know that it pauses the game automatically on focus lost, but most people won’t try that.

I only played it once and quickly stopped primarily because of this. Cursors === movement, no question about it. Anything else, whislt it may have benefits for a particular game, is “freaky” and should not be the default.

Cursors === movement

Too much php lately? :slight_smile:

Ok, will add a toggle & pause mode, and fix 1.4 compatibility.

Cas :slight_smile:

The Queue thing seems to be fixed, but it still don’t work on 1.4:

Whoops. Fixed.

Cas :slight_smile:

From the link in the first post I get this:

[quote]From the link in the first post I get this:
[/quote]
That’s because Cas deleted the applet. You have to use the Webstart link to play it.