Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (483)
Games in Android Showcase (110)
games submitted by our members
Games in WIP (550)
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  
  Concept demo for 2D Space trader/shooter.  (Read 4191 times)
0 Members and 1 Guest are viewing this topic.
Offline ShannonSmith
« Posted 2008-04-12 06:45:22 »

Basically the idea is a space trade/shooter on a vast scale. Travel will be sub-light inertial within solar-systems with jump gates between systems.
I am looking for some feedback on the unique control system which is really the hook of the game. Basically the ship has two control modes: while holding down Shift the ship is in standard asteroid style (i.e keep drifting until you act to stop it) mode. Releasing Shift activates a computer control system that attempts to make the ship fly in a more user friendly manner (within the same physics simulation).

It may take a bit of getting used to but let me know what you think.

http://www.angryoctopus.co.nz/strafefighter/strafefighter.jnlp
Offline bobjob

JGO Knight


Medals: 10
Projects: 4


David Aaron Muhar


« Reply #1 - Posted 2008-04-12 10:45:41 »

i really like it, didnt take long to get used to at all.

if you want some criticism, i did think i was moving a bit slow. would be nice if the "auto pilot" was needed. in order to prevent hitting objects. but i seemed to be moving so slow that it wasnt needed.

also, maybe instead of holding down shift, make the flight modes toggle on and off. like:
mechwarrior2: "auto pilot, engaged!" "auto pilot, disABLED!" Cheesy


My Projects
Games, Webcam chat, Video screencast, PDF tools.

Javagaming.org with chat room
Offline bobjob

JGO Knight


Medals: 10
Projects: 4


David Aaron Muhar


« Reply #2 - Posted 2008-04-12 10:48:22 »

but i seemed to be moving so slow that it wasnt needed.

I just noticed that there were no collision objects to get a feel for speed. i was looking at the planets in the back

My Projects
Games, Webcam chat, Video screencast, PDF tools.

Javagaming.org with chat room
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline ShannonSmith
« Reply #3 - Posted 2008-04-12 10:53:13 »

Space games tend to have the problem that you don't feel like you are really moving. The max speed is pretty fast and quick enough that it would be impossible to dodge anything as it appears on screen. I think what I need to do is add a debris layer at that is the same paralax level as the ship so you get a sense for how fast you are going.
Offline gouessej
« Reply #4 - Posted 2008-04-12 11:07:44 »

Hi!

2 straight horizontal lines appear on the screen, one above the ship, one below, I don't know why. It does not come from my computer as I have already played with tens of Java games using JOGL, GL4J and LWJGL.

Offline ShannonSmith
« Reply #5 - Posted 2008-04-14 21:54:59 »

I have noticed a few graphical glitches like that, probably something to do with the background tiles not in pixel perfect alignment. Possibly will be sorted when if I turn V-sync on.
Offline Markus_Persson

JGO Wizard


Medals: 14
Projects: 19


Mojang Specifications


« Reply #6 - Posted 2008-04-15 13:20:09 »

pixel perfect alignment
and
turn V-sync on
are completely unrelated.

Vertical synchronization is a timing concept, not a positioning concept.

Play Minecraft!
Offline ChrisM

JGO Coder


Medals: 1
Projects: 1


END OF LINE.


« Reply #7 - Posted 2008-04-15 17:06:39 »

Can't play...1.5 OS X Sad

Offline ShannonSmith
« Reply #8 - Posted 2008-04-15 20:55:04 »

Markus_Persson - You are of course correct, but I think it is actually a timing issue with my update loop which is dependant  on the framerate (an hence vsync). Very high frame rates result in very small increments in in position so vsync may fix the issue (most of the time) but the more I think about it the more I realize it is most certainly the wrong way to fix it.

ChrisM - I don't suppose you could elaborate? I haven't tested on OSX so there is a good chance it won't work but I have included the native libs so it should in theory.
Offline Eli Delventhal

JGO Kernel


Medals: 42
Projects: 11
Exp: 10 years


Game Engineer


« Reply #9 - Posted 2008-04-16 02:33:18 »

Can't play...1.5 OS X Sad
Same here. You can download the 1.6 Beta from Apple's Developer Connection if you want, though.

See my work:
OTC Software
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline ShannonSmith
« Reply #10 - Posted 2008-04-16 07:50:35 »

I can't believe Apple haven't got 1.6 sorted properly on OS X yet. There is nothing that is dependent on 1.6, I just put 1.6+ in the jnlp because I have had Java version problems before. For the next release (this weekend hopefully) I'll try going back to 1.5.
Offline Markus_Persson

JGO Wizard


Medals: 14
Projects: 19


Mojang Specifications


« Reply #11 - Posted 2008-04-16 08:45:28 »

I think it is actually a timing issue with my update loop which is dependant  on the framerate (an hence vsync). Very high frame rates result in very small increments in in position so vsync may fix the issue (most of the time)

oh, i see. =)

Play Minecraft!
Offline TheAnalogKid

JGO Coder


Projects: 2



« Reply #12 - Posted 2008-04-16 17:18:03 »

The control scheme concept is cool but it didn't feel quite much like you explained sws26. Maybe if you added some foreground asteroids it would be more obvious? By the way, the graphics are really, really nice!

Offline Eli Delventhal

JGO Kernel


Medals: 42
Projects: 11
Exp: 10 years


Game Engineer


« Reply #13 - Posted 2008-04-16 18:34:53 »

I can't believe Apple haven't got 1.6 sorted properly on OS X yet. There is nothing that is dependent on 1.6, I just put 1.6+ in the jnlp because I have had Java version problems before. For the next release (this weekend hopefully) I'll try going back to 1.5.
They didn't release 1.5 until 1.6 has already been announced.

And I think it's Sun's fault, not Apple's.

See my work:
OTC Software
Offline ShannonSmith
« Reply #14 - Posted 2008-04-18 22:04:31 »

New release up:

-Added a radar so you don't get lost
-Something to shoot (ctrl)
-Something to shoot at (no collisions yet)
-Made a rough model of our solar system out to Jupiter (need to work on rings for Saturn)
-Added debris layer so you can tell how fast you are going
-Upped the top speed
-Tried out a nice blue nebula
-Switched to requiring 1.5+ (not tested)
Offline Ru5tyNZ

Senior Newbie





« Reply #15 - Posted 2008-04-19 06:28:21 »

Just interested your website is a New Zealand website are you a new zealander? Wouldnt happen to be at Massey uni?

Me and my mate are working on a similar game using jogl.

Try using a quad tree for the collision detection.

Anyway 2nd release is much better.
Offline ShannonSmith
« Reply #16 - Posted 2008-04-19 07:20:26 »

Yes I am an Kiwi, live in Christchurch at the moment but moving to the US (California) in a few months.
Collision detection using a quad tree may be problematic because the levels are completely unbounded and so I would end up with a really deep sparse tree. Frankly I've never had any performance problems just doing a nested loop through every object in the world and doing a distance squared check but if it becomes a bottleneck I suppose I could go for a quad tree.
Offline Ru5tyNZ

Senior Newbie





« Reply #17 - Posted 2008-04-19 23:47:08 »

Yes I am an Kiwi, live in Christchurch at the moment but moving to the US (California) in a few months.
Collision detection using a quad tree may be problematic because the levels are completely unbounded and so I would end up with a really deep sparse tree. Frankly I've never had any performance problems just doing a nested loop through every object in the world and doing a distance squared check but if it becomes a bottleneck I suppose I could go for a quad tree.


Yeah im trying for an epic scale of objects in the universe. Just make sure the tree isnt so deep just to avoid the O(n^2) stuff. Anyway good luck!
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!