1945 The World at War (shooter)

Do you actually use Java 6? A lot of systems still use 5, including mine. I can’t play it as a result.

It crashed… :’(


Exception in thread "AWT-EventQueue-2" java.lang.ClassCastException: java.lang.String cannot be cast to AbstractSprite
	at AbstractSpriteHandler.registerSprites(AbstractSpriteHandler.java:59)
	at AbstractSpriteHandler.updateAllGroups(AbstractSpriteHandler.java:159)
	at Game1945.update(Game1945.java:276)
	at Game1945.actionPerformed(Game1945.java:290)
	at javax.swing.Timer.fireActionPerformed(Unknown Source)
	at javax.swing.Timer$DoPostEvent.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)


Ouch… that’s a first :frowning: Probably a small glitch in synchronization. I’ll look into it asap. Any more details??? e.g. when/where did it happen?? Anyway, thanks for reporting the problem.

Any particular reason why you cannot update to version 6??

It’s still not out for every OS.

At this point, it’s safer to use version 5 if you’re not using any of 6’s features.

Thanks dear

I was playing for maybe 20 or 30 seconds and was happily shooting enemy planes when this happened. I can’t remember doing anything special.

Ok… Thanks

Nice job …

well, at least somebody likes it ;D Cheers!!!

Cool but not easy as well. Graphics are great as well. And like the others said, it takes too long time to load. In the intro, you should skip a lot because it’s really too long. Or simply allow the player to press a key or mouse to skip the intro.

Another try, another crash… :’(

It crashed in the final assault phase, where you’ve to kill a 20 enemies. I was at 12 or something if that matters.


Exception in thread "AWT-EventQueue-3" java.lang.ArrayIndexOutOfBoundsException: 1 >= 1
	at java.util.Vector.elementAt(Unknown Source)
	at AbstractSpriteHandler.registerSprites(AbstractSpriteHandler.java:60)
	at AbstractSpriteHandler.updateAllGroups(AbstractSpriteHandler.java:159)
	at Game1945.update(Game1945.java:276)
	at Game1945.actionPerformed(Game1945.java:290)
	at javax.swing.Timer.fireActionPerformed(Unknown Source)
	at javax.swing.Timer$DoPostEvent.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)


I am sorry Egon. Still haven’t had time to sort it :frowning: I’ve just started a new job and they keep me real busy :’(

Thanks for trying anyway…

It takes like 3 seconds to compile it for Java 1.5 :wink: