Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (488)
Games in Android Showcase (112)
games submitted by our members
Games in WIP (553)
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  
  Stag Party 4k  (Read 3786 times)
0 Members and 1 Guest are viewing this topic.
Offline mlk

Junior Member




Muppet!


« Posted 2005-01-23 03:42:03 »

It is your Stag Party, so your mates decided it would be a bit of a laugh to open up an interdimensional portal, and throw you through! Now you are stuck dimension where evil cubes are trying to kill you, and all you have to ward them of it Small Good Cubes that fire out of your eye balls.

Yeah, the plot sucks, but that is fine; so does the game!

This is my first forte into writing a 3D game; it really does suck. As it is your stag party, you are very very drunk, that is why the controls make no sense. It has nothing to do with me being very confused over this strange 3D thing. No. Nothing at all...

No webstart get. Sorry.

Or manifest.
Or sound.
Or game play.

Start the game with
java -cp Mlk3D.jar Mlk3D

Controls:
Rotate: Left/Right/Up/Down/Z/X
Fire: Space
Quit: Escape





WebStarthttp://www.woogley.net/j4k/mlk/Mlk3D.jnlp
Exechttp://www.woogley.net/j4k/mlk/Mlk3D.jar
Srchttp://www.woogley.net/j4k/mlk/Mlk3D.html


A big Thanks to Woogley for the space! Grin

Edit: Removed warning, should not crash ppls boxes now!

Offline oNyx

JGO Coder


Medals: 2


pixels! :x


« Reply #1 - Posted 2005-01-23 04:25:59 »

o_O

The controls suck Grin

3860 7zip
3845 kzip

So... if you use a better zip program you can throw in a manifest.

弾幕 ☆ @mahonnaiseblog
Offline mlk

Junior Member




Muppet!


« Reply #2 - Posted 2005-01-23 04:30:13 »

Do you need a manifest for webstart? (not that I have it yet, should get round to it tonight)

In an act of unprecedented unlazyness, No it does not require a manifest Smiley

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline oNyx

JGO Coder


Medals: 2


pixels! :x


« Reply #3 - Posted 2005-01-23 05:04:56 »

>it does not require a manifest

True. (meknows)

Therefore my next one will use webstart (and because I can use 1.5's asskicking webstart-only compression thihi).

弾幕 ☆ @mahonnaiseblog
Offline KONI

Junior Member




Java games rock!


« Reply #4 - Posted 2005-01-23 08:43:20 »

wow, while launching webstart, your program tried going to Fullscreen...BUT then it just freezed my PC.

Windows XP, Java 1.5, Nvidia GeForce 6800

It actually couldn't go to Fullscreen (it also couldn't on my girlfriend's PC) and then resulted in a screen flickering and freeze of the system.
Offline kevglass

JGO Kernel


Medals: 159
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #5 - Posted 2005-01-23 09:23:17 »

Cool. I played it.. I had no idea.. I read the instructions, I still had no idea..

Then I died! Smiley

Still, looking forward see where it goes

Kev

Online Abuse

JGO Knight


Medals: 12


falling into the abyss of reality


« Reply #6 - Posted 2005-01-23 09:52:33 »

Quote
wow, while launching webstart, your program tried going to Fullscreen...BUT then it just freezed my PC.

Windows XP, Java 1.5, Nvidia GeForce 6800

It actually couldn't go to Fullscreen (it also couldn't on my girlfriend's PC) and then resulted in a screen flickering and freeze of the system.


Indeed, mlk has managed to find a way of completely f**king up 6800's.

*Warning*

DO NOT RUN THIS IF YOU HAVE A 6800.

It totally shagged my machine in exactly the same way as KONI.

Its almost like you are setting full screen mode every game loop mlk!?!

Make Elite IV:Dangerous happen! Pledge your backing at KICKSTARTER here! https://dl.dropbox.com/u/54785909/EliteIVsmaller.png
Offline JoC

Junior Member




I love YaBB 1G - SP1!


« Reply #7 - Posted 2005-01-23 10:31:40 »

I get a bluescreen with my gf4200
Offline Malohkan

Senior Member




while (true) System.out.println("WOO!!!!");


« Reply #8 - Posted 2005-01-23 15:39:40 »

ran fine for me on my Intel Fake Graphics an Win XP SP2 2ghz.  While the controls were annoying because they used global axes and not local, I still managed to stay alive for as long as I wanted Smiley  The more those big blocks came at me, the more angry I was at the woman who threw me in the portal.  I like the story Wink

Admin and Game Developer at
GameLizard.com
Play Rimscape!    |    Play Conquer!
Offline nonnus29

Senior Member




Giving Java a second chance after ludumdare fiasco


« Reply #9 - Posted 2005-01-23 16:39:51 »

I got this error:

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
C:\>java -cp Mlk3D.jar Mlk3D
Exception in thread "main" java.lang.UnsupportedClassVersionError: Mlk3D (Unsupp
orted major.minor version 49.0)
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.security.SecureClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$100(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)

C:\>java -version
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28)
Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode)

C:\>
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline cyberyoyo

