Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (495)
Games in Android Showcase (114)
games submitted by our members
Games in WIP (563)
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  
  Zombie Grinder  (Read 2805 times)
0 Members and 1 Guest are viewing this topic.
Offline Eli Delventhal

JGO Kernel


Medals: 42
Projects: 11
Exp: 10 years


Game Engineer


« Posted 2010-04-26 07:13:02 »

Webstart: http://www.otcsw.com/webstart/ZombieGrinder/ZombieGrinder.jnlp

http://www.ludumdare.com/compo/ludum-dare-17/?action=rate&uid=531

My LD 17 entry. I only had about 12 hours to work on it, turned out reasonably well.

Basically you are running from a horde of zombies on your left while stragglers on the right try to get you. Beat up the ones on the right but if you touch the horde you die. However, you can't lose (you just get plopped in again) so yeah. I might take that out later.


See my work:
OTC Software
Offline gouessej
« Reply #1 - Posted 2010-04-26 09:08:36 »

Hi!

I have just given it a try, nice job in only 12 hours  Grin

Offline Eli Delventhal

JGO Kernel


Medals: 42
Projects: 11
Exp: 10 years


Game Engineer


« Reply #2 - Posted 2010-04-27 18:15:30 »

Nobody's playing it? Bummer dude. I feel like CyanPrime.

Just kidding, CyanPrime. Smiley

I would appreciate it if people could give it a try, though, as some users are reporting unable to launch problems and I'd like to figure out what OS that might be coming from. I've personally tested it on Mac and PC (Windows XP) with Java 6 and it worked, but it should be fine for all versions of Java since 1.5 and all OS's.

See my work:
OTC Software
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline ShannonSmith
« Reply #3 - Posted 2010-04-27 19:38:44 »

Can't play it here at work because I have two monitors and it spreads across both extends down at what appears to be a 4:3 ratio so is chopped off at the bottom and I can't resize it.
Offline Riven
« League of Dukes »

JGO Overlord


Medals: 798
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #4 - Posted 2010-04-27 19:42:58 »

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
Bad sound loading: zombieattack.aid
java.lang.NullPointerException
   at sun.applet.AppletAudioClip.<init>(Unknown Source)
   at java.applet.Applet.newAudioClip(Unknown Source)
   at com.otcsw.lcr.sound.SoundManager.preloadSound(SoundManager.java:70)
   at com.otcsw.lcr.sound.SoundManager.initialize(SoundManager.java:39)
   at com.otcsw.lcr.Main.<init>(Main.java:55)
   at com.otcsw.lcr.Main.main(Main.java:62)
   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.javaws.Launcher.executeApplication(Unknown Source)
   at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
   at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
   at com.sun.javaws.Launcher.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)


Oh and... persecutioncomplex


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

JGO Kernel


Medals: 42
Projects: 11
Exp: 10 years


Game Engineer


« Reply #5 - Posted 2010-04-27 21:25:40 »

Hahahaha.

Wow. I totally forgot about that popup. I had it in my framework and forgot to take it out. As for the "aid" extension. Shit. Typo. Oh well, it turns out it was just in my preloadSound call, which is no big deal, as it ignores any problems it has and when it tries to play the sound later it'll just load it correctly then. The pop-over thing is obviously an issue (it happens if you press the E key, I think, and closes if you press W), which I'll fix and update. I doubt anybody at LD will care for something so minor.

Unfortunately in my haste to distribute I just threw everything into the same JAR, so it's a totally new 35mb download for everyone. Eventually I'll go in and separate sounds and images into their own jars.

[EDIT]Feck I just replaced it and then realized that I had file reading turned on (as opposed to reading from the classpath). Damn it. Re-uploading.[/EDIT]

See my work:
OTC Software
Offline Eli Delventhal

JGO Kernel


Medals: 42
Projects: 11
Exp: 10 years


Game Engineer


« Reply #6 - Posted 2010-04-28 17:46:03 »

Could someone with "Windows 7 and Java version 6 update 18" please try to run this? Someone from LD with these specs was unable to. Thanks!

See my work:
OTC Software
Offline kappa
« League of Dukes »

JGO Kernel


Medals: 77
Projects: 15


