Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (107)
games submitted by our members
Games in WIP (536)
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  
  Space Monkies!  (Read 6067 times)
0 Members and 1 Guest are viewing this topic.
Offline Orangy Tang

JGO Kernel


Medals: 56
Projects: 11


Monkey for a head


« Posted 2006-10-28 13:25:58 »

[size=14pt]Space Monkies![/size]

Space monkies is a fast action game done in 3 days, with me programming and a bunch of very cool artists doing the art.

You and a whole bunch of other monkeys have been fired into space to test the a space station. Unfortunatly eveyone else has gone nuts and you've got to try and stay alive by killing the evil monkeys and capturing the bananas. Gameplay is based on Smash TV, but unfortunately I didn't have time to add the ridiculous bonus items (or a whole bunch of other features).

Move around the screen shooting the evil monkeys, touching an evil monkey will get you killed. When killed you'll respawn in the center with 3 seconds of invunerability. Grab the banana robot for a big points bonus. Both players get four lives, and the winner is the one with most points when both players have run out of lives.





Controls
Player 1: WASD for movement, IJKL for shooting. HUD on left.
Player 2: Cursor/arrow keys for movement, numpad 8456 for shooting (make sure you've got numlock on!) HUD on right.

Windows version:
Download Space Monkies. You should be able to unzip to whereever you want, then just run the exe.

Non-windows webstart version:
Space Monkies Webstart link. Should work on Mac, Linux and Windows.

Enjoy!

Edit: Cheaky bloody forum software is resizing the images. View them properly here:
http://www.orangytang.net/ProjectX/welcome-screen.png
http://www.orangytang.net/ProjectX/Final2.png
http://www.orangytang.net/ProjectX/Final1.png

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

JGO Knight


Medals: 19
Projects: 1


I'm gonna wring your pants!


« Reply #1 - Posted 2006-10-28 15:50:22 »

nice!
a lot of monkies on 4th level tho!

what are shooting controls for 2nd player ?

Offline Orangy Tang

JGO Kernel


Medals: 56
Projects: 11


Monkey for a head


« Reply #2 - Posted 2006-10-28 16:15:53 »

Yeah, the difficulty level isn't very forgiving  Grin

Player 2 should use numpad 8456 to shoot (8 is up, 5 is down, 4 for left and 6 for right), if that doesn't work then maybe you don't have numlock on?

[ TriangularPixels.com - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline nva225

Junior Member





« Reply #3 - Posted 2006-10-28 16:54:23 »

Too many... monkeys... need powerups =P

Either that or a nonconstant stream of monkeys so I have a hope of being able to move somewhere. I feel kinda like I get trapped on 4th wave within a box of monkeyish doom.

That said it does run pretty smooth and controls responsively, for 3 days I really can't criticize you for not being able to get banana bombs/nukes whatever in. =)
Offline oNyx

JGO Coder


Medals: 1


pixels! :x


« Reply #4 - Posted 2006-10-28 18:11:28 »

>Non-windows people will have to wait until I get a webstart version up.

Sad

I so want to play it.

弾幕 ☆ @mahonnaiseblog
Offline woogley
« Reply #5 - Posted 2006-10-28 20:30:15 »

sweet! that killed an hour of my time before I even realized it
Offline kappa
« League of Dukes »

JGO Kernel


Medals: 74
Projects: 15


★★★★★


« Reply #6 - Posted 2006-10-28 21:40:10 »

Non-windows people will have to wait until I get a webstart version up.

waits  Cry
Offline Orangy Tang

JGO Kernel


Medals: 56
Projects: 11


Monkey for a head


« Reply #7 - Posted 2006-10-29 02:07:42 »

Webstart version is (tentativly) here: http://www.orangytang.net/ProjectX/Webstart/SpaceMonkies.jnlp

Disclaimer: The webstart version hasn't got as much testing as the windows exe version, but I know of no reason why it shouldn't work. It also hasn't been tested on anything other than windows, so as usual if it doesn't work come and gripe about it here.

[ TriangularPixels.com - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Offline CommanderKeith
« Reply #8 - Posted 2006-10-29 04:46:45 »

Looks really good!

I get a 'downlaod stalled' in the Web Start dialogue, however.

EDIT: After leaving it for a while, it worked.  That massive wave of monkeys is impossible! Excellent game. 

EDIT2: By the way, the first time you press 'start' it takes about 10 seconds to load and I thought that it froze.  It did work, but maybe a progress bar would be good.

Offline Orangy Tang

JGO Kernel


Medals: 56
Projects: 11


Monkey for a head


« Reply #9 - Posted 2006-10-29 11:14:17 »

I get a 'downlaod stalled' in the Web Start dialogue, however.

EDIT: After leaving it for a while, it worked.  That massive wave of monkeys is impossible! Excellent game. 

EDIT2: By the way, the first time you press 'start' it takes about 10 seconds to load and I thought that it froze.  It did work, but maybe a progress bar would be good.
Cheers  Grin

I've never seen the 'download stalled' thing, that might just be because of the size. The initial freeze on the first game is while it loads all the backgrounds - for some reason it takes about four times as long with the webstart version, and I didn't have time for any fancy loading bars.

[ TriangularPixels.com - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline CommanderKeith
« Reply #10 - Posted 2006-10-29 11:22:52 »

I was using Java 6, so maybe it displays a different message in Java 5.

My brothers have been playing, they're really impressed with the graphics and even asked me if it can be done in Java  Tongue

Offline oNyx

JGO Coder


Medals: 1


pixels! :x


« Reply #11 - Posted 2006-10-29 13:21:37 »

Ye, that "stalled" message is a Java 6 thing. You get it pretty easily whenever the download drops to 0 for a second.

弾幕 ☆ @mahonnaiseblog
Offline jojoh

JGO Knight


Medals: 5
Projects: 7


games4j.com


« Reply #12 - Posted 2006-10-29 13:29:52 »

org.lwjgl.opengl.OpenGLException: Invalid enum (1280)
   at org.lwjgl.opengl.Util.checkGLError(Util.java:56)
   at org.lwjgl.opengl.Display.swapBuffers(Display.java:567)
   at org.lwjgl.opengl.Display.update(Display.java:583)
   at projectx.ProjectX.run(ProjectX.java:244)
   at projectx.ProjectX.main(ProjectX.java:90)
   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.continueLaunch(Unknown Source)
   at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
   at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
   at com.sun.javaws.Launcher.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)

 Cry
Webstart with winXP, Java 1.5, and some ATI card, screen res 1400x1050

Offline Orangy Tang

JGO Kernel


Medals: 56
Projects: 11


Monkey for a head


« Reply #13 - Posted 2006-10-29 13:44:12 »

Dang, thats going to be a right pain to track down.

Do you happen to know the exact ATi card and drivers you've got installed (should be somewhere in your display settings). I'd guess that you don't have a current version of OpenGL. Although what exactly could be tripping that I'm not sure - about the only non-GL1.1 thing I use is CLAMP_TO_EDGE.

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

JGO Coder


Medals: 1


pixels! :x


« Reply #14 - Posted 2006-10-29 13:56:20 »

Bombs with:
org.lwjgl.LWJGLException: No suitable display modes found.

On some win2k machine with a gf6600. Most likely because you request a specific refresh rate.

弾幕 ☆ @mahonnaiseblog
Offline kappa
« League of Dukes »

JGO Kernel


Medals: 74
Projects: 15


★★★★★


« Reply #15 - Posted 2006-10-29 15:01:37 »


i'm getting the following error before it closes,
runnin on linux, nvidia 5900xt, java 1.5
if i was to guess i'd say it was that your are trying ot set the color to 32bit while linux only supports 24bit.

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
Attempting to create screen display...    
Running in windowed mode.    
No suitable display modes detected!    
org.lwjgl.LWJGLException: No suitable display modes found.    
org.lwjgl.LWJGLException: No suitable display modes found.    
projectx.ProjectX.createDisplay(ProjectX.java:124)    
projectx.ProjectX.main(ProjectX.java:59)    
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)    
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)    
java.lang.reflect.Method.invoke(Method.java:585)    

com.sun.javaws.Launcher.executeApplication(Launcher.java:1154)    
com.sun.javaws.Launcher.executeMainClass(Launcher.java:1101)    
com.sun.javaws.Launcher.continueLaunch(Launcher.java:944)    
com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:515)    
com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:218)    
com.sun.javaws.Launcher.run(Launcher.java:165)  
java.lang.Thread.run(Thread.java:595)
Offline nva225

