Jack's Game

I put this together for my nephew on his first birthday, so I hope eveyone here is smart enough to play it! :wink:



I know some of you out there (whether you know it or not) have small children, so I though I could give this out. It’s a pound the keyboard kind of game that I hope would help get small children started on colors, numbers, and alphabet. It doesn’t exactly showcase any 3D abilities of jME, but nonetheless it is what I chose to do it in. The numbers and letters are modeled, and there is also audio to go long with it. It’s setup for webstart and I need someone out there to test it on a mac and on linux.



Please let me know what you think!

www.freewebs.com/nymon

Seems to work on OSX (I went just randomly hitting the keys though, I hope that's correct usage :P). Pretty colours and sound too.



What doesn't work however is the webpage. I had to look for the webstart file in the source of the page, which kept redirecting me to the sun java page. (Opera 9 on OSX Leopard). Silly javascript.

llama said:

What doesn't work however is the webpage. I had to look for the webstart file in the source of the page, which kept redirecting me to the sun java page. (Opera 9 on OSX Leopard). Silly javascript.

Fixed. Thanks for trying it.

XP SP2 running on a Macbook PRO doesnt work. It just desapear after downloading of the jnlp.



Using JRE version 1.6.0_05 Java HotSpotâ„¢ Client VM

clovis said:

XP SP2 running on a Macbook PRO doesnt work. It just desapear after downloading of the jnlp.

Using JRE version 1.6.0_05 Java HotSpot(TM) Client VM


Can you get anymore information from the java console when you try to launch the app? It would really help.

Cute game. :)  I'll have to have my 21 month old daughter try it out when I get home.

it looks a bit weird on my system.







and







i’m using windows xp sp2 with an ati x800 (7.12 drivers).



java console output:


Java Web Start 1.6.0_05
Verwendung der JRE-Version 1.6.0_05 Java HotSpot(TM) Client VM
17.04.2008 01:56:48 com.jme.input.joystick.DummyJoystickInput <init>
INFO: Joystick support is disabled
17.04.2008 01:56:48 com.jme.system.lwjgl.LWJGLDisplaySystem <init>
INFO: LWJGL Display System created.
17.04.2008 01:56:48 com.jme.system.lwjgl.LWJGLDisplaySystem getValidDisplayMode
INFO: Selected DisplayMode: 1280 x 1024 x 32 @60Hz
17.04.2008 01:56:49 com.jme.renderer.lwjgl.LWJGLRenderer <init>
INFO: LWJGLRenderer created. W:  1280H: 1024
17.04.2008 01:56:49 com.jme.renderer.AbstractCamera <init>
INFO: Camera created.
17.04.2008 01:56:50 com.jmex.audio.openal.OpenALSystem setupSourcePool
INFO: max source channels: 23
17.04.2008 01:56:50 com.jmex.game.state.GameStateManager create
INFO: Created GameStateManager
17.04.2008 01:56:50 com.jme.util.lwjgl.LWJGLTimer <init>
INFO: Timer resolution: 1000 ticks per second
17.04.2008 01:56:50 com.jme.scene.Node <init>
INFO: Node created.
17.04.2008 01:56:50 com.jme.scene.Node attachChild
INFO: Child (Some2DText) attached to this node (null)
17.04.2008 01:56:50 com.jme.scene.Node attachChild
INFO: Child (ProgressBar) attached to this node (null)
17.04.2008 01:56:50 com.jme.scene.Node attachChild
INFO: Child (Some2DText) attached to this node (null)
17.04.2008 01:56:50 com.jme.scene.Node attachChildAt
INFO: Child (Background) attached to this node (null)
17.04.2008 01:56:50 com.jme.scene.state.lwjgl.LWJGLTextureState load
WARNUNG: Attempted to apply texture with size that is not power of 2: 1280 x 1024
17.04.2008 01:56:50 com.jme.scene.state.lwjgl.LWJGLTextureState load
WARNUNG: Rescaling image to 1024 x 1024 !!!
17.04.2008 01:56:52 com.jme.scene.Node <init>
INFO: Node created.
17.04.2008 01:56:52 com.jme.scene.Node attachChild
INFO: Child (text) attached to this node (game: RootNode)
17.04.2008 01:56:52 com.jmex.audio.util.AudioLoader loadOGG
INFO: ogg loaded - time: 0.4014739  channels: 1  rate: 44100 depth: 16 bytes: 35410
17.04.2008 01:56:52 com.jmex.audio.util.AudioLoader loadOGG
INFO: ogg loaded - time: 0.40780047  channels: 1  rate: 44100 depth: 16 bytes: 35968
17.04.2008 01:56:52 com.jmex.audio.util.AudioLoader loadOGG
INFO: ogg loaded - time: 0.5440816  channels: 1  rate: 44100 depth: 16 bytes: 47988
17.04.2008 01:56:52 com.jmex.audio.util.AudioLoader loadOGG
INFO: ogg loaded - time: 0.5150794  channels: 1  rate: 44100 depth: 16 bytes: 45430
17.04.2008 01:56:52 com.jmex.audio.util.AudioLoader loadOGG
INFO: ogg loaded - time: 0.4929932  channels: 1  rate: 44100 depth: 16 bytes: 43482
17.04.2008 01:56:52 com.jmex.audio.util.AudioLoader loadOGG
INFO: ogg loaded - time: 0.45809525  channels: 1  rate: 44100 depth: 16 bytes: 40404
17.04.2008 01:56:52 com.jmex.audio.util.AudioLoader loadOGG
INFO: ogg loaded - time: 0.43408164  channels: 1  rate: 44100 depth: 16 bytes: 38286
17.04.2008 01:56:52 com.jmex.audio.util.AudioLoader loadOGG
INFO: ogg loaded - time: 0.37587303  channels: 1  rate: 44100 depth: 16 bytes: 33152
17.04.2008 01:56:52 com.jmex.audio.util.AudioLoader loadOGG
INFO: ogg loaded - time: 0.3845805  channels: 1  rate: 44100 depth: 16 bytes: 33920
17.04.2008 01:56:52 com.jmex.audio.util.AudioLoader loadOGG
INFO: ogg loaded - time: 0.7064853  channels: 1  rate: 44100 depth: 16 bytes: 62312
17.04.2008 01:56:52 com.jmex.audio.util.AudioLoader loadOGG
INFO: ogg loaded - time: 0.6738095  channels: 1  rate: 44100 depth: 16 bytes: 59430
17.04.2008 01:56:52 com.jmex.audio.util.AudioLoader loadOGG
INFO: ogg loaded - time: 0.5846032  channels: 1  rate: 44100 depth: 16 bytes: 51562
17.04.2008 01:56:52 com.jmex.audio.util.AudioLoader loadOGG
INFO: ogg loaded - time: 0.54043084  channels: 1  rate: 44100 depth: 16 bytes: 47666
17.04.2008 01:56:52 com.jmex.audio.util.AudioLoader loadOGG
INFO: ogg loaded - time: 0.5171202  channels: 1  rate: 44100 depth: 16 bytes: 45610
17.04.2008 01:56:52 com.jmex.audio.util.AudioLoader loadOGG
INFO: ogg loaded - time: 0.55390024  channels: 1  rate: 44100 depth: 16 bytes: 48854
17.04.2008 01:56:52 com.jmex.audio.util.AudioLoader loadOGG
INFO: ogg loaded - time: 0.6181179  channels: 1  rate: 44100 depth: 16 bytes: 54518
17.04.2008 01:56:52 com.jmex.audio.util.AudioLoader loadOGG
INFO: ogg loaded - time: 0.67641723  channels: 1  rate: 44100 depth: 16 bytes: 59660
17.04.2008 01:56:52 com.jmex.audio.util.AudioLoader loadOGG
INFO: ogg loaded - time: 0.3992517  channels: 1  rate: 44100 depth: 16 bytes: 35214
17.04.2008 01:56:52 com.jmex.audio.util.AudioLoader loadOGG
INFO: ogg loaded - time: 0.57585037  channels: 1  rate: 44100 depth: 16 bytes: 50790
17.04.2008 01:56:52 com.jmex.audio.util.AudioLoader loadOGG
INFO: ogg loaded - time: 0.4218594  channels: 1  rate: 44100 depth: 16 bytes: 37208
17.04.2008 01:56:52 com.jmex.audio.util.AudioLoader loadOGG
INFO: ogg loaded - time: 0.49984127  channels: 1  rate: 44100 depth: 16 bytes: 44086
17.04.2008 01:56:52 com.jmex.audio.util.AudioLoader loadOGG
INFO: ogg loaded - time: 0.50235826  channels: 1  rate: 44100 depth: 16 bytes: 44308
17.04.2008 01:56:52 com.jmex.audio.util.AudioLoader loadOGG
INFO: ogg loaded - time: 0.51238096  channels: 1  rate: 44100 depth: 16 bytes: 45192
17.04.2008 01:56:52 com.jmex.audio.util.AudioLoader loadOGG
INFO: ogg loaded - time: 0.37786847  channels: 1  rate: 44100 depth: 16 bytes: 33328
17.04.2008 01:56:52 com.jmex.audio.util.AudioLoader loadOGG
INFO: ogg loaded - time: 0.4518821  channels: 1  rate: 44100 depth: 16 bytes: 39856
17.04.2008 01:56:52 com.jmex.audio.util.AudioLoader loadOGG
INFO: ogg loaded - time: 0.5088889  channels: 1  rate: 44100 depth: 16 bytes: 44884
17.04.2008 01:56:52 com.jmex.audio.util.AudioLoader loadOGG
INFO: ogg loaded - time: 0.4962585  channels: 1  rate: 44100 depth: 16 bytes: 43770
17.04.2008 01:56:52 com.jmex.audio.util.AudioLoader loadOGG
INFO: ogg loaded - time: 0.55714285  channels: 1  rate: 44100 depth: 16 bytes: 49140
17.04.2008 01:56:52 com.jmex.audio.util.AudioLoader loadOGG
INFO: ogg loaded - time: 0.63136053  channels: 1  rate: 44100 depth: 16 bytes: 55686
17.04.2008 01:56:52 com.jmex.audio.util.AudioLoader loadOGG
INFO: ogg loaded - time: 0.5236735  channels: 1  rate: 44100 depth: 16 bytes: 46188
17.04.2008 01:56:52 com.jmex.audio.util.AudioLoader loadOGG
INFO: ogg loaded - time: 0.545873  channels: 1  rate: 44100 depth: 16 bytes: 48146
17.04.2008 01:56:52 com.jmex.audio.util.AudioLoader loadOGG
INFO: ogg loaded - time: 0.5284127  channels: 1  rate: 44100 depth: 16 bytes: 46606
17.04.2008 01:56:52 com.jmex.audio.util.AudioLoader loadOGG
INFO: ogg loaded - time: 0.5635147  channels: 1  rate: 44100 depth: 16 bytes: 49702
17.04.2008 01:56:52 com.jmex.audio.util.AudioLoader loadOGG
INFO: ogg loaded - time: 0.56172335  channels: 1  rate: 44100 depth: 16 bytes: 49544
17.04.2008 01:56:52 com.jmex.audio.util.AudioLoader loadOGG
INFO: ogg loaded - time: 0.5565533  channels: 1  rate: 44100 depth: 16 bytes: 49088
17.04.2008 01:56:52 com.jmex.audio.util.AudioLoader loadOGG
INFO: ogg loaded - time: 0.46399093  channels: 1  rate: 44100 depth: 16 bytes: 40924
17.04.2008 01:56:52 com.jmex.audio.util.AudioLoader loadOGG
INFO: ogg loaded - time: 0.5635374  channels: 1  rate: 44100 depth: 16 bytes: 49704
17.04.2008 01:56:52 com.jmex.audio.util.AudioLoader loadOGG
INFO: ogg loaded - time: 0.5291383  channels: 1  rate: 44100 depth: 16 bytes: 46670
17.04.2008 01:56:52 com.jmex.audio.util.AudioLoader loadOGG
INFO: ogg loaded - time: 0.5713379  channels: 1  rate: 44100 depth: 16 bytes: 50392
17.04.2008 01:56:52 com.jmex.audio.util.AudioLoader loadOGG
INFO: ogg loaded - time: 0.5446939  channels: 1  rate: 44100 depth: 16 bytes: 48042
17.04.2008 01:56:52 com.jmex.audio.util.AudioLoader loadOGG
INFO: ogg loaded - time: 0.56278914  channels: 1  rate: 44100 depth: 16 bytes: 49638
17.04.2008 01:56:52 com.jmex.audio.util.AudioLoader loadOGG
INFO: ogg loaded - time: 0.5346258  channels: 1  rate: 44100 depth: 16 bytes: 47154
17.04.2008 01:56:53 com.jmex.audio.util.AudioLoader loadOGG
INFO: ogg loaded - time: 0.6381406  channels: 1  rate: 44100 depth: 16 bytes: 56284
17.04.2008 01:56:53 com.jmex.audio.util.AudioLoader loadOGG
INFO: ogg loaded - time: 0.5833333  channels: 1  rate: 44100 depth: 16 bytes: 51450
17.04.2008 01:56:53 com.jmex.audio.util.AudioLoader loadOGG
INFO: ogg loaded - time: 0.6239456  channels: 1  rate: 44100 depth: 16 bytes: 55032
17.04.2008 01:56:53 com.jmex.audio.util.AudioLoader loadOGG
INFO: ogg loaded - time: 0.60351473  channels: 1  rate: 44100 depth: 16 bytes: 53230
17.04.2008 01:57:00 com.jme.scene.Node detachChildAt
INFO: Child removed.
17.04.2008 01:57:01 com.jmex.audio.openal.OpenALSystem setupSourcePool
INFO: max source channels: 23

