BeeMania & Traffic Jammer updated...

http://www.crystalsquid.com/

We’ve just finished a fairly hectic few weeks trying to solve some of our compatability issues. We have uploaded 2 new versions of our games, Bee Mania & Traffic Jammer to our website & would appreciate it if you could try them out & see if they work on whatever setup you have. The loader code has also been overhauled, doubling the speed it loads the resources. Hurrah for zipped streams :slight_smile:

Known issues: Opera still refuses to load the jars, for no readily apparent reason. All we have is the jars referenced by a single applet tag, all in an

Thanks for your time, & we appreciate any feedback you may have,

  • Dom

[quote]Known issues: Opera still refuses to load the jars, for no readily apparent reason. All we have is the jars referenced by a single applet tag, all in an

Yay for it working on your Opera. If its not too personal a question - are you using Windows?
Just found 1 problem - Netscape was utterly stuffed on our site, but thats fixed now :slight_smile:

  • Dom

WinXP, Opera 7.20, build 3144. Java 1.4.0 VM.

VERY COOL STUFF!

Does run fine with Opera v7.22 (Win2000).

Nice games. Cool sprites. Well done. :slight_smile:

Yep, both still work fine for me: WinME, Mozilla 1.4, JDK 1.4.2.

Has anyone completed the last level of Traffic Jammer yet?

Yay, seems we’ve fixed some issues at least :slight_smile:
Anyone tried it with Linux or a Mac? I would be curious to know if it worked (it didnt used to on Macs, and we don’t have access to one).

& no-one has managed the final level yet. Muhahahahaha!

  • Dom

No probs (again).

Just a little thing… traffic jammer’s title screen looks a bit poor compared to the nice graphics of the rest of the game. Also it looks resized (by a small amout).

However, top stuff :slight_smile:

Still not working on the Mac.

Java™ Plug-in: Version 1.4.2_01
Using JRE version 1.4.2_01 Java HotSpot™ Client VM


Begin Stats

     Traffic Jammer

© 2003 Crystal Squid Ltd
All rights reserved

  www.crystalsquid.com

Detected JAVA version: 1.4.2_01
Using 1.4+ compatibility mode :slight_smile:

And that’s it - no game, no more messages…

Then I hit the browser’s back button (after waiting quite a while)


Update
OK
java.lang.NullPointerException
at java.awt.Component$BltBufferStrategy.show(Component.java:3266)
at ac.a(Unknown Source)
at aa.if(Unknown Source)
at ap.run(Unknown Source)
at java.lang.Thread.run(Thread.java:552)

Same for Bee Mania.

at java.awt.Component$BltBufferStrategy.show(Component.java:3266)

So… you use BufferStrategy right?

You can do alot of things with BufferStrategy wich works nice on Windows but doesn’t work at all with Linux or Mac OS (eg change the size of the component on the fly).

I even tried that workarounds (somewere in this forum), but it didn’t helped at all (if I can trust my beta testers).

Therefore I switched back to do that buffer flipping blitting myself. No big difference - code and performance wise… but it works now w/o any problems.

edit: stroke :stuck_out_tongue:

Hmmm… We don’t do anything fancy with the buffer strategy - just the double buffering. Wierd. Ill have a look at using the our own double buffering code (its all in there already to do the 1.1 compatability)

swpalmer - do you get the loading screen displayed at all?

  • Dom

Just searched the thread for you:
http://www.java-gaming.org/cgi-bin/JGNetForums/YaBB.cgi?board=2D;action=display;num=1060293929

[quote]swpalmer - do you get the loading screen displayed at all?
[/quote]
No.

I should also point out that I have succesfully used BufferStrategy on this machine.

This code worked for me in an application… not sure about using it in applets:


               GraphicsConfiguration gc = device.getDefaultConfiguration();
                mainFrame = new Frame(gc) {
                        public void paint(Graphics g){}
                        public void update(Graphics g){} };
                mainFrame.setIgnoreRepaint(true);
                
                if ( doFullScreen && device.isFullScreenSupported())
                {
                        mainFrame.setUndecorated(true);
                        device.setFullScreenWindow(mainFrame);
                        if (device.isDisplayChangeSupported())
                        {
                                 device.setDisplayMode(best);
                                 mainFrame.setBounds(0,0,640,480);
                        }
                }
                else
                {
                        mainFrame.setBounds(0,0,640,480);
                        mainFrame.show();
                }
                
                mainFrame.createBufferStrategy(numBuffers);