kevglass
|
 |
«
Posted
2006-11-17 22:24:08 » |
|
Now, don't get too excited - this isn't a game where you play pong with a cat - rather it's a simple bejewelled clone with an oriental kitty theme. I was hoping to get a few folks to test it with a view to seeing if the library code works properly on multiple platforms. More of a tech demo than a game I suppose, hence the category. For those that don't know bejewelled - swap over two jewels (kats in this case) by clicking on them to form a line of 3 or more. They disappear and you score points. Here's what it's meant to look like (if the colours are wrong on your platform or anything let me know). Webstart is HereAs always I'm interested in any feedback, but especially any faults or oddities with the framework on specific platforms. Oh, and I probably win the award for most annoying sound effect ever  Kev
|
|
|
|
ryanm
|
 |
«
Reply #1 - Posted
2006-11-17 22:43:11 » |
|
Worked beautifully for me on Windows, only oddity was that the quit button doesn't quit.
|
|
|
|
kevglass
|
 |
«
Reply #2 - Posted
2006-11-17 22:45:55 » |
|
Ah yes, I should have probably said, it's a trap to keep you in game! Muhahahahah - well, no it's quit the session you're playing, not the game, hit escape if you want to do that - but why would you want to?  Thanks for trying. Kev
|
|
|
|
Games published by our own members! Check 'em out!
|
|
Riven
|
 |
«
Reply #3 - Posted
2006-11-17 23:05:35 » |
|
You're so completely not represenative for the community of Java game-developers! You're getting way too many projects in beta-stage!  *envies*
|
Hi, appreciate more people! Σ ♥ = ¾ Learn how to award medals... and work your way up the social rankings!
|
|
|
erikd
|
 |
«
Reply #4 - Posted
2006-11-18 16:50:34 » |
|
Runs great here 
|
|
|
|
c_lilian
Senior Devvie    Projects: 1
Java games will probably rock someday...
|
 |
«
Reply #5 - Posted
2006-11-18 17:12:43 » |
|
hehe, meow... maow... funny but irritating !!!  works fine here laptop XP java 6 RC, plenty of RAM and Ghz, NVidia edit : works also fine on mac mini PPC, OS X Tiger, meowww Lilian 
|
|
|
|
kevglass
|
 |
«
Reply #6 - Posted
2006-11-18 17:25:40 » |
|
Awesome, a Mac test - anyone got an intel one ?
Thanks guys - fear the kittys.
Kev
|
|
|
|
Matzon
|
 |
«
Reply #7 - Posted
2006-11-18 18:38:23 » |
|
Awesome, a Mac test - anyone got an intel one ?
confirmed, still hate the meoow sound!
|
|
|
|
erikd
|
 |
«
Reply #8 - Posted
2006-11-18 21:52:16 » |
|
I kind of liked the meow 
|
|
|
|
CommanderKeith
|
 |
«
Reply #9 - Posted
2006-11-18 22:59:42 » |
|
Fine here on a windows box.
You know it looks like a polished Flash game, very impressive.
Keith
|
|
|
|
Games published by our own members! Check 'em out!
|
|
kevglass
|
 |
«
Reply #10 - Posted
2006-11-19 09:45:35 » |
|
Another bit of a test here - the same game wrapped as an Applet. However, this uses the LWJGL Applet stuff (the beta 4 version) which still seems to fail on about 50% of machines. So before checking the following link - save everything you're doing, it's possible to crash browsers and hang systems: http://slick.cokeandcode.com/demos/applets/kitipong.htmlIf it works first time, try reloading the page. I'm really interested in seeing the success rate for different browsers and/or platforms. So, any daring tester much appreciated. EDIT: Works here on Win XP and Firefox 1.5 Kev
|
|
|
|
CommanderKeith
|
 |
«
Reply #11 - Posted
2006-11-19 10:05:55 » |
|
Works fine the first time on windows XP with IE, java 6. I did get a Exception in thread "AWT-EventQueue-2" java.lang.NullPointerException when I quit the window however. Just then I tried it again to test in a new window and I just got a white rectangle with the console spewing 3 of the same NPE's, the first of which was this: Exception in thread "AWT-EventQueue-4" java.lang.NullPointerException at org.lwjgl.opengl.AbstractAWTInput.getWidth(AbstractAWTInput.java:90) at org.lwjgl.input.Mouse.poll(Mouse.java:345) at org.newdawn.slick.AppletGameContainer$ContainerPanel.paintGL(AppletGameContainer.java:124) at org.lwjgl.opengl.AWTGLCanvas.paint(AWTGLCanvas.java:317) at sun.awt.RepaintArea.paintComponent(Unknown Source) at sun.awt.RepaintArea.paint(Unknown Source) at sun.awt.windows.WComponentPeer.handleEvent(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.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(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) ibxm alpha 45 (c)2006 mumart@gmail.comKeith
|
|
|
|
Matzon
|
 |
«
Reply #12 - Posted
2006-11-19 11:40:19 » |
|
worked as expected, FF 2.0, Java Plug-in 1.6.0-rc, Windows XP SP2
|
|
|
|
Orangy Tang
|
 |
«
Reply #13 - Posted
2006-11-19 12:11:10 » |
|
Applet version doesn't work for me  WinXp, Opera 7.5, Java 1.5. Is there some kind of error log anywhere that might be useful? It did "applet loading" for ages, which prompted me about 10 times to accept a certificate (which I did), then breifly flashed a green screen and half a sound effect before hanging on a grey screen.
|
|
|
|
markush
Senior Newbie 
Plöp!
|
 |
«
Reply #14 - Posted
2006-11-19 12:25:22 » |
|
Works fine on my Intel mac, if I start it the first time. If I reload the page I get the following output (see screenshot).
|
|
|
|
woogley
|
 |
«
Reply #15 - Posted
2006-11-19 12:44:41 » |
|
works great for me, except when I refresh. seems to be more of an lwjgl error than a slick error: Exception in thread "AWT-EventQueue-3" java.lang.NullPointerException at org.lwjgl.opengl.AbstractAWTInput.getWidth(AbstractAWTInput.java:90) at org.lwjgl.input.Mouse.poll(Mouse.java:345) at org.newdawn.slick.AppletGameContainer$ContainerPanel.paintGL(AppletGameContainer.java:124) at org.lwjgl.opengl.AWTGLCanvas.paint(AWTGLCanvas.java:317)
etc ...
|
|
|
|
kevglass
|
 |
«
Reply #16 - Posted
2006-11-19 13:04:11 » |
|
Re: Opera - it uses its own Java plugin on the Sun one? The only place I've got output coming right now is the standard console - in Sun's Plugin on windows thats Right Click on System Tray Icon -> Open Console.
Thanks for the tests so far guys, the NPE in getWidth() I can simulate here - the not running at all I'm having trouble tracking down.
I find this LWJGL in an Applet stuff pretty exciting so I'm really keen to see where it is and isn't working right now. Could be a nice boon for having the demo of your game running in an applet before lettng them buy the "full" version via webstart.
Kev
|
|
|
|
Orangy Tang
|
 |
«
Reply #17 - Posted
2006-11-19 13:55:44 » |
|
I've never heard of Opera having it's own Java plugin, but then I've never really paid attention to it.  I did look for the system tray icon, but it didn't appear. Worked fine in firefox though.
|
|
|
|
kevglass
|
 |
«
Reply #18 - Posted
2006-11-19 14:57:15 » |
|
Think i have the reload bug resolved. Other problems, invetigation is on going.
Kev
|
|
|
|
Matzon
|
 |
«
Reply #19 - Posted
2006-11-19 17:14:01 » |
|
Applet version doesn't work for me  WinXp, Opera 7.5, Java 1.5. Is there some kind of error log anywhere that might be useful? Opera is known not to work - for non obvious reasons 
|
|
|
|
Orangy Tang
|
 |