I tried and I see colors, letters, and numbers after pressing spacebar… is that what it does? xD

JoeMill said:

it looks a bit weird on my system.

It could be because of display mode, please try again as I have added selections at startup.
Momoko_Fan said:

I tried and I see colors, letters, and numbers after pressing spacebar.. is that what it does? xD

YES! Did you hear sound too?

Hey! I saw the screenshot of your Scene Builder. Looks great.



The Scene Graph and Physics System displays what swing component are they made from?

Color, letters, numbers and sound ok here.

Your game's too hard though, I couldn't get a highscore list entry even after a few hours of practise! :smiley:

hevee said:

Color, letters, numbers and sound ok here.
Your game's too hard though, I couldn't get a highscore list entry even after a few hours of practise! :D


Back to pre-school for you.  :P
obidobi said:

Hey! I saw the screenshot of your Scene Builder. Looks great.

The Scene Graph and Physics System displays what swing component are they made from?

Good ol' JDialogs. I was inspired by the tool palettes in AutoCAD, so I recreated them for my app. You can collapse the dialog to just the bar to hide it, and when you drag it around it will change sides so it never goes off screen, I'm happy with it.

Broken with my Linux x86_64 box… Complaining JNLP is supposed to work on 1.0 version only, and I have 1.5+  :?

Thanks duenez. Well I've got two out of three right out of the box, not bad. I assume its something specific to my jnlp's, so I'll give them a look later today. I'll let you know when to give it another go…

nymon said:

clovis said:

XP SP2 running on a Macbook PRO doesnt work. It just desapear after downloading of the jnlp.

Using JRE version 1.6.0_05 Java HotSpot(TM) Client VM


Can you get anymore information from the java console when you try to launch the app? It would really help.


Here is the console log:
Apr 17, 2008 12:14:53 PM com.jme.input.joystick.DummyJoystickInput <init>
INFO: Joystick support is disabled
Apr 17, 2008 12:14:54 PM com.jme.system.lwjgl.LWJGLDisplaySystem <init>
INFO: LWJGL Display System created.
Apr 17, 2008 12:14:54 PM com.jmex.game.DefaultUncaughtExceptionHandler uncaughtException
SEVERE: Main game loop broken by uncaught exception
com.jme.system.JmeException: Bad display mode
at com.jme.system.lwjgl.LWJGLDisplaySystem.selectMode(Unknown Source)
at com.jme.system.lwjgl.LWJGLDisplaySystem.initDisplay(Unknown Source)
at com.jme.system.lwjgl.LWJGLDisplaySystem.createWindow(Unknown Source)
at com.jmex.game.StandardGame.initSystem(Unknown Source)
at com.jmex.game.StandardGame.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Im using XP SP2 with 1440x900 32bpp with ATI Radeon X1600 (latest catalyst driver on the ati/amd site for apple boot camp)

Thanks clovis. Have you tried it since I added the display mode selection at the beginning?

Ow… now this version works :wink:



But i heard no sound!

nymon said:

Good ol' JDialogs. I was inspired by the tool palettes in AutoCAD, so I recreated them for my app. You can collapse the dialog to just the bar to hide it, and when you drag it around it will change sides so it never goes off screen, I'm happy with it.


They look awesome :). I am playing around making a little Brush Builder tool myself. Wanted some easy way to create curved hallways and then import them into the unreal tournament editor. I need some dialogs to change parameters on my surfaces and shapes.

When I saw those dialogs you have I just fell in love ;). Any chance you wanna share the code for those?

Here's a little preview http://www.youtube.com/watch?v=94A0boWtsuY.