Junior Member





« Reply #16 - Posted 2006-10-30 05:52:00 »

On my Windows 98 machine, Ti-4200, I get the same thing as Jojoh, with the Invalid enum exception.

My windows XP works just fine though (geforce 6600gt)
Offline ENC

Junior Member





« Reply #17 - Posted 2006-10-30 10:24:56 »

I used the JNLP on Windows and got the following exception:

org.lwjgl.opengl.OpenGLException: Invalid enum (1280)
   at org.lwjgl.opengl.Util.checkGLError(Util.java:56)
   at org.lwjgl.opengl.Display.swapBuffers(Display.java:567)
   at org.lwjgl.opengl.Display.update(Display.java:583)
   at projectx.ProjectX.run(ProjectX.java:244)
   at projectx.ProjectX.main(ProjectX.java:90)
   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.continueLaunch(Unknown Source)
   at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
   at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
   at com.sun.javaws.Launcher.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Offline jojoh

JGO Knight


Medals: 5
Projects: 7


games4j.com


« Reply #18 - Posted 2006-10-30 12:39:42 »

Dang, thats going to be a right pain to track down.

Do you happen to know the exact ATi card and drivers you've got installed (should be somewhere in your display settings). I'd guess that you don't have a current version of OpenGL. Although what exactly could be tripping that I'm not sure - about the only non-GL1.1 thing I use is CLAMP_TO_EDGE.
Hi,

Yep, I had some problems updating the driver, somehtin about IBM lap needed a non standard ATI driver or so, can't remember exactly what it was... Driver is probably ~1y old. Card is ATI mobility radeon 9600. The funky thing is that I tested Space Monkeys at work with lcd screen as primary display and it works fine. I thought that the enum 1280 sounds like a screen res, and it might not have 1400x1050 enumed...  Undecided Not sure if that is the case. Work lcd is at 1600x1200 and probably a bit more standard, so that could be it. Or you have found and fixed the problem?

Really nice looking game, but difficulty ramps up brutally fast, or jumps really after level 4.

If you have an overflow of art and 3D code, then you are very welcome to join the project I am sort of working on. It has only gameplay and horrible art and no 3D, but with the intent to get that fixed. It would certainly make a huge improvment.
http://www.java-gaming.org/forums/index.php?topic=15064.0

Offline Orangy Tang

JGO Kernel


Medals: 56
Projects: 11


Monkey for a head


« Reply #19 - Posted 2006-10-30 14:43:04 »

Haha, I found out why it was so much harder than it should have been - a bug caused the maximum amount of enemies on a level to be spawed out of all the doors, instead of just that one. With that fixed, it's pathetically easy. So I've tweeked the levels to try and get a smoother difficulty curve, somewhere between the two. As a single player I can now loop though the levels (10 total) at least once so everyone should at least stand a chance now.

For the "cannont create a display", I've relaxed the refresh requirements, so that should hopefully be fixed now.

For the "invalid enum", I've changed some code which might fix it (but probably not). I've also added a whole heap of debugging stuff, so if you were getting that error before please try it again, and when it fails post the entire console output and exception message and I so I can fix it properly.

Both the webstart and exe version should be updated with the new version. Remember that webstart tends to cache files too much, so if you don't see it download anything then you're probably still running the old version.

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

JGO Kernel


Medals: 56
Projects: 11


Monkey for a head


« Reply #20 - Posted 2006-10-30 14:45:04 »

I thought that the enum 1280 sounds like a screen res, and it might not have 1400x1050 enumed...  Undecided Not sure if that is the case. Work lcd is at 1600x1200 and probably a bit more standard, so that could be it. Or you have found and fixed the problem?

Incidentally, the 1280 value is just the value indicating "invalid enum", not the value of the enum or anything helpful like that.

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

JGO Kernel


Medals: 74
Projects: 15


★★★★★


« Reply #21 - Posted 2006-10-30 16:15:54 »

game works great now, damn its addictive.

a screen with instructions on what that keys are would be nice.
Offline oNyx

JGO Coder


Medals: 1


pixels! :x


« Reply #22 - Posted 2006-10-30 17:38:21 »

>I've relaxed the refresh requirements, so that should hopefully be fixed now.

Yep, fixed here.

弾幕 ☆ @mahonnaiseblog
Offline ENC

Junior Member





« Reply #23 - Posted 2006-10-31 02:27:25 »

I was kind of desperate to play.. haha.. so I tried on my Windows Server 2003

but i still got the same error.... so sad..  Cry


org.lwjgl.opengl.OpenGLException: Invalid enum (1280)
   at org.lwjgl.opengl.Util.checkGLError(Util.java:56)
   at org.lwjgl.opengl.Display.swapBuffers(Display.java:567)
   at org.lwjgl.opengl.Display.update(Display.java:583)
   at projectx.ProjectX.run(ProjectX.java:244)
   at projectx.ProjectX.main(ProjectX.java:90)
   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.continueLaunch(Unknown Source)
   at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
   at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
   at com.sun.javaws.Launcher.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)

Offline nva225

Junior Member





« Reply #24 - Posted 2006-10-31 05:32:06 »

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
org.lwjgl.opengl.OpenGLException: Invalid enum (1280)
   at org.lwjgl.opengl.Util.checkGLError(Util.java:56)
   at projectx.ProjectX.run(ProjectX.java:249)
   at projectx.ProjectX.main(ProjectX.java:91)
   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)


Yep still same here. Are you aware Windows 98 ALWAYS tells LWJGL it has a refresh rate of 0hz? Maybe this is preventing it from starting up correctly?
Offline ENC

Junior Member





« Reply #25 - Posted 2006-10-31 06:03:01 »

It seems to only work on XP Home and Pro....  and Linux for the JNLP file...

I got my friends to test it out ^^

but it does not really work on Windows Server 2003... so sad...  Cry
Offline Orangy Tang

JGO Kernel


Medals: 56
Projects: 11


Monkey for a head


« Reply #26 - Posted 2006-10-31 10:33:23 »

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
org.lwjgl.opengl.OpenGLException: Invalid enum (1280)
   at org.lwjgl.opengl.Util.checkGLError(Util.java:56)
   at projectx.ProjectX.run(ProjectX.java:249)
   at projectx.ProjectX.main(ProjectX.java:91)
   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)


Yep still same here. Are you aware Windows 98 ALWAYS tells LWJGL it has a refresh rate of 0hz? Maybe this is preventing it from starting up correctly?

*cough*:

Quote
and when it fails post the entire console output and exception message and I so I can fix it properly.

C'mon guys, help me help you, eh?

And it's not the 0Hz, thing - I've already got a workaround in there for that.

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

JGO Kernel


Medals: 56
Projects: 11


Monkey for a head


« Reply #27 - Posted 2006-10-31 11:09:55 »

I think I've fixed that bug now, and theres a new version up for download. Make sure when you run it that it says "[Build 2]" either in the console or the window title, otherwise you're still running the old version.

Same method again if it fails - complete console log and exception trace please.

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

JGO Knight


Medals: 5
Projects: 7


games4j.com


« Reply #28 - Posted 2006-10-31 22:12:13 »

Yep, works fine for me now!

Funky thing, if you press j and l (shoot left and right) at the same time then you get at ball off spinning bananas where you stand  Cheesy

Offline ENC

Junior Member





« Reply #29 - Posted 2006-11-01 02:15:40 »

W00t! Great game! After much waiting... is it possible to come up with a single player space monkeys?  Grin Grin Grin
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!