Java-Gaming.org Hi !
Featured games (81)
games approved by the League of Dukes
Games in Showcase (513)
Games in Android Showcase (119)
games submitted by our members
Games in WIP (576)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Micro Bot Wars (JavaFX)  (Read 4662 times)
0 Members and 1 Guest are viewing this topic.
Offline zammbi

JGO Coder


Medals: 4



« Posted 2009-05-28 11:24:11 »

I had been working on a game for the JavaFX contest, but couldn't get what I wanted(performance problems and JavaFX bugs) so I didn't work on it much, until the day before it was due, I was like wth(Thanks to minecraft, I saw the amount of updates and thought I should stop being lazy) and worked all day and night till 6am. I had to change a lot to get something playable, which meant a lot had to be removed.

And I ended up with something simple:
Applet:
http://www.pokemonworldonline.net/games/microbotwars/Micro_Bot_Wars.html
Webstart:
http://www.pokemonworldonline.net/games/microbotwars/Micro_Bot_Wars_browser.jnlp

Controls are: Arrow keys and mouse client to fire, and AWSD and F to fire.
P to pause.

It's a 2d 2player robot battle game. Sorry no AI yet. Its a applet.
Enjoy the music (made by Blackhole).

The idea is from a crappy game "The dot game" my brother used to play, which was a dot shooting at other dots on a black screen, which supported a lot of players. I don't remember what it was called.

I'll be adding up to 8+ players, AI, power ups, options, maps, more tiles, more art, cell phone version, etc

And later once JavaFX is optimised a little more, I'll build what I wanted in the first place but as a separate game.

Note: The game will lag if there's lots of bullets on screen.

Last changes:

1.01
Added heath bars.
Removed heath stats.
Added pause fuction (p).

1.02
Moved the position where the bullets fire.
When a player dies, only that character is now restarted.
Fixed firing through walls.
Complied using JavaFx 1.2.
Fixed a few bugs.
Speed up the bullet firing.
Optimisations x3.
Temporary removed song changing.

Current project - Rename and Sort
Offline Markus_Persson

JGO Wizard


Medals: 16
Projects: 19


Mojang Specifications


« Reply #1 - Posted 2009-05-28 11:34:45 »

Nice music. =)

Can I shoot? I want to shoot!

Play Minecraft!
Offline zammbi

JGO Coder


Medals: 4



« Reply #2 - Posted 2009-05-28 11:37:34 »

Yep, I updated the post for the controls.

Current project - Rename and Sort
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline gouessej
« Reply #3 - Posted 2009-05-28 12:40:03 »

I can shoot but not move Sad

Offline appel

JGO Wizard


Medals: 51
Projects: 4


I always win!


« Reply #4 - Posted 2009-05-28 12:47:52 »

I can do nothing. I see the screen, hear music, but nothing happens if I press those buttons on the keyboards.

Check out the 4K competition @ www.java4k.com
Check out GAMADU (my own site) @ http://gamadu.com/
Offline zammbi

JGO Coder


Medals: 4



« Reply #5 - Posted 2009-05-28 13:18:02 »

Odd, I guess that is a JavaFX bug...
I've tested it on firefox 3, chrome 2 and IE 8.
I'll get webstart version up and see if that solves anything...

Current project - Rename and Sort
Offline Markus_Persson

JGO Wizard


Medals: 16
Projects: 19


Mojang Specifications


« Reply #6 - Posted 2009-05-28 13:21:48 »

I can't shoot. Neither the mouse button nor f does anything.

Play Minecraft!
Offline zammbi

JGO Coder


Medals: 4



« Reply #7 - Posted 2009-05-28 13:26:27 »

Can you try the webstart version?
It's odd that everything is working perfectly for me  Undecided

Current project - Rename and Sort
Offline SimonH
« Reply #8 - Posted 2009-05-28 13:55:16 »

