Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (539)
Games in Android Showcase (132)
games submitted by our members
Games in WIP (603)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1] 2 3
  ignore  |  Print  
  Cosmic Trip to be released  (Read 13413 times)
0 Members and 1 Guest are viewing this topic.
Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Posted 2003-12-17 15:59:55 »

Hi there,

I'm quite actively developing Cosmic Trip again, since I decided I might as well just go for it and finish it. When all is ready and finished, it will be released by Cas' Puppy Games. I'm very proud of that  Cheesy
Of course a lot has to be done still but I've made a lot of progress too in the meantime. Mainly in playability, game content and seriously cleaning the code (I deleted many evil premature optimizations, which resulted in much cleaner code. There's no a lot of object creating and deleting in the mainloop for example, and still no GC glitches at all. Kudos to Sun for that!).
The downside is that I won't be updating the version currently online but that one wasn't played much anyway.

Here is some new screenshots to hopefully wet your appetite  Smiley








Please note that a lot of graphics will change, because there is still some graphics there that's either ugly or... ahem.. err... ripped from Unreal  Lips Sealed

Erik

Offline princec

« JGO Spiffy Duke »


Medals: 434
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #1 - Posted 2003-12-17 17:39:36 »

It is looking very beautiful nonetheless Smiley I just hope you manage to make it absolutely manic! And mouse controlled.

Cas Smiley

Offline kevglass

« JGO Spiffy Duke »


Medals: 212
Projects: 24
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #2 - Posted 2003-12-18 05:01:46 »

This is great news! I've always found Cosmic Trip inspiring.

Look forward to buying the full version!

Kev

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

Senior Devvie


Medals: 4



« Reply #3 - Posted 2003-12-18 06:07:33 »

Looks very nice. :-)
Offline Herkules

Senior Devvie




Friendly fire isn't friendly!


« Reply #4 - Posted 2003-12-18 06:23:18 »

LSD?

HARDCODE    --     DRTS/FlyingGuns/JPilot/JXInput  --    skype me: joerg.plewe
Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #5 - Posted 2003-12-18 07:34:31 »

Quote
LSD?


Just a software substitute without the side effects  Grin

Offline Jens

Senior Devvie




Java for games!


« Reply #6 - Posted 2003-12-18 07:47:03 »

Looks a bit like the Descent game series.  Smiley

Xith3D Getting Started Guide (PDF,HTML,Source)
Offline wiederke

Junior Devvie




Thx to James Gosling.


« Reply #7 - Posted 2003-12-18 09:01:49 »

Hi,

looks GREAT. Keep it up to the end!!!


ciao torsten
Offline darcone

Junior Devvie




Size matters


« Reply #8 - Posted 2003-12-19 03:20:07 »

I expect you to add those poker playing monsters from Unreal as well!
Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #9 - Posted 2003-12-19 10:32:56 »

Just added particle explosions, plus one more baddy Smiley
However, I think I'll be rewriting some parts to make it use the latest LWJGL before adding more content.
That will also mean creating the GLU functions CT still uses...

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 #10 - Posted 2003-12-19 11:07:14 »

If you add a bit more freedom to move you can easily make a game like Starfox (aka Starwing) from SNES/N64 Smiley

Oh and the screenshots look pretty sweet Smiley

弾幕 ☆ @mahonnaiseblog
Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #11 - Posted 2003-12-19 11:53:43 »

Quote
If you add a bit more freedom to move you can easily make a game like Starfox (aka Starwing) from SNES/N64  


It's a good idea, but it will surely complicate things. I'm not very good at 3D math and AI and stuff, see?  Roll Eyes
First I'd like to make this a fun (if maybe technically simple) game.
But maybe something for Cosmic Trip 2?

Quote
Oh and the screenshots look pretty sweet  


Thank you (and everybody who commented) Smiley

Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #12 - Posted 2004-02-03 17:54:17 »

Little update:

* added mouse control
* added a config for keyboard set-up, screen set-up and such.
* added some multi-texturing (really improved the look of many things  Cheesy)
* rewrote some parts in the scene management to use ArrayList and Collections.sort(), but that was a disaster: Things got really slow and choppy and even more so if you played longer. I think I could have gotten around it by implementing my own List but decided to simply go back to the old code using 'good-ole' arrays, which worked pretty well already (if somewhat less clean). I probably will implement my own List if I were to start from scratch with a new game though and see how it goes.

Just to let you know it's not dead already  Smiley

Erik

Offline princec

« JGO Spiffy Duke »


Medals: 434
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #13 - Posted 2004-02-04 08:28:01 »

ArrayList is good enough, the problem is the very generic quicksort algorithm implementation in Collections.sort(). Radixsort would probably be best for you as you're pretty much guaranteed of its execution time and the implementation I use is much, much, much faster than Collections.sort().

Cas Smiley

Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #14 - Posted 2004-02-05 06:11:12 »

ArrayList was spending a lot of time in RangeCheck(index). Maybe Collections.sort() caused that, but for now with the old code, all is well.

Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #15 - Posted 2004-02-12 18:43:06 »

Ok, I've played the game way too much and I totally lost sense of what the experience is like to anybody else but me Grin
So I need play testers to see if it's not too difficult, not too dull, to see what I need to add, change etc.
If you're interested, mail me.

Erik

Offline jaigouk

Innocent Bystander




Java games rock!


« Reply #16 - Posted 2004-02-13 08:09:38 »

Smiley

looks great!! hope to see your game soon.
Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #17 - Posted 2004-02-24 16:28:23 »

There is a 3 level demo available at
http://www.mycgiserver.com/~movegaga/cosmictrip.jnlp

It supports windows, linux and mac.
Due to the current web start issue on the mac lwjgl version, it most probably won't work on mac. Mac users could try to d/l the jnlp and download the jars mentioned in the jnlp file manually...

Controls:
cursors : menu
enter : select
mouse : steer
mouse button 1 : shoot
mouse button 2/TAB : change view
A/Z : speed

Locally, a directory .cosmictrip is created with a .config.xml file. You can change some settings there, such as vsync on/off and the preferred video mode.

Erik

Offline Orangy Tang

JGO Kernel


Medals: 56
Projects: 11


Monkey for a head


« Reply #18 - Posted 2004-02-24 17:17:32 »

The new collision spark effect looks much better Smiley Could perhaps do with a few more triangles though (changed in a detail setting if needed?).

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

Senior Devvie





« Reply #19 - Posted 2004-02-24 18:12:35 »

hmm, it doesn't quite work here. It runs, switches mode, but nothing shows up. I can quit on esc though, and the game looks responsive from the logs:

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27  
28  
29  
30  
31  
32  
33  
34  
35  
36  
Game starting.
Init config...
Loading config...Ok.
Entering set-up...
Failed to choose preferred display mode, falling back to any mode:1024 x 768 x 24 @0Hz
/data/ship1.jpg
/data/txtr17-256.jpg
/data/smoke5.png
/data/flare2.png
/data/expl_0.png
/data/expl_1.png
/data/expl_2.png
/data/expl_3.png
/data/expl_4.png
/data/expl_5.png
/data/expl_6.png
/data/expl_7.png
/data/expl_8.png
/data/expl_9.png
/data/target.png
/data/score.png
/data/level.png
/data/dist.png
/data/fuel.png
/data/19x16Lucida.png
/data/ct.png
/data/menu.png
/data/flare3.png
/data/difficulty.png
/data/bgrad.png
Loop ended.
>killWLWindow()
Mouse destroyed.
Keyboard destroyed.
GL destroyed.
Game Ended.


I'm on a SuSE 9 with latest nvidia drivers (GF FX go)

- elias

Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #20 - Posted 2004-02-24 18:38:01 »

hmm, I have absolutely no idea  Embarrassed
It used to work on linux before...
IIRC, you are limited in choosing the video on linux as they are kind of 'fixed' which is why CT falls back to any video mode it can find. Could you maybe try to set your video mode to either 16 or 32 bits? (I never trust 24 bits for some reason  Smiley)

Offline zparticle

Senior Devvie




Thick As A Brick


