Java-Gaming.org    
Featured games (91)
games approved by the League of Dukes
Games in Showcase (581)
games submitted by our members
Games in WIP (500)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1] 2
  ignore  |  Print  
  Kitipong - Library Test  (Read 17089 times)
0 Members and 1 Guest are viewing this topic.
Offline kevglass

JGO Kernel


Medals: 85
Projects: 25


Coder, Trainee Pixel Artist, Game Reviewer


« Posted 2006-11-17 23: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 Here

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

Kev

Offline ryanm

Senior Member


Projects: 1


Used to be bleb


« Reply #1 - Posted 2006-11-17 23:43:11 »

Worked beautifully for me on Windows, only oddity was that the quit button doesn't quit.
Offline kevglass

JGO Kernel


Medals: 85
Projects: 25


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #2 - Posted 2006-11-17 23: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?  Smiley

Thanks for trying.

Kev

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Riven
« League of Dukes »

JGO Overlord


Medals: 605
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #3 - Posted 2006-11-18 00: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! Grin


*envies*

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Offline erikd

JGO Ninja


Medals: 15
Projects: 4
Exp: 14 years


Maximumisness


« Reply #4 - Posted 2006-11-18 17:50:34 »

Runs great here  Smiley

Offline c_lilian

Senior Member


Projects: 1


Java games will probably rock someday...


« Reply #5 - Posted 2006-11-18 18:12:43 »

hehe, meow... maow... funny but irritating !!!   Grin

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 Smiley


Offline kevglass

JGO Kernel


Medals: 85
Projects: 25


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #6 - Posted 2006-11-18 18:25:40 »

Awesome, a Mac test - anyone got an intel one ?

Thanks guys - fear the kittys.

Kev

Offline Matzon

JGO Knight


Medals: 19
Projects: 2


I'm gonna wring your pants!


« Reply #7 - Posted 2006-11-18 19:38:23 »

Awesome, a Mac test - anyone got an intel one ?
confirmed, still hate the meoow sound!

Offline erikd

JGO Ninja


Medals: 15
Projects: 4
Exp: 14 years


Maximumisness


« Reply #8 - Posted 2006-11-18 22:52:16 »

I kind of liked the meow  Grin

Offline CommanderKeith
« Reply #9 - Posted 2006-11-18 23: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!
Legends of Yore - The Casual Retro Roguelike
Offline kevglass

JGO Kernel


Medals: 85
Projects: 25


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #10 - Posted 2006-11-19 10: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.html

If 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

Offline CommanderKeith
« Reply #11 - Posted 2006-11-19 11: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.com


Keith

Offline Matzon

JGO Knight


Medals: 19
Projects: 2


I'm gonna wring your pants!


« Reply #12 - Posted 2006-11-19 12:40:19 »

worked as expected, FF 2.0, Java Plug-in 1.6.0-rc, Windows XP SP2

Offline Orangy Tang

JGO Kernel


Medals: 51
Projects: 11


Monkey for a head


« Reply #13 - Posted 2006-11-19 13:11:10 »

Applet version doesn't work for me Sad 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.

[ TriangularPixels.com - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Offline markush

Senior Newbie




Plöp!


« Reply #14 - Posted 2006-11-19 13: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).
Offline woogley
« Reply #15 - Posted 2006-11-19 13:44:41 »

works great for me, except when I refresh. seems to be more of an lwjgl error than a slick error:

Quote
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 ...
Offline kevglass

JGO Kernel


Medals: 85
Projects: 25


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #16 - Posted 2006-11-19 14: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

Offline Orangy Tang

JGO Kernel


Medals: 51
Projects: 11


Monkey for a head


« Reply #17 - Posted 2006-11-19 14:55:44 »

I've never heard of Opera having it's own Java plugin, but then I've never really paid attention to it. Smiley I did look for the system tray icon, but it didn't appear. Worked fine in firefox though.

[ TriangularPixels.com - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Offline kevglass

JGO Kernel


Medals: 85
Projects: 25


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #18 - Posted 2006-11-19 15:57:15 »

Think i have the reload bug resolved. Other problems, invetigation is on going.

Kev

Offline Matzon

JGO Knight


Medals: 19
Projects: 2


I'm gonna wring your pants!


« Reply #19 - Posted 2006-11-19 18:14:01 »

Applet version doesn't work for me Sad 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 Sad

Offline Orangy Tang

JGO Kernel


Medals: 51
Projects: 11


Monkey for a head


« Reply #20 - Posted 2006-11-19 18:28:23 »

Applet version doesn't work for me Sad 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 Sad

Dang, thats a shame. From my website logs Opera seems to be almost as popular as firefox at the moment.

[ TriangularPixels.com - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Offline Matzon

JGO Knight


Medals: 19
Projects: 2


I'm gonna wring your pants!


« Reply #21 - Posted 2006-11-19 19: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 Sad
I'm guessing its their broken plugin interface.

Offline BloodRain

Junior Member





« Reply #22 - Posted 2006-11-19 19: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.
Offline markush

Senior Newbie




Plöp!


« Reply #23 - Posted 2006-11-19 21: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.
Offline endolf

JGO Knight


Medals: 7
Projects: 1


Current project release date: sometime in 3003


« Reply #24 - Posted 2006-11-19 21: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

Offline kevglass

JGO Kernel


Medals: 85
Projects: 25


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #25 - Posted 2006-11-19 22: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 Smiley

Kev

Offline Orangy Tang

JGO Kernel


Medals: 51
Projects: 11


Monkey for a head


« Reply #26 - Posted 2006-11-20 00: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?

[ TriangularPixels.com - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Offline kappa
« League of Dukes »

JGO Kernel


Medals: 70
Projects: 15


★★★★★


« Reply #27 - Posted 2006-11-20 01: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.
Offline kevglass

JGO Kernel


Medals: 85
Projects: 25


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #28 - Posted 2006-11-20 01:45:47 »

Same results as Kapta on Opera 9.02 on XP.

Kev

Offline woogley
« Reply #29 - Posted 2006-11-20 03: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..
Pages: [1] 2
  ignore  |  Print  
 
 

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

xsi3rr4x (54 views)
2014-04-15 18:08:23

BurntPizza (53 views)
2014-04-15 03:46:01

UprightPath (66 views)
2014-04-14 17:39:50

UprightPath (49 views)
2014-04-14 17:35:47

Porlus (66 views)
2014-04-14 15:48:38

tom_mai78101 (90 views)
2014-04-10 04:04:31

BurntPizza (151 views)
2014-04-08 23:06:04

tom_mai78101 (246 views)
2014-04-05 13:34:39

trollwarrior1 (204 views)
2014-04-04 12:06:45

CJLetsGame (211 views)
2014-04-01 02:16:10
List of Learning Resources
by SHC
2014-04-18 03:17:39

List of Learning Resources
by Longarmx
2014-04-08 03:14:44

Good Examples
by matheus23
2014-04-05 13:51:37

Good Examples
by Grunnt
2014-04-03 15:48:46

Good Examples
by Grunnt
2014-04-03 15:48:37

Good Examples
by matheus23
2014-04-01 18:40:51

Good Examples
by matheus23
2014-04-01 18:40:34

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:22:30
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!