Cosmic Trip updated, source available now

Hi there,

Cosmic Trip was updated a bit:

  • If you get more than 10 stars in a level, you take the remaining ones to the next level. Makes it a bit easier.
  • Added level 4.
  • Some little bits and bobs here and there that I forgot to mention.

If you like, you can also look at the source at
http://www.mycgiserver.com/~movegaga/ct_src.zip
but be warned: it’s a bit messy ::slight_smile:
Maybe it’s still useful somehow…

The game is at www.mycgiserver.com/~movegaga/cosmictrip.html

Thanks to Web Start, the download is only 81KB to upgrade to this version in case you already have an old version installed.

You need at least java 1.4 and a half decent 3D video card with openGL support.

Sorry, I still didn’t upgrade to the latest LWJGL version so some related LWJGL problems that affected some people will still be there. I promise I’ll better my life soon. :slight_smile:

Erik

Hmm, it changes my display mode but doesn’t respond after that.

celeron 400 (oc’d to 450)
geforce2mx
win2k

…just a note that Cas’s game works on my machine so this may be your problem. I’m not sure I have any error log because of JWS, I may be wrong.

edit: ah i didn’t read that last line, so it’s probably just that :wink:

I did notice that sometimes on some machines it takes a while before the textures are loaded (screen is black then).

You can output the log in JWS to a file by setting a flag in the JWS App. Manager (File->Preferences->Advanced)

Very cool game! ;D
How long did it take to make it?

When I enabled the console I acually got the black screen/loading instead of just looking at my desktop in low res. :stuck_out_tongue: So I dunno.

I’m horrible at your game btw.

[quote]Very cool game!
How long did it take to make it?
[/quote]
Thanks :slight_smile:
Hard to tell how long it took, really. Started it a few months ago and sometimes worked on it for a few hours after work, sometimes more than others. There was a version 1st (called ‘Duke Rogers’) that used Java2D with image scaling and I reused a lot of stuff from that.
I also had to learn some openGL in the process (I knew nothing about that when I started this).
The last few months I didn’t have much time to do anything at all with it, though.

Erik

[quote]When I enabled the console I acually got the black screen/loading instead of just looking at my desktop in low res. So I dunno.
[/quote]
I think (hope) this will be solved when I support the latest LWJGL.

Erik

BTW if you get low framerates for whatever reason, it will almost be unplayable. Collision detection depends a bit on a decent framerate. Which sucks of course, but so do low framerates in the first place ;D

Erik

[quote]Hmm, it changes my display mode but doesn’t respond after that.
[/quote]
Oh wait a minute, that’s probably the dreaded ‘LWJGL appearing behind all other windows bug’, meaning it was probably running behind your browser. Should be fixed in the latest LWJGL.

*downloading LWJGL 0.6 now… *::slight_smile:

Made the changes to make the game run on lwjgl 0.6 :slight_smile:
I can’t upload the new version right now, cos I can’t sign the jars from where I am now.
I’ll upload the changes tomorrow and post an update when I did.

Erik

A downloadable jar version would be nice. Webstart is somewhat b0rked ._.

Oh, you gotta love all that lingo: ‘b0rked’? ::slight_smile:

Anyway, I didn’t have any serious problems with web start (using web start 1.2 here) myself, but if you do and really want to download the jars, look in the jnlp file to see which jars you need to download.
I’ll see if I can find the time to make a download page for them to make this easier. No guarantees, though.

In any case, I won’t be creating seperate 1-jar distributions in case people have problems with JWS. If you have problems with that, please submit a JWS bug report at Sun or vote for an existing one.

Greetings,
Erik

‘b0rked’=broken (sry for using quake-english) :>

I’ve (and always had) problems with Webstart.

And I won’t submit a bugreport, simply because it’s useless (e.g. there is still no official useful timer). Without a big lobby, pushing my “request”, I’ve lost. As simple as that.

Ah well… I guess I won’t check out your game then.

well, for instance what exactly happens when you click on his web start link above?

[quote]And I won’t submit a bugreport, simply because it’s useless (e.g. there is still no official useful timer). Without a big lobby, pushing my “request”, I’ve lost.
[/quote]
Not quite.
If you do nothing about it, then you’ve lost and without even trying :-[…
Sure, we should have had the high resolution timer a long time ago (which, if I’m not mistaken, was an enhancement request, not a bug report), but this has nothing to do with submitting bugs in general.

I just got my new GeForce4 MX-440 SE. Very good, for Java that is. But it is so hard to collect those star-globes. The ship looks like it is going to run into them, but actually you see that it isn’t when it is too late. I have only gotten past to the second level once.

Keep up the good work! :wink:

Thanks :).
It’s actually pretty slow :stuck_out_tongue: when you don’t have a very fast video card, but that’s not because of java but because I’m probably doing something not so clever in the openGL part (but I’m not yet quite sure what). By far, the most time is spent in openGL :-/

One thing I noticed is after I started it, it asked me if I wanted to integrate the game onto the desktop, but that was after the game was started and in fullscreen mode. I had to alt-tab to get out and say “No”. Then when I would alt-tab back in, I didn’t have focus. So killed it and started again and it worked.

Looks pretty cool, but can’t play too much here at work ;D

btw b0rked is not quake-english but muppet-english :slight_smile:

I don’t really consider a GeForce 4 a very fast card now. Nvidia’s got that new GeForce FX with all that occlusion query stuff. The only reason i got Geforce 4 was that the Geforce FX needed a AGP 8x. Even though AGP is backward compatible, I decided that since i was not going to get a new computer soon, running a Geforce FX on an AGP 2x slot would be a great waste. But anyway, this is way off topic.

About the shortcut in Java Web Start. Mines displayed the dialog box before the game loaded. I chose to put the icon on. After I pressed yes, it started to load the game. Seems like lotsa people got different experiences with Java Web Start.

Nice little portal effect ;D

But i noticed that when you blow up after traversing the entire level without collecting 10 starglobes, the distance counter doesn’t say 0 but instead says 300 or so. I was so close to finishing, but it blew up on me.

I suggest that you get rid of the distance thingy. Just use the time. I mean its hard enough. :wink: