Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (480)
Games in Android Showcase (110)
games submitted by our members
Games in WIP (547)
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
  ignore  |  Print  
  Callisto Carnival - Space thruster  (Read 7279 times)
0 Members and 1 Guest are viewing this topic.
Offline Jesja

Junior Member


Projects: 1



« Posted 2008-08-24 20:08:34 »

Thought it would be nice with some comments on this, think its pretty cool myself...!

This is space thruster, the fun part is the gravitation, you can enter in to an orbit around a planet and you have to struggle not to fall into the sun while combating the enemy.

Its reallly not much of a game yet, theres no points or lives or menus or anything, but maybe the next step should be to introduce some kind of goal, maybe a mission system.

Ive been a design freak the last couple of months so there has been put enormously amounts of time into moving things around to make everything as modular and clean as possible and applying as many design patters as possible, but parts of the code is still a bit confused.  And theres not much documentation. But any comments or suggestions about it is very highly appreciated!

Its lwjgl, with jogg and jorbis for the sound.

Stear with arrows, shoot with space, self destruct with k.

The game, Java Web Start:
http://jenslidestrom.webs.com/callisto-carnival.jnlp (5mb)

The source and resources in an Eclipse project:
http://jenslidestrom.googlepages.com/CallistoCarnival.zip (4mb)


Battle around the New Constantinople space station (anyone played Wing Commander: Privateer?)


Ahh! Too close the sun, burning!


Orbiting the planet Earth,  on the way to dock with the Mir space station.

Features:
- Gravitation
- Laser and plasma ball guns
- AI player
- Dockable space stations
- Radar
- Sun burning when to close
- Sound
- Nice particle engine flames
- Animated explosions
- Modular and extendible design
- Netwok suppor nearly implemented...

This started as a  school project, credits to my wonderfull group mates, Tommy Carlsson, Simon Göransson, Björn Lindfors and Emil Pettersson.


Try the Callisto Carnival - Stunning space thruster
http://jenslidestrom.webs.com
Offline Hansdampf

Senior Member


Projects: 3


too offending?


« Reply #1 - Posted 2008-08-24 20:41:43 »

I see nothing but rotating, animated explosions and a changing (varying x/y offset) background. The screen changes every second and the explosions change positions, no chance to interact, no other objects than explosions.
on vista, 1.6.0_07, no error messages

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

Junior Member





« Reply #2 - Posted 2008-08-24 20:48:17 »

Exact same result as above poster.

Upload bad version?
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Jesja

Junior Member


Projects: 1



« Reply #3 - Posted 2008-08-24 20:52:32 »

This is strange, the game gets into this state sometimes when it has been disturbed, when it continues after having stoped at a break point or a screen shot has been taken. I dont know why, have to dig into that sometime.

But it has run on several vista machines before, have you tried restarting it?

Try the Callisto Carnival - Stunning space thruster
http://jenslidestrom.webs.com
Offline Jesja

Junior Member


Projects: 1



« Reply #4 - Posted 2008-08-24 20:56:49 »

This version thats up now I have seen run on vista machines, sometimes after a restart. Its very strange.
(re-clicking of the link, not restart of the computer)

Try the Callisto Carnival - Stunning space thruster
http://jenslidestrom.webs.com
Offline Hansdampf

Senior Member


Projects: 3


too offending?


« Reply #5 - Posted 2008-08-24 21:04:29 »

But it has run on several vista machines before, have you tried restarting it?
yes, 3 times before posting and now again

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

Junior Member


Projects: 1



« Reply #6 - Posted 2008-08-24 21:10:22 »

Allright, sorry, have to invertigate this more closely....

Try the Callisto Carnival - Stunning space thruster
http://jenslidestrom.webs.com
Offline Eli Delventhal

JGO Kernel


Medals: 42
Projects: 11
Exp: 10 years


Game Engineer


« Reply #7 - Posted 2008-08-24 22:42:55 »

Doesn't work on my machine:

Mac OS X 10.5
iMac Intel Core Duo 2.0ghz
2GB RAM
Safari Browser

1  
2  
3  
Category: Launch File Error