«
Reply #20 - Posted
2006-11-19 17:28:23 » |
|
Applet version doesn't work for me  WinXp, Opera 7.5, Java 1.5. Is there some kind of error log anywhere that might be useful? Opera is known not to work - for non obvious reasons  Dang, thats a shame. From my website logs Opera seems to be almost as popular as firefox at the moment.
|
|
|
|
Matzon
|
 |
«
Reply #21 - Posted
2006-11-19 18:08:29 » |
|
I have tried hard at solving the issue - but I have no idea why opera fails - can't find any worthwhile logs either  I'm guessing its their broken plugin interface.
|
|
|
|
BloodRain
|
 |
«
Reply #22 - Posted
2006-11-19 18:53:16 » |
|
I once had the same bugs in Opera that I had in firefox on linux . The problem was the case-sensitivity of the image names.
|
|
|
|
markush
Senior Newbie 
Plöp!
|
 |
«
Reply #23 - Posted
2006-11-19 20:00:53 » |
|
Works fine on my Intel mac, if I start it the first time. If I reload the page I get the following output (see screenshot).
Works now after page reload to. Forgot to mention: Using Safari for this.
|
|
|
|
endolf
|
 |
«
Reply #24 - Posted
2006-11-19 20:29:31 » |
|
Reload works, although I still get an exception in the logs when i click off the game. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
| Exception in thread "AWT-EventQueue-8" java.lang.IllegalStateException: Mouse must be created before you can poll it at org.lwjgl.input.Mouse.poll(Mouse.java:325) at org.newdawn.slick.AppletGameContainer$ContainerPanel.paintGL(AppletGameContainer.java:147) at org.lwjgl.opengl.AWTGLCanvas.paint(AWTGLCanvas.java:317) at org.lwjgl.opengl.AWTGLCanvas.update(AWTGLCanvas.java:336) at sun.awt.RepaintArea.updateComponent(Unknown Source) at sun.awt.RepaintArea.paint(Unknown Source) at sun.awt.windows.WComponentPeer.handleEvent(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.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(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) |
HTH Endolf
|
|
|
|
kevglass
|
 |
«
Reply #25 - Posted
2006-11-19 21:20:07 » |
|
No worries on that exception Endolf, just gonna have to live with that for a while. I didn't realise until now that applets that are reloaded can run in the same VM - interesting stuff. Orangy's messages about singletons and statics all come back with a sudden prominance! Lucky I listened the first time  Kev
|
|
|
|
Orangy Tang
|
 |
«
Reply #26 - Posted
2006-11-19 23:33:11 » |
|
Hmm, I upgraded to the latest Opera but still the same result it seems. Although I managed to find the java console (not sure if it's a new addition or I just missed it before) it doesn't have anything useful in it - in fact it doesn't have anything in it!
Is it possibly worth pestering the Opera people to see if you could track down the root cause?
|
|
|
|
kappa
|
 |
«
Reply #27 - Posted
2006-11-20 00:00:25 » |
|
works fine for me on Opera (version 9, Linux), but gives me a grey screen for about 3mins before it starts after which it runs fine. so is a bit borked but at least it runs.
|
|
|
|
kevglass
|
 |
«
Reply #28 - Posted
2006-11-20 00:45:47 » |
|
Same results as Kapta on Opera 9.02 on XP.
Kev
|
|
|
|
woogley
|
 |
«
Reply #29 - Posted
2006-11-20 02:26:02 » |
|
same opera issues here. though after 5mins of gray screen.. it still doesnt start.
this is a definite Opera-specific problem. they shouldn't wrap the Sun's VM in their funky stuff just to avoid Sun's UI and stuff
it's bad enough they start their VM with <applet>, but what really stuck me as "tacky" is they also override the sun-specific <object> tags!
anyway, opera needs to be contacted i think..
|
|
|
|
|