« Reply #21 - Posted 2004-02-24 18:54:24 »

On a Win2k box with and Intel graphics card: Changes mode then just sits there with a black screen. Randomly hit the arrow keys and enter. Got into the game, very jerky (no surprise on this card). Hit escape and the machine locked up, had to pull the power cord.

Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #22 - Posted 2004-02-24 18:59:05 »

Cry

any logs?

Offline zparticle

Senior Devvie




Thick As A Brick


« Reply #23 - Posted 2004-02-24 19:07:28 »

Not that I can find, sorry.

Offline Matzon

JGO Knight


Medals: 19
Projects: 1


I'm gonna wring your pants!


« Reply #24 - Posted 2004-02-24 19:35:18 »

worked fine on my xp box - however got a black screen first, which I pushed a lot of buttons first - and then it displayed itself. Worked fine, though the mouse movement is a bit oddish/jerky ?

Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #25 - Posted 2004-02-24 19:35:36 »

JWS application manager has an option to write a log. I'd hate to ask to crash your machine again though  Smiley

Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #26 - Posted 2004-02-24 19:38:48 »

Quote
worked fine on my xp box - however got a black screen first, which I pushed a lot of buttons first - and then it displayed itself. Worked fine, though the mouse movement is a bit oddish/jerky ?


Maybe I should add a 'loading...' screen.
Dunno about the mouse movement. It's quite smooth here... What do you mean by 'oddish'?

Offline EgonOlsen
« Reply #27 - Posted 2004-02-24 20:41:01 »

Doesn't work. Here's the log (Radeon 9700pro, Cat4.2 drivers, Win XP):

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27  
Maybe selecting mode 800 x 600 x 32 @70Hz
Maybe selecting mode 800 x 600 x 16 @60Hz
Maybe selecting mode 800 x 600 x 32 @85Hz
Maybe selecting mode 800 x 600 x 32 @60Hz
java.lang.Exception: Problem starting loop
      at net.movegaga.BaseWindow.start(BaseWindow.java:223)
      at net.movegaga.GameWindow.main(GameWindow.java:309)
      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)
Caused by: java.lang.Exception: Problem initialising GL
      at net.movegaga.BaseWindow.createGLWindow(BaseWindow.java:173)
      at net.movegaga.BaseWindow.start(BaseWindow.java:186)
      ... 12 more
Caused by: java.lang.Exception: Failed to set display mode.
      at org.lwjgl.Display.setDisplayMode(Native Method)
      at net.movegaga.BaseWindow.createGLWindow(BaseWindow.java:154)
      ... 13 more
Game Ended.


In my own LWJGL stuff, i can set 800*600*32bpp @ 85Hz without a problem.

Offline elias

Senior Devvie





« Reply #28 - Posted 2004-02-25 05:34:32 »

Well, 24 bit colors _are_ the linux way of saying 32 bits per pixel. I'm suspecting that you draw the menu (or whatever) too close to the near view plane, since the controls seem to work. And depending on z buffer precision the menu might suddenly disappear.

- elias

Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #29 - Posted 2004-02-25 06:03:28 »

Quote
Well, 24 bit colors _are_ the linux way of saying 32 bits per pixel. I'm suspecting that you draw the menu (or whatever) too close to the near view plane, since the controls seem to work. And depending on z buffer precision the menu might suddenly disappear.


Linux's got a funny way of saying things  Wink
Let me check z clip thing, although it would surprise me that is in fact the problem. I've tested on my work PC with intel video, and I have the same problem with the black screen instead of menu (pressing enter in the black screen puts you in the game), where before I didn't have any problems.

Quote
In my own LWJGL stuff, i can set 800*600*32bpp @ 85Hz without a problem.


But can you set 800*600*32@60 without a problem? It crashes on Display.setDisplayMode(mode).

Quote
worked fine on my xp box - however got a black screen first

Did you see the menu?

Thanks for testing guys, it seems it only works fine on my PC and Orangy Tang's (maybe Matzon's too, although I'm not very happy with the black screen) which is a pretty embarrassing score.

Back to the drawing board :-)

Erik

Pages: [1] 2 3
  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!