No JRE version found in launch file for this system


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  
JNLPException[category: Launch File Error : Exception: null : LaunchDesc: 
<jnlp spec="1.0+" codebase="http://jenslidestrom.googlepages.com/" href="http://jenslidestrom.webs.com/callisto-carnival.jnlp">
  <information>
    <title>Callisto Carnival</title>
    <vendor>The EmBjöToSi group and Jens</vendor>
    <homepage href="http://jenslidestrom.webs.com"/>
    <description>Space thruster game</description>
    <description kind="short">Space thruster game</description>
  </information>
  <security>
    <all-permissions/>
  </security>
  <resources>
    <jar href="http://jenslidestrom.googlepages.com/callisto-carnival.jar" download="eager" main="false"/>
    <jar href="http://jenslidestrom.googlepages.com/jinput.jar" download="eager" main="false"/>
    <jar href="http://jenslidestrom.googlepages.com/jogg-0.0.7.jar" download="eager" main="false"/>
    <jar href="http://jenslidestrom.googlepages.com/jorbis-0.0.15.jar" download="eager" main="false"/>
    <jar href="http://jenslidestrom.googlepages.com/lwjgl.jar" download="eager" main="false"/>
    <jar href="http://jenslidestrom.googlepages.com/lwjgl_util.jar" download="eager" main="false"/>
    <jar href="http://jenslidestrom.googlepages.com/lwjgl-natives-mac.jar" download="eager" main="false"/>
  </resources>
  <application-desc main-class="app.ClientApp"/>
</jnlp> ]
   at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:210)
   at com.sun.javaws.Launcher.run(Launcher.java:165)
   at java.lang.Thread.run(Thread.java:613)

See my work:
OTC Software
Offline Jesja

Junior Member


Projects: 1



« Reply #8 - Posted 2008-08-25 09:36:41 »

Doesn't work on my machine:

This is catastrophe, no one able to run it?! What have I done when I tested this? Have no idea about this last one either, sorry.

But I successfully ran it from a xp machine in school today...

Try the Callisto Carnival - Stunning space thruster
http://jenslidestrom.webs.com
Offline EgonOlsen
« Reply #9 - Posted 2008-08-25 10:22:40 »

I see nothing but rotating, animated explosions and a changing (varying x/y offset) background. The screen changes every second and the explosions change positions, no chance to interact, no other objects than explosions.
on vista, 1.6.0_07, no error messages
The same here (XP Pro, Java 1.6.0_05).

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

Junior Member


Projects: 1



« Reply #10 - Posted 2008-08-25 11:12:22 »

Im totally puzzled. It has run when I have tried it earlier and it run when I tried it today on xp pro ver 5.1 ser pack 2, java 1.6.0_05.

All the explosions are because, for some reason, you collide ( with yourself? ) immediately after spawning, then you respawn and collide again. And so do the ai players.

Try the Callisto Carnival - Stunning space thruster
http://jenslidestrom.webs.com
Offline CaptainJester

JGO Knight


Medals: 12
Projects: 2
Exp: 14 years


Make it work; make it better.


« Reply #11 - Posted 2008-08-25 12:28:27 »

Worked for me on Win XP with Java 1.6.  However, once I died the thruster screwed up and wouldn't push me in the right direction.  On a positive note, the graphics look really nice.  Good job.

Offline Wildern

Junior Member





« Reply #12 - Posted 2008-08-25 13:23:42 »

If it helps, I get the same explosion problem if I do nothing while it is starting up, but, if I start pressing the up arrow while it is launching, I can play normally.  At random, I will get the explosion problem after I have been playing a bit.
Offline Jesja

Junior Member


Projects: 1



« Reply #13 - Posted 2008-08-25 19:08:06 »

If it helps, I get the same explosion problem if I do nothing while it is starting up, but, if I start pressing the up arrow while it is launching, I can play normally.  At random, I will get the explosion problem after I have been playing a bit.
Right, thats a good clue, unfortunately I dont have the time to look into it right now...  Sad

On a positive note, the graphics look really nice.  Good job.
Thanks!

Try the Callisto Carnival - Stunning space thruster
http://jenslidestrom.webs.com
Offline jojoh

JGO Knight


Medals: 5
Projects: 7


games4j.com


« Reply #14 - Posted 2008-08-25 21:43:24 »

Looked great and worked OK. Little bit so so to try to shoot dots on a radar. It seemed like I didn't get to use the main screen much at all. If you'd see a star or moon on the screen, then there would most likely <1s left to live. See a badie, then it is probably just woshing by (or colliding). Most kills were lucky shots off-screen or badies colliding with something. Gameplay could do with some tuning, GFX looks really nice!

WinXP, java 6, ATI mobi radeon.

Offline CaptainJester

JGO Knight


Medals: 12
Projects: 2
Exp: 14 years


Make it work; make it better.


« Reply #15 - Posted 2008-08-26 00:57:57 »

My last reply was from my work computer.  on my home computer (Java 6 with WinXP) I am getting the same problem as others.  As soon as it starts all I get are explosions.

Offline noblemaster

JGO Ninja


Medals: 20
Projects: 10


Age of Conquest makes your day!


« Reply #16 - Posted 2008-08-26 06:16:37 »

That's very nice! I like the graphics. I was able to fly around and stuff and got shot down Grin

There is no objective at the moment so, difficult to give you much feedback. Are you planning to make it multiplayer? Is it already?

It would probably be nice to allow players to start in "window mode" if they choose so, rather than fullscreen. I don't quite like how you hijacked my screen without warning.

I had no problems via Java Web Start:
Windows Vista + Java Web Start 1.6.0_07

Offline zammbi

JGO Coder


Medals: 4



« Reply #17 - Posted 2008-08-26 11:20:20 »


Very cool, I was able to play for a while but then also got the random explosions bug.

Quote
Are you planning to make it multiplayer?
Quote
- Netwok suppor nearly implemented...
I guess that's a yes.

Current project - Rename and Sort
Offline Jesja

Junior Member


Projects: 1



« Reply #18 - Posted 2008-08-26 20:30:43 »

Gameplay could do with some tuning, GFX looks really nice!
Thanks! Yeah, guess your right about the gameplay. Guess you all know the problem: You spend so much time playing your own game and get so good at it so you dont notice if its unplayable to others...

Try the Callisto Carnival - Stunning space thruster
http://jenslidestrom.webs.com
Offline Jesja

Junior Member


Projects: 1



« Reply #19 - Posted 2008-08-26 20:44:40 »

That's very nice! I like the graphics. I was able to fly around and stuff and got shot down Grin
Cheers!

It would probably be nice to allow players to start in "window mode" if they choose so, rather than fullscreen. I don't quite like how you hijacked my screen without warning.
Sorry, Ill add a popup asking about it or something. But it looks so much nicer fullscreen!

Are you planning to make it multiplayer? Is it already?
The multiplayer mode is implemented, it has basiclly just been plugged out due to a rewrite of other code. It works in a funny way, the idea of one of my crazy but talented groupe mates. Every computer runs it own copy of the game, including ai players, the only things sent over the network are key presses and a "tick" event when its time to update the game engine. And it accually manages to stay in sync! All the machines run the game in exactlly the same way, regardless of floating point errors and everything else that could make them drift apart. Guess thats a credit to Java.


Try the Callisto Carnival - Stunning space thruster
http://jenslidestrom.webs.com
Offline Eli Delventhal

JGO Kernel


Medals: 42
Projects: 11
Exp: 10 years


Game Engineer


« Reply #20 - Posted 2008-08-26 21:45:04 »

Have you tried to play it over long distances, or just testing sync on LAN?

Also, your method of doing it is a lot like some games (typically simpler ones) use, but you're right that syncing can be a huge issue.

See my work:
OTC Software
Offline Jesja

Junior Member


Projects: 1



« Reply #21 - Posted 2008-08-26 22:01:54 »

Yeah, we tried it over the internet, although not very much or for very long. But to do it in a larger scale I guess it wouldnt be sufficient. Feels a bit insane that it acctually worked for us.