Junior Member




Java games funk


« Reply #10 - Posted 2005-01-23 16:44:36 »

hey it works for me!(but it runs in a window not fullscreen)
It's good for 4k.
The controls would be better without the Z-X rotation that's useless and confusing.
Offline KONI

Junior Member




Java games rock!


« Reply #11 - Posted 2005-01-23 18:56:00 »

Quote


Indeed, mlk has managed to find a way of completely f**king up 6800's.

*Warning*

DO NOT RUN THIS IF YOU HAVE A 6800.

It totally shagged my machine in exactly the same way as KONI.

Its almost like you are setting full screen mode every game loop mlk!?!



Not only 6800, my girlfriend has a NVidia 5700FX and she get's the exact same error, only the game isn't freezing the machine, it has the same flickering but without freezing the machine.

Seems to me as if fullscreen was set at each repaint or if it would try entering fullscreen in an endless loop.
Offline mlk

Junior Member




Muppet!


« Reply #12 - Posted 2005-01-23 20:20:48 »

Wow, this is the second time I'm made Java crash a machine! Woot. (the first time was also a game, did something funny on NT boxes, worked fine on Solaris Grin )

It should never attempt to go fullscreen. Could it be a problem with drawing a VolatileImage[1] on a window? I'll look into.

Quote
(and because I can use 1.5's asskicking webstart-only compression thihi).

Ooo?? Tell me more...

Quote
Cool. I played it.. I had no idea.. I read the instructions, I still had no idea..  

That is very much what I think of it Smiley

Quote
I got this error:

I don't think it uses any 1.5 stuff, I'll recompile wih -target 1.4



[1] The Volatile image is created with:
1  
2  
3  
      VolatileImage bb = GraphicsEnvironment.getLocalGraphicsEnvironment()
          .getDefaultScreenDevice().getDefaultConfiguration()
          .createCompatibleVolatileImage(320, 200);


Offline oNyx

JGO Coder


Medals: 2


pixels! :x


« Reply #13 - Posted 2005-01-23 21:37:56 »

>Ooo?? Tell me more...

JWS 1.5 accepts p200/gzip as content encoding, to which you can react by sending an appropriate data stream together with the correct headers (content encoding).

First you create a jar, then obfuscate, then repack (uncompressed), then pack200 it and finally gzip it.

A.class -> a.jar -> a.jar.pack -> a.jar.pack.gz Smiley

It travels through the net like that and gets automatically decompressed (gz->pack->jar) by JWS right after the download.

Pack200 is a specialized compression scheme, which removes unnecessary stuff from jars. Together with gzip it can shrink jars extremely. Eg a 11621 byte class file gets down to 3578 bytes. The per method "penalty" gets also very tiny.

The disadvantage is that you need php, jsp, asp or something like that (and something like mod_rewrite if possible) for sending the correct headers and the file contents.

弾幕 ☆ @mahonnaiseblog
Offline woogley
« Reply #14 - Posted 2005-01-24 23:13:56 »

Quote
A big Thanks to Woogley for the space! Grin

Quite welcome Smiley

Interesting game btw.. very surprising you could fit that under 4k! Also I've never seen a java compiler with #define directives before?? maybe I am deprived...

and as oNyx is saying about the php.. that shouldn't be a problem (I'm running PHP4)
Offline mlk

Junior Member




Muppet!


« Reply #15 - Posted 2005-01-25 22:28:05 »

Quote

Interesting game btw.. very surprising you could fit that under 4k!

Thank you. Wink

I've now got the movement right (using local not global space). But I'm completely lost on getting the firing direction. Sad

I might roll back to the foo'd/drunk system, and upload a version which should not crash peoples computers Cheesy
Edit: Done

Quote

Also I've never seen a java compiler with #define directives before?? maybe I am deprived...

I run it through cpp first (cpp -P X.jp -o X X.java ).  Having Point3D's & Matrixs is much better than double arrays everywhere. It also lets me aggressively inline, without making the code ugly(er).

The only real problem is that I've not found a nice way to do
1  
point.normailze();

I currently have to manually name mange.
1  
point_normalize( point );


Quote

and as oNyx is saying about the php.. that shouldn't be a problem (I'm running PHP4)

Cool.

Offline mlk

Junior Member




Muppet!


« Reply #16 - Posted 2005-01-30 07:51:38 »

Yeah! Fixed both the movement, and the problem with it crashing. Tis uploaded.

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.

TehJavaDev (17 views)
2014-08-28 18:26:30

CopyableCougar4 (26 views)
2014-08-22 19:31:30

atombrot (39 views)
2014-08-19 09:29:53

Tekkerue (36 views)
2014-08-16 06:45:27

Tekkerue (33 views)
2014-08-16 06:22:17

Tekkerue (22 views)
2014-08-16 06:20:21

Tekkerue (33 views)
2014-08-16 06:12:11

Rayexar (68 views)
2014-08-11 02:49:23

BurntPizza (45 views)
2014-08-09 21:09:32

BurntPizza (36 views)
2014-08-08 02:01:56
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

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
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!