Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (107)
games submitted by our members
Games in WIP (535)
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  
  Star Fighter 4K  (Read 3268 times)
0 Members and 1 Guest are viewing this topic.
Offline rdcarvallo

Senior Member


Projects: 5
Exp: 15 years


2D Java games forever!


« Posted 2005-12-10 06:32:04 »

Hi all,

     This is my second entry: Star Fighter 4K, a simple shooter game.
    Webstart: http://www.dcc.uchile.cl/~rcarvall/j4k/2006/StarFighter4K.php
    Download: http://www.dcc.uchile.cl/~rcarvall/j4k/2006/StarFighter4K.jar

     It's 4144 bytes, but has not been optimized (Need to install an obfuscator)

    Feedback and bugs here!!

      Rafael.-
Offline oNyx

JGO Coder


Medals: 1


pixels! :x


« Reply #1 - Posted 2005-12-10 07:27:43 »

>Need to install an obfuscator

Get jarg for starters:
http://jarg.sourceforge.net/
(java -jar jarg.jar in.jar out.jar)

And kzip for repacking:
http://advsys.net/ken/utils.htm

That highscore bit doesnt seem to work... its always 0. And the text isnt centered at all... the default font for graphics/graphics2d is a logical one (Dialog.plain), which looks different everywhere. So, if you want something centered or right aligned you need to use font metrics Undecided

Would be nice if you could squish some enemy behaviour in or parallaxing stars. And mmh... I would draw the ship on top of the bullets... this way you can still spawn em in the middle, but it looks more like they are coming out of the front of the ship (smoke and mirrors... smoke and mirrors Wink).

edit: mmh. The frame is resizable, there is no way to exit is (right?) and the stars are sometimes too uneven distributed.

弾幕 ☆ @mahonnaiseblog
Offline f.l.x

Senior Member


Projects: 3


there is no place like 127.0.0.1


« Reply #2 - Posted 2005-12-10 12:34:29 »

great game, but it's too dificult to control, i miss relative steering for the ship Smiley

Litterarum radices amaras, fructus dulces
http://flx.proyectoanonimo.com
figth spam!
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Alan_W

JGO Knight


Medals: 8
Projects: 3


Java tames rock!


« Reply #3 - Posted 2005-12-10 12:57:18 »

The enemies & bullets work nicely.   All it really needs is a bit of polishing - Make the window close box exit the game (*) and improve player control which is a touch awkward (**).

Alan

(*)Found that Excape exits, although this is not stated.  Alternatively, you could test for isVisible()==false & do a System.exit() to make the close box work.
(**)Sometimes a key appeared to stop working and I had to press one of the other keys before function was restored.  Odd.

/Edit: Just looked at f.l.x's post - now I understand why the steering was odd Smiley

Time flies like a bird. Fruit flies like a banana.
Offline nonnus29

Senior Member




Giving Java a second chance after ludumdare fiasco


« Reply #4 - Posted 2005-12-10 15:29:09 »

Yeah, the controls are not intuitive, the frame title says something weird, I had to kill the process.  Needs ALOT of work.
Offline woogley
« Reply #5 - Posted 2005-12-10 17:29:05 »

pretty decent shooter, I like the fact that it scrolls instead of being bound to the window size.

some suggestions:
- relative steering control (see Asteroids 4K for example)
- add an explosion effect when you kill an enemy. having them just dissappear from the screen isn't very rewarding
Offline rdcarvallo

Senior Member


Projects: 5
Exp: 15 years


2D Java games forever!


« Reply #6 - Posted 2005-12-10 20:43:58 »

Hi,
   Thanks for the feedback, this is an update.

That highscore bit doesnt seem to work... its always 0.
It's a line of code... will fix in the next release
And the text isnt centered at all... the default font for graphics/graphics2d is a logical one (Dialog.plain), which looks different everywhere. So, if you want something centered or right aligned you need to use font metrics Undecided
Can wait
edit: mmh. The frame is resizable, there is no way to exit is (right?) and the stars are sometimes too uneven distributed.
Make the window close box exit the game
I had to kill the process. Needs ALOT of work.
Escape to exit.. is the cheapest way. Using awt.Frame, there is no behavior in the close button.

great game, but it's too dificult to control, i miss relative steering for the ship Smiley
improve player control which is a touch awkward
Yeah, the controls are not intuitive.
- relative steering control (see Asteroids 4K for example)
Ok, seems like none of you played the early shooter TimePilot... But for your pleasure, there is now "Relative Steering"

the frame title says something weird
Oh! Blocky Miner... Another concept... title fixed.

- add an explosion effect when you kill an enemy. having them just dissappear from the screen isn't very rewarding
Ships explode.

   And now is 4014 bytes, without optimnimzations.

       Rafael.-


Offline rdcarvallo

Senior Member


Projects: 5
Exp: 15 years


2D Java games forever!


« Reply #7 - Posted 2005-12-30 03:16:28 »

Hi all,

   I have been tweaking a bit the game to present the (I think) final version of Star Fighter 4K.

Features:
     4 kinds of enemies (Dumb, Drunk, Hunter & Fighter).
     7 Stages of increasing difficulty.
     Bosses.
     The ship has three lives (gets extras each 2000).


Webstart: http://www.dcc.uchile.cl/~rcarvall/j4k/2006/StarFighter4K.php
Download: http://www.dcc.uchile.cl/~rcarvall/j4k/2006/StarFighter4K.jar

Feedback and bugs here!!

      Rafael.-
Offline oNyx

JGO Coder


Medals: 1


pixels! :x


« Reply #8 - Posted 2005-12-30 06:27:16 »

>But for your pleasure, there is now "Relative Steering"

I liked the old controls more.

(I really dislike those RC-car controls Undecided)

弾幕 ☆ @mahonnaiseblog
Offline rdcarvallo

Senior Member


Projects: 5
Exp: 15 years


2D Java games forever!


« Reply #9 - Posted 2005-12-30 11:24:23 »

>But for your pleasure, there is now "Relative Steering"

I liked the old controls more.

(I really dislike those RC-car controls Undecided)
  With only 3 bytes left, don't think I can put both controls.
  But I'll try..   

   The relative controls... can be put on '.' and ',' keys?? (as quake's  default strafe bindings)

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

JGO Wizard


Medals: 50
Projects: 4


I always win!


« Reply #10 - Posted 2005-12-30 13:55:34 »

Really cool game. But the sensitivity on the controls is way too much, pressing either of the arrow key rotates the ship way too much and it's pretty hard to get a decent aim on the enemy.

Check out the 4K competition @ www.java4k.com
Check out GAMADU (my own site) @ http://gamadu.com/
Offline cborders

Junior Member





« Reply #11 - Posted 2005-12-30 19:35:11 »

I think this is an awesome game!!  I have played it for a while and the only issue I had was that I had a hard time telling when I hit the boss, but that's not really that big of a problem!  Very good job!!!
Offline rdcarvallo

Senior Member


Projects: 5
Exp: 15 years


2D Java games forever!


« Reply #12 - Posted 2005-12-30 19:51:55 »


Really cool game. But the sensitivity on the controls is way too much, pressing either of the arrow key rotates the ship way too much and it's pretty hard to get a decent aim on the enemy.
The angles are indices to a table of sins and cosins...
The table has 32 entries, so each rotation is in PI/16 radians.
It was implemented this way to use it in the other control scheme (Time Pilot Style)

I think this is an awesome game!! I have played it for a while and the only issue I had was that I had a hard time telling when I hit the boss, but that's not really that big of a problem! Very good job!!!

  If the bullets dissapear! they hit the boss.. (I could try to make it explode)
Rafael.-



Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Riven (1 views)
2014-07-29 12:53:52

Dwinin (7 views)
2014-07-29 10:59:34

E.R. Fleming (20 views)
2014-07-29 03:07:13

E.R. Fleming (8 views)
2014-07-29 03:06:25

pw (39 views)
2014-07-24 01:59:36

Riven (39 views)
2014-07-23 21:16:32

Riven (26 views)
2014-07-23 21:07:15

Riven (28 views)
2014-07-23 20:56:16

ctomni231 (59 views)
2014-07-18 06:55:21

Zero Volt (51 views)
2014-07-17 23:47:54
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
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!