★★★★★


« Reply #7 - Posted 2010-04-28 17:56:22 »

Can't play it here at work because I have two monitors and it spreads across both extends down at what appears to be a 4:3 ratio so is chopped off at the bottom and I can't resize it.

same issue here, running at 1680*1050 resolution.
Offline Eli Delventhal

JGO Kernel


Medals: 42
Projects: 11
Exp: 10 years


Game Engineer


« Reply #8 - Posted 2010-04-28 19:28:22 »

same issue here, running at 1680*1050 resolution.
That's weird, considering it sets it to 1024x768 and doesn't assign fullscreen mode. I'll post the code I use to set up the window with LWJGL:

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
private boolean setDisplayMode()
   {
      try
      {
         DisplayMode[] dm = org.lwjgl.util.Display.getAvailableDisplayModes(1024, 768, -1, -1, -1, -1, 60, 60);

         org.lwjgl.util.Display.setDisplayMode(dm, new String[]
              {
               "width=" + 1024,
               "height=" + 768,
               "freq=" + 60,
               "bpp=" + org.lwjgl.opengl.Display.getDisplayMode().getBitsPerPixel()
              });
         return true;
      } catch (Exception e)
      {
         e.printStackTrace();
         System.out.println("Unable to enter fullscreen, continuing in windowed mode");
      }
      return false;
   }


And then afterwards there is a GLOrtho call. And actually I run it here on Mac OS X with two monitors and I don't get this problem.

See my work:
OTC Software
Offline fruitmaze

Senior Member


Medals: 3
Projects: 2



« Reply #9 - Posted 2010-04-28 19:40:31 »

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

JGO Kernel


Medals: 77
Projects: 15


★★★★★


« Reply #10 - Posted 2010-04-28 19:46:10 »

really odd, the Display height is definitely larger then 768 here at least.

not sure what's really going on you might want to try a something like the following code if your using windowed mode, might help

1  
2  
3  
4  
5  
6  
7  
8  
import org.lwjgl.opengl.DisplayMode;

..


DisplayMode targetDisplayMode = new DisplayMode(width,height);
Display.setDisplayMode(targetDisplayMode);
Display.create();
Offline Hansdampf

Senior Member


Projects: 3


too offending?


« Reply #11 - Posted 2010-04-28 19:58:04 »

Haha! Double Dragon reloaded  Smiley
Had much fun by
1) walking to the right side of the screen
2) let them kick/punch me to the boat

is the fat guy supposed to be the boss but you had no time left?

The webstart link in this thread didn't work for me (tried 5 times), the link on ludumdare worked fine.

lots of sillystupid games: http://www.emaggame.com
Offline Eli Delventhal

JGO Kernel


Medals: 42
Projects: 11
Exp: 10 years


Game Engineer


« Reply #12 - Posted 2010-04-28 21:28:57 »

Haha! Double Dragon reloaded  Smiley
Had much fun by
1) walking to the right side of the screen
2) let them kick/punch me to the boat

is the fat guy supposed to be the boss but you had no time left?

The webstart link in this thread didn't work for me (tried 5 times), the link on ludumdare worked fine.

Ha ha, if you saw the fat guy that's the default sprite so something didn't make it in somehow (probably "You Win!"). Good idea, though, the game totally should have a fat zombie boss.

See my work:
OTC Software
Offline arielsan
« Reply #13 - Posted 2010-04-28 22:41:46 »

That was your game  Grin!!! I have played it but I didn't read this post before. It worked for me on Ubuntu 32bits, nvidia 8400.

It is a good remake of games from Kunio Kun Series, I loved those games when I was a kid.

You have to play my game as well Tongue

Offline Eli Delventhal

JGO Kernel


Medals: 42
Projects: 11
Exp: 10 years


Game Engineer


« Reply #14 - Posted 2010-04-29 00:35:34 »

That was your game  Grin!!! I have played it but I didn't read this post before. It worked for me on Ubuntu 32bits, nvidia 8400.

It is a good remake of games from Kunio Kun Series, I loved those games when I was a kid.

You have to play my game as well Tongue
Alas!

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
4/28/10 5:30:59 PM   [0x0-0xc80c8].com.apple.Safari[609]   java.lang.ClassNotFoundException: org.newdawn.slick.AppletGameContainer
4/28/10 5:30:59 PM   [0x0-0xc80c8].com.apple.Safari[609]      at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:181)
4/28/10 5:30:59 PM   [0x0-0xc80c8].com.apple.Safari[609]      at java.lang.ClassLoader.loadClass(ClassLoader.java:315)
4/28/10 5:30:59 PM   [0x0-0xc80c8].com.apple.Safari[609]      at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:144)
4/28/10 5:30:59 PM   [0x0-0xc80c8].com.apple.Safari[609]      at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
4/28/10 5:30:59 PM   [0x0-0xc80c8].com.apple.Safari[609]      at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:662)
4/28/10 5:30:59 PM   [0x0-0xc80c8].com.apple.Safari[609]      at sun.applet.AppletPanel.createApplet(AppletPanel.java:785)
4/28/10 5:30:59 PM   [0x0-0xc80c8].com.apple.Safari[609]      at sun.plugin.AppletViewer.createApplet(AppletViewer.java:2372)
4/28/10 5:30:59 PM   [0x0-0xc80c8].com.apple.Safari[609]      at sun.applet.AppletPanel.runLoader(AppletPanel.java:714)
4/28/10 5:30:59 PM   [0x0-0xc80c8].com.apple.Safari[609]      at sun.applet.AppletPanel.run(AppletPanel.java:368)
4/28/10 5:30:59 PM   [0x0-0xc80c8].com.apple.Safari[609]      at java.lang.Thread.run(Thread.java:637)
4/28/10 5:31:36 PM   [0x0-0xc80c8].com.apple.Safari[609]   Exception in thread "AWT-EventQueue-2" java.lang.IllegalThreadStateException: forbid thread creation in disposed TG
4/28/10 5:31:36 PM   [0x0-0xc80c8].com.apple.Safari[609]      at sun.plugin.security.ActivatorSecurityManager.checkAccess(ActivatorSecurityManager.java:159)
4/28/10 5:31:36 PM   [0x0-0xc80c8].com.apple.Safari[609]      at java.lang.ThreadGroup.checkAccess(ThreadGroup.java:288)
4/28/10 5:31:36 PM   [0x0-0xc80c8].com.apple.Safari[609]      at java.lang.Thread.init(Thread.java:332)
4/28/10 5:31:36 PM   [0x0-0xc80c8].com.apple.Safari[609]      at java.lang.Thread.<init>(Thread.java:443)
4/28/10 5:31:36 PM   [0x0-0xc80c8].com.apple.Safari[609]      at java.awt.EventDispatchThread.<init>(EventDispatchThread.java:58)
4/28/10 5:31:36 PM   [0x0-0xc80c8].com.apple.Safari[609]      at java.awt.EventQueue$1.run(EventQueue.java:858)
4/28/10 5:31:36 PM   [0x0-0xc80c8].com.apple.Safari[609]      at java.security.AccessController.doPrivileged(Native Method)
4/28/10 5:31:36 PM   [0x0-0xc80c8].com.apple.Safari[609]      at java.awt.EventQueue.initDispatchThread(EventQueue.java:855)
4/28/10 5:31:36 PM   [0x0-0xc80c8].com.apple.Safari[609]      at java.awt.EventDispatchThread.run(EventDispatchThread.java:153)


I'll give it a try on PC later if I have time. But I probably won't. I'm going to be at a wedding all weekend.

See my work:
OTC Software
Offline arielsan
« Reply #15 - Posted 2010-04-29 00:54:23 »

I suppose that could be a problem with java applets as jnlp on mac (a feature of java 1.6.10+). You could try the webstart version instead, but if you could try the applet on PC, better Cheesy

thanks for trying it


Offline Marksman Ken

Senior Newbie





« Reply #16 - Posted 2010-04-30 16:29:04 »

I just tried it and everything works fine.

Specs:
Windows XP Media Center Edition
Java 1.6
Dual monitors at 1920 x 1200

I think its good and quite funny, the music and sound effects really make it lol
I like how guys drop down and fight with the zombies.
Pages: [1]
  ignore  |  Print  
 
 

 
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!