Java-Gaming.org Java4K winners: [ by our judges | by the community ]         
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members



News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  Print  
  Defend your planet (4K)  (Read 1159 times)
0 Members and 2 Guests are viewing this topic.
Offline CaptainJester

JGO Neuromancer
****

Posts: 1138
Medals: 8


Make it work; make it better.


« on: 2009-01-22 19:53:22 »

Another game I am working on for the 4K.

http://marber8.freehostia.com/defend.jnlp

Pretty simple so far.  Use the mouse to rotate your shield around the planet to protect it from incoming asteroids.  Each hit that the shield takes reduces its size a little bit.  If an asteroid makes it to the planet the shield reduces by a larger amount.  Your shield will never go below a certain minimum size.  It also regenerates continually, so it will eventually get back up to size if it has a long enough rest.  I will also go back to maximum size between levels.

I am thinking of adding a laser type canon and a bonus level that occurs every 5 levels to add a bit of variety.  I have about 1500 bytes left, so I should be able to fit that in.

All comments are welcome.

Thanks.

Offline pjt33

JGO Strike Force
***

Posts: 913
Medals: 17



« Reply #1 on: 2009-01-23 03:22:07 »

I managed to pause it (P, I think) and I can't unpause it! I've tried P, U, Esc, then every letter in the alphabet.
Offline CaptainJester

JGO Neuromancer
****

Posts: 1138
Medals: 8


Make it work; make it better.


« Reply #2 on: 2009-01-23 08:20:07 »

I managed to pause it (P, I think) and I can't unpause it! I've tried P, U, Esc, then every letter in the alphabet.

There must be a bug, because there is no pause key.

Games published by our own members! Go get 'em!
Offline pjt33

JGO Strike Force
***

Posts: 913
Medals: 17



« Reply #3 on: 2009-01-23 09:38:41 »

There must be a bug, because there is no pause key.
Ok, I've experimented and I can reproduce it by pressing Esc. No stack trace is produced, so it seems to be returning from the main loop rather than throwing an exception.
Pages: [1]
  Print  
 
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.076 seconds with 21 queries.