Ive looked around a bit for tutorials about this kind of stuff but havnt found much usefull, does anyone know anything good witten about it? Design and different approaches to networking?

Try the Callisto Carnival - Stunning space thruster
http://jenslidestrom.webs.com
Offline Jesja

Junior Member


Projects: 1



« Reply #22 - Posted 2008-08-27 13:49:18 »

Uploaded a version that asks if you want to run in fullscreen before it starts.

Its possible that this also affects the explosion bug, because it makes the game pause for a short while before it starts.

Please let me know if it does! Thanks for all the feedback!

Try the Callisto Carnival - Stunning space thruster
http://jenslidestrom.webs.com
Offline EgonOlsen
« Reply #23 - Posted 2008-08-27 18:05:34 »

No, still an explosion festival on my home machine.

Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #24 - Posted 2008-08-27 19:59:43 »

Just tried it, and it worked fine for some time until I ran into the explosion bug.

It looks very promising though. Nice graphics, and all very smooth.

Offline TheAnalogKid

JGO Coder


Projects: 2



« Reply #25 - Posted 2008-08-27 20:55:09 »

Tried too. About the explosion bug, maybe it's not a bug and your ship is simply attracted by the gravity force of the red star?
Great graphics! Is it really feasible to hit an enemy ship?

Offline Jesja

Junior Member


Projects: 1



« Reply #26 - Posted 2008-09-03 13:33:59 »

Tried too. About the explosion bug, maybe it's not a bug and your ship is simply attracted by the gravity force of the red star?
My theory is that it hits the people that really deserve beeing blow to pieces a lot of times.

Is it really feasible to hit an enemy ship?
Well, you have to sneak up on them, follow them and shoot them a lot of times from a short distance. But you're right, its to hard. Any ideas about what could be done about it? Just make the ships bigger? I would'nt really like that...

Great graphics!
Thanks! The great thing about space is you dont have to do much to make it look good, a few stars and platets and it looks good. A nice particle engine flame and it looks really great.

It looks very promising though. Nice graphics, and all very smooth.
Thanks, but sometimes its not totally smooth. You can seen it on large objects like the planets and the sun, they kind of flicker a bit when you move fast past them, looks much like tearing but I dont know. Please have a look, and post suggestions about what this can be! (or is it just on my system?)

I run with Display.setVSyncEnabled( false ), switching this on made to problem much worse. I update the game state depending on the lwjgl timer. I dont drop any frames, but I dont draw very complicated stuff either.


Try the Callisto Carnival - Stunning space thruster
http://jenslidestrom.webs.com
Offline TheAnalogKid

JGO Coder


Projects: 2



« Reply #27 - Posted 2008-09-03 14:03:26 »

Quote
Well, you have to sneak up on them, follow them and shoot them a lot of times from a short distance. But you're right, its to hard. Any ideas about what could be done about it? Just make the ships bigger? I would'nt really like that...
Or make the bullets bigger.

And, this isn't directly related to shooting enemies but if you reduced the gravity force then the game would be easier too.

Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #28 - Posted 2008-09-03 18:10:20 »

Or make the bullets bigger.

And, this isn't directly related to shooting enemies but if you reduced the gravity force then the game would be easier too.

Agreed.
I would also make make all movement slower. Everything whizzes by so fast that as soon as something comes into view, it either leaves a fraction of a second later or I explode.

Offline Jesja

Junior Member


Projects: 1



« Reply #29 - Posted 2008-09-07 17:30:25 »

Agreed.
I would also make make all movement slower. Everything whizzes by so fast that as soon as something comes into view, it either leaves a fraction of a second later or I explode.
And, this isn't directly related to shooting enemies but if you reduced the gravity force then the game would be easier too.
Reduce the gravity? But the gravity is my nice, nice little darling, are you suggesting I should kill my little darling?

Hrm... I guess you right. That and lower thrust force maybe. And maybe I should introduce a maximum speed to slow things down, even if its not very physically correct.

Try the Callisto Carnival - Stunning space thruster
http://jenslidestrom.webs.com
Pages: [1] 2
  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!