Hmmm - very long load time, then game screen, loud music which kept stuttering and;

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27  
28  
29  
30  
31  
32  
33  
34  
35  
36  
37  
38  
39  
40  
41  
42  
43  
44  
45  
46  
47  
48  
49  
50  
51  
52  
53  
54  
55  
56  
57  
58  
59  
60  
61  
62  
63  
64  
65  
66  
67  
68  
69  
70  
71  
72  
73  
74  
75  
76  
77  
78  
79  
80  
81  
82  
83  
84  
85  
86  
87  
88  
89  
90  
91  
92  
93  
94  
95  
96  
97  
98  
99  
100  
101  
102  
Exception in thread "TimerQueue" java.lang.IllegalThreadStateException: forbid thread creation in disposed TG
   at sun.plugin.security.ActivatorSecurityManager.checkAccess(Unknown Source)
   at java.lang.ThreadGroup.checkAccess(Unknown Source)
   at java.lang.Thread.init(Unknown Source)
   at java.lang.Thread.<init>(Unknown Source)
   at java.awt.EventDispatchThread.<init>(Unknown Source)
   at java.awt.EventQueue$1.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.awt.EventQueue.initDispatchThread(Unknown Source)
   at java.awt.EventQueue.postEventPrivate(Unknown Source)
   at java.awt.EventQueue.postEvent(Unknown Source)
   at java.awt.EventQueue.invokeLater(Unknown Source)
   at javax.swing.SwingUtilities.invokeLater(Unknown Source)
   at javax.swing.Timer.post(Unknown Source)
   at javax.swing.TimerQueue.postExpiredTimers(Unknown Source)
   at javax.swing.TimerQueue.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
JNLPAppletLauncher: static initializer
Exception in trigger:
java.lang.IllegalArgumentException: Contrast must be in the range [0.25, 4]
   at com.sun.scenario.effect.ColorAdjust.setContrast(Unknown Source)
   at javafx.scene.effect.ColorAdjust$5.onChange(Unknown Source)
   at com.sun.javafx.runtime.location.FloatVariable$4.onAction(Unknown Source)
   at com.sun.javafx.runtime.location.FloatVariable$4.onAction(Unknown Source)
   at com.sun.javafx.runtime.location.DependencyIterator.action(Unknown Source)
   at com.sun.javafx.runtime.location.DependencyIterator.action(Unknown Source)
   at com.sun.javafx.runtime.util.Linkables.iterate(Unknown Source)
   at com.sun.javafx.runtime.location.AbstractLocation.iterateChildren(Unknown Source)
   at com.sun.javafx.runtime.location.FloatVariable.notifyListeners(Unknown Source)
   at com.sun.javafx.runtime.location.FloatVariable.replaceValue(Unknown Source)
   at com.sun.javafx.runtime.location.FloatVariable.setAsFloat(Unknown Source)
   at com.sun.javafx.runtime.location.FloatVariable$2.apply(Unknown Source)
   at com.sun.javafx.runtime.location.AbstractVariable.needDefault(Unknown Source)
   at javafx.scene.effect.ColorAdjust.initialize$(Unknown Source)
   at microbotwars.BackgroundLoader.<clinit>(BackgroundLoader.fx:28)
   at microbotwars.RenderWindow.<clinit>(RenderWindow.fx:50)
   at microbotwars.Main.javafx$run$(Main.fx:18)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at com.sun.javafx.runtime.adapter.Applet.launchStage(Unknown Source)
   at com.sun.javafx.runtime.adapter.Applet$1.lambda(Unknown Source)
   at com.sun.javafx.runtime.adapter.Applet$1.invoke(Unknown Source)
   at com.sun.javafx.runtime.adapter.Applet$1.invoke(Unknown Source)
   at com.sun.javafx.runtime.Entry$2.run(Unknown Source)
   at java.awt.event.InvocationEvent.dispatch(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)
Exception in trigger:
com.sun.media.jmc.OperationUnsupportedException: Invalid stop time specified
   at com.sun.media.jmcimpl.plugins.javapeer.MediaPlayer.setStopTime(Unknown Source)
   at com.sun.media.jmc.MediaProvider.setStopTime(Unknown Source)
   at javafx.scene.media.MediaPlayer$8.onChange(Unknown Source)
   at javafx.scene.media.MediaPlayer$8.onChange(Unknown Source)
   at com.sun.javafx.runtime.location.ObjectVariable$2.onAction(Unknown Source)
   at com.sun.javafx.runtime.location.ObjectVariable$2.onAction(Unknown Source)
   at com.sun.javafx.runtime.location.DependencyIterator.action(Unknown Source)
   at com.sun.javafx.runtime.location.DependencyIterator.action(Unknown Source)
   at com.sun.javafx.runtime.util.Linkables.iterate(Unknown Source)
   at com.sun.javafx.runtime.location.AbstractLocation.iterateChildren(Unknown Source)
   at com.sun.javafx.runtime.location.ObjectVariable.notifyListeners(Unknown Source)
   at com.sun.javafx.runtime.location.ObjectVariable.replaceValue(Unknown Source)
   at com.sun.javafx.runtime.location.ObjectVariable.set(Unknown Source)
   at javafx.scene.media.MediaPlayer$1.onChange(Unknown Source)
   at javafx.scene.media.MediaPlayer$1.onChange(Unknown Source)
   at com.sun.javafx.runtime.location.ObjectVariable$2.onAction(Unknown Source)
   at com.sun.javafx.runtime.location.ObjectVariable$2.onAction(Unknown Source)
   at com.sun.javafx.runtime.location.DependencyIterator.action(Unknown Source)
   at com.sun.javafx.runtime.location.DependencyIterator.action(Unknown Source)
   at com.sun.javafx.runtime.util.Linkables.iterate(Unknown Source)
   at com.sun.javafx.runtime.location.AbstractLocation.iterateChildren(Unknown Source)
   at com.sun.javafx.runtime.location.ObjectVariable.notifyListeners(Unknown Source)
   at com.sun.javafx.runtime.location.ObjectVariable.replaceValue(Unknown Source)
   at com.sun.javafx.runtime.location.ObjectVariable.set(Unknown Source)
   at com.sun.javafx.runtime.location.AbstractVariable$4.apply(Unknown Source)
   at com.sun.javafx.runtime.location.AbstractVariable.needDefault(Unknown Source)
   at javafx.scene.media.MediaPlayer.initialize$(Unknown Source)
   at microbotwars.RenderWindow.<clinit>(RenderWindow.fx:93)
   at microbotwars.Main.javafx$run$(Main.fx:18)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at com.sun.javafx.runtime.adapter.Applet.launchStage(Unknown Source)
   at com.sun.javafx.runtime.adapter.Applet$1.lambda(Unknown Source)
   at com.sun.javafx.runtime.adapter.Applet$1.invoke(Unknown Source)
   at com.sun.javafx.runtime.adapter.Applet$1.invoke(Unknown Source)
   at com.sun.javafx.runtime.Entry$2.run(Unknown Source)
   at java.awt.event.InvocationEvent.dispatch(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)

People make games and games make people
Offline zammbi

JGO Coder


Medals: 4



« Reply #9 - Posted 2009-05-28 14:52:06 »

Quote
java.lang.IllegalArgumentException: Contrast must be in the range [0.25, 4]
Ah there we go. Try it now.

Crap that means I gave a buggy version for the contest.

As for the other error "Invalid stop time specified", its a bug in JavaFX but things still work fine.


Current project - Rename and Sort
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline zoto

Senior Duke


Medals: 4



« Reply #10 - Posted 2009-05-28 15:16:41 »

It worked for me in Firefox 3 on vista32. I didn't think I could shoot either but then I noticed it was hurting the other ball, just no visible bullet graphic.
Offline CyanPrime
« Reply #11 - Posted 2009-05-28 15:18:37 »

sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: java.io.IOException: Response is unreliable: its validity interval is out-of-date
   at sun.security.validator.PKIXValidator.doValidate(Unknown Source)
   at sun.security.validator.PKIXValidator.doValidate(Unknown Source)
   at sun.security.validator.PKIXValidator.engineValidate(Unknown Source)
   at sun.security.validator.Validator.validate(Unknown Source)
   at sun.security.validator.Validator.validate(Unknown Source)
   at com.sun.deploy.security.TrustDecider.isAllPermissionGranted(Unknown Source)
   at com.sun.javaws.security.AppPolicy.grantUnrestrictedAccess(Unknown Source)
   at com.sun.javaws.LaunchDownload.checkSignedResourcesHelper(Unknown Source)
   at com.sun.javaws.LaunchDownload.checkSignedResources(Unknown Source)
   at com.sun.javaws.Launcher.prepareLaunchFile(Unknown Source)
   at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
   at com.sun.javaws.Launcher.launch(Unknown Source)
   at com.sun.javaws.Main.launchApp(Unknown Source)
   at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
   at com.sun.javaws.Main$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Caused by: java.security.cert.CertPathValidatorException: java.io.IOException: Response is unreliable: its validity interval is out-of-date
   at sun.security.provider.certpath.PKIXMasterCertPathValidator.validate(Unknown Source)
   at sun.security.provider.certpath.PKIXCertPathValidator.doValidate(Unknown Source)
   at sun.security.provider.certpath.PKIXCertPathValidator.engineValidate(Unknown Source)
   at java.security.cert.CertPathValidator.validate(Unknown Source)
   ... 16 more
Caused by: java.io.IOException: Response is unreliable: its validity interval is out-of-date
   at sun.security.provider.certpath.OCSPResponse$SingleResponse.<init>(Unknown Source)
   at sun.security.provider.certpath.OCSPResponse$SingleResponse.<init>(Unknown Source)
   at sun.security.provider.certpath.OCSPResponse.<init>(Unknown Source)
   at sun.security.provider.certpath.OCSPChecker.check(Unknown Source)
   ... 20 more
Offline zammbi

JGO Coder


Medals: 4



« Reply #12 - Posted 2009-05-28 15:29:46 »

It worked for me in Firefox 3 on vista32. I didn't think I could shoot either but then I noticed it was hurting the other ball, just no visible bullet graphic.
Bullet is small, I might have to make it larger.

CyanPrime I have no idea on that error. Google didn't help. Anyone know why?

Edit: Bullets are more visible.

Current project - Rename and Sort
Offline DzzD
« Reply #13 - Posted 2009-05-28 16:38:10 »

Quote
Java Plug-in 1.6.0_07
Utilisation de la version JRE 1.6.0_07 Java HotSpot(TM) Client VM
Répertoire d'accueil de l'utilisateur = C:\Documents and Settings\-DzzD-


----------------------------------------------------
c:   effacer la fenêtre de la console
f:   finaliser les objets de la file d'attente de finalisation
g:   libérer la mémoire
h:   afficher ce message d'aide
l:   vider la liste des chargeurs de classes
m:   imprimer le relevé d'utilisation de la mémoire
o:   déclencher la consignation
p:   recharger la configuration du proxy
q:   masquer la console
r:   recharger la configuration des politiques
s:   vider les propriétés système et déploiement
t:   vider la liste des threads
v:   vider la pile des threads
x:   effacer le cache de chargeurs de classes
0-5: fixer le niveau de traçage à <n>
----------------------------------------------------

JNLPAppletLauncher: static initializer
Exception in trigger:
com.sun.media.jmc.OperationUnsupportedException: Invalid stop time specified
   at com.sun.media.jmcimpl.plugins.javapeer.MediaPlayer.setStopTime(Unknown Source)
   at com.sun.media.jmc.MediaProvider.setStopTime(Unknown Source)
   at javafx.scene.media.MediaPlayer$8.onChange(Unknown Source)
   at javafx.scene.media.MediaPlayer$8.onChange(Unknown Source)
   at com.sun.javafx.runtime.location.ObjectVariable$2.onAction(Unknown Source)
   at com.sun.javafx.runtime.location.ObjectVariable$2.onAction(Unknown Source)
   at com.sun.javafx.runtime.location.DependencyIterator.action(Unknown Source)
   at com.sun.javafx.runtime.location.DependencyIterator.action(Unknown Source)
   at com.sun.javafx.runtime.util.Linkables.iterate(Unknown Source)
   at com.sun.javafx.runtime.location.AbstractLocation.iterateChildren(Unknown Source)
   at com.sun.javafx.runtime.location.ObjectVariable.notifyListeners(Unknown Source)
   at com.sun.javafx.runtime.location.ObjectVariable.replaceValue(Unknown Source)
   at com.sun.javafx.runtime.location.ObjectVariable.set(Unknown Source)
   at javafx.scene.media.MediaPlayer$1.onChange(Unknown Source)
   at javafx.scene.media.MediaPlayer$1.onChange(Unknown Source)
   at com.sun.javafx.runtime.location.ObjectVariable$2.onAction(Unknown Source)
   at com.sun.javafx.runtime.location.ObjectVariable$2.onAction(Unknown Source)
   at com.sun.javafx.runtime.location.DependencyIterator.action(Unknown Source)
   at com.sun.javafx.runtime.location.DependencyIterator.action(Unknown Source)
   at com.sun.javafx.runtime.util.Linkables.iterate(Unknown Source)
   at com.sun.javafx.runtime.location.AbstractLocation.iterateChildren(Unknown Source)
   at com.sun.javafx.runtime.location.ObjectVariable.notifyListeners(Unknown Source)
   at com.sun.javafx.runtime.location.ObjectVariable.replaceValue(Unknown Source)
   at com.sun.javafx.runtime.location.ObjectVariable.set(Unknown Source)
   at com.sun.javafx.runtime.location.AbstractVariable$4.apply(Unknown Source)
   at com.sun.javafx.runtime.location.AbstractVariable.needDefault(Unknown Source)
   at javafx.scene.media.MediaPlayer.initialize$(Unknown Source)
   at microbotwars.RenderWindow.<clinit>(RenderWindow.fx:93)
   at microbotwars.Main.javafx$run$(Main.fx:18)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at com.sun.javafx.runtime.adapter.Applet.launchStage(Unknown Source)
   at com.sun.javafx.runtime.adapter.Applet$1.lambda(Unknown Source)
   at com.sun.javafx.runtime.adapter.Applet$1.invoke(Unknown Source)
   at com.sun.javafx.runtime.adapter.Applet$1.invoke(Unknown Source)
   at com.sun.javafx.runtime.Entry$2.run(Unknown Source)
   at java.awt.event.InvocationEvent.dispatch(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)

even with that exception Applet start and sound is ok but I am unable to move or to do anything

Offline zammbi

JGO Coder


Medals: 4



« Reply #14 - Posted 2009-05-28 20:39:39 »

That error comes from not liking one of my mp3's. But so far that hasn't caused any problems for me. Not sure why you can't move... is it a problem with the webstart too?

Current project - Rename and Sort
Offline DzzD
« Reply #15 - Posted 2009-05-28 22:06:32 »

That error comes from not liking one of my mp3's. But so far that hasn't caused any problems for me. Not sure why you can't move... is it a problem with the webstart too?
but... I hate Webstart  Cry,

ok... for you ... I did a test and unfortunatly seems worse than the Applet

Offline zammbi

JGO Coder


Medals: 4



« Reply #16 - Posted 2009-05-28 22:20:42 »

Thanks, though that still didn't help  Undecided
Not sure what's going on here.

Current project - Rename and Sort
Offline Gudradain
« Reply #17 - Posted 2009-05-30 00:14:29 »

Applet work here. But it throw that :
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27  
28  
29  
30  
31  
32  
33  
34  
35  
36  
37  
38  
39  
40  
41  
42  
43  
44  
45  
46  
47  
48  
Exception in trigger:
com.sun.media.jmc.OperationUnsupportedException: Invalid stop time specified
   at com.sun.media.jmcimpl.plugins.javapeer.MediaPlayer.setStopTime(Unknown Source)
   at com.sun.media.jmc.MediaProvider.setStopTime(Unknown Source)
   at javafx.scene.media.MediaPlayer$8.onChange(Unknown Source)
   at javafx.scene.media.MediaPlayer$8.onChange(Unknown Source)
   at com.sun.javafx.runtime.location.ObjectVariable$2.onAction(Unknown Source)
   at com.sun.javafx.runtime.location.ObjectVariable$2.onAction(Unknown Source)
   at com.sun.javafx.runtime.location.DependencyIterator.action(Unknown Source)
   at com.sun.javafx.runtime.location.DependencyIterator.action(Unknown Source)
   at com.sun.javafx.runtime.util.Linkables.iterate(Unknown Source)
   at com.sun.javafx.runtime.location.AbstractLocation.iterateChildren(Unknown Source)
   at com.sun.javafx.runtime.location.ObjectVariable.notifyListeners(Unknown Source)
   at com.sun.javafx.runtime.location.ObjectVariable.replaceValue(Unknown Source)
   at com.sun.javafx.runtime.location.ObjectVariable.set(Unknown Source)
   at javafx.scene.media.MediaPlayer$1.onChange(Unknown Source)
   at javafx.scene.media.MediaPlayer$1.onChange(Unknown Source)
   at com.sun.javafx.runtime.location.ObjectVariable$2.onAction(Unknown Source)
   at com.sun.javafx.runtime.location.ObjectVariable$2.onAction(Unknown Source)
   at com.sun.javafx.runtime.location.DependencyIterator.action(Unknown Source)
   at com.sun.javafx.runtime.location.DependencyIterator.action(Unknown Source)
   at com.sun.javafx.runtime.util.Linkables.iterate(Unknown Source)
   at com.sun.javafx.runtime.location.AbstractLocation.iterateChildren(Unknown Source)
   at com.sun.javafx.runtime.location.ObjectVariable.notifyListeners(Unknown Source)
   at com.sun.javafx.runtime.location.ObjectVariable.replaceValue(Unknown Source)
   at com.sun.javafx.runtime.location.ObjectVariable.set(Unknown Source)
   at com.sun.javafx.runtime.location.AbstractVariable$4.apply(Unknown Source)
   at com.sun.javafx.runtime.location.AbstractVariable.needDefault(Unknown Source)
   at javafx.scene.media.MediaPlayer.initialize$(Unknown Source)
   at microbotwars.RenderWindow.<clinit>(RenderWindow.fx:93)
   at microbotwars.Main.javafx$run$(Main.fx:18)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at com.sun.javafx.runtime.adapter.Applet.launchStage(Unknown Source)
   at com.sun.javafx.runtime.adapter.Applet$1.lambda(Unknown Source)
   at com.sun.javafx.runtime.adapter.Applet$1.invoke(Unknown Source)
   at com.sun.javafx.runtime.adapter.Applet$1.invoke(Unknown Source)
   at com.sun.javafx.runtime.Entry$2.run(Unknown Source)
   at java.awt.event.InvocationEvent.dispatch(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)


Nice music. Bullet is really too small.

N.B. Please remove the install shortcut with Webstart
Offline zammbi

JGO Coder


Medals: 4



« Reply #18 - Posted 2009-06-05 07:51:21 »

Updated, hopefully should work better being JavaFX 1.2.

About the control issue:

Quote
RT-4802: Applet might not respond to user input.

Description: Under some conditions, an applet window loses keyboard focus and is unable to regain focus. When this occurs, the applet is unable to respond to user input. This bug is often triggered in a tabbed browser, after the user has selected another tab in the same browser window and then returns to the original tab. This issue occurs on Firefox 3.0 and Internet Explorer 7 on Windows, on Firefox 3.0 on Linux, and on Firefox 3.0 on OpenSolaris.


Edit: server problems, fixing them...

Current project - Rename and Sort
Offline zammbi

JGO Coder


Medals: 4



« Reply #19 - Posted 2009-06-05 08:38:43 »

Ok back up. Seems this server didn't have the jnlp mime type. Annoying...

Current project - Rename and Sort
Offline trembovetski

Senior Duke




If only I knew what I'm talking about!


« Reply #20 - Posted 2009-06-05 18:51:00 »

Updated, hopefully should work better being JavaFX 1.2.

About the control issue:


Yeah, I was wondering if 1.2 helped this - there were fixes in this area late in the release.
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

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

The first screenshot will be displayed as a thumbnail.

Longarmx (36 views)
2014-10-17 03:59:02

Norakomi (28 views)
2014-10-16 15:22:06

Norakomi (24 views)
2014-10-16 15:20:20

lcass (27 views)
2014-10-15 16:18:58

TehJavaDev (52 views)
2014-10-14 00:39:48

TehJavaDev (54 views)
2014-10-14 00:35:47

TehJavaDev (42 views)
2014-10-14 00:32:37

BurntPizza (63 views)
2014-10-11 23:24:42

BurntPizza (36 views)
2014-10-11 23:10:45

BurntPizza (77 views)
2014-10-11 22:30:10
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
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!