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  
  Defender 4000  (Read 2776 times)
0 Members and 2 Guests are viewing this topic.
Offline jbanes

JGO Neuromancer
****

Posts: 1178


"Java Games? Incredible! Mr. Incredible, that is!"


« on: 2004-03-11 18:31:44 »

Defender 4000



  • 21 Images!
  • Exciting sounds effects!  
  • Dazzling animations and special effects!
  • Classic Gameplay!
  • ONLY 4,077 bytes!


Readme
Download



Brought to you by the 4K game programming contest.

Java Game Console Project
Last Journal Entry: 12/17/04
Offline EgonOlsen

JGO Strike Force
***

Posts: 821
Medals: 6



« Reply #1 on: 2004-03-11 23:21:18 »

It's totally unplayable with VSync off... Sad

Offline vrm

Full Member
**

Posts: 211


where I should sign ?


« Reply #2 on: 2004-03-12 00:08:17 »

Exception in thread "main" java.lang.UnsupportedOperationException: Cannot change display mode
       at java.awt.GraphicsDevice.setDisplayMode(GraphicsDevice.java:250)
       at D.<init>(Unknown Source)
       at D.main(Unknown Source)


Linux, XFree 4.3, JDK 1.4.2
Games published by our own members! Go get 'em!
Offline princec
« League of Dukes »

JGO Kernel
*****

Posts: 8076
Medals: 91


Eh? Who? What? ... Me?


« Reply #3 on: 2004-03-12 01:15:06 »

That's one crazy small jar! Smoov too.

Cas Smiley

Offline Herkules

JGO Kernel
*****

Posts: 1522
Medals: 1


Friendly fire isn't friendly!


« Reply #4 on: 2004-03-12 01:38:46 »

Its a miracle to me how game coders can make it that easy.....

I use 4k for the gameloop/timing framework at least. Of for the keyboard input framework. Or for the entity management framework. Sad

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

Jr. Member
**

Posts: 76


Thx to James Gosling.


« Reply #5 on: 2004-03-12 03:41:00 »

Incredible how to bring a whole game in 4K!!!
Offline DrBizzar0

Full Member
**

Posts: 175


Raj raj!


« Reply #6 on: 2004-03-12 04:16:59 »

Jupp, impressive stuff
Offline blahblahblahh

JGO Kernel
*****

Posts: 4575


http://t-machine.org


« Reply #7 on: 2004-03-12 04:24:29 »

Quote
Its a miracle to me how game coders can make it that easy.....

I use 4k for the gameloop/timing framework at least. Of for the keyboard input framework. Or for the entity management framework. Sad



...I've got a 4k 3D renderer with multiple lightsources and dynamic terrain lying around somewhere here Smiley. I kind of gave up when it got to the point where I couldn't get it to animate anything interesting (I had a couple of mountains that grew out of the ground, then sank into it again, ad infinitum, while a sun went round in circles).

I was also a bit disheartened when I saw someone else had done similar but with smooth shading and translucent water with wave animations Sad. Their source code was nearly all bitwise operations, unsurprisingly Smiley.

malloc will be first against the wall when the revolution comes...
Offline swpalmer

JGO Kernel
*****

Posts: 3438
Medals: 4


Where's the Kaboom?


« Reply #8 on: 2004-03-12 06:19:17 »

Works perfectly on OS X 10.3.2 JRE 1.4.2*

Yep, it is amazing what some people can do in 4k.   I remember when I did the 4k contest at CFXWeb.net that there were some really impressive entries.  (I think that is where the terrain demo that blah^3 mentioned was unveiled)

Offline blahblahblahh

JGO Kernel
*****

Posts: 4575


http://t-machine.org


« Reply #9 on: 2004-03-12 06:46:05 »

Quote
Works perfectly on OS X 10.3.2 JRE 1.4.2*

Yep, it is amazing what some people can do in 4k.   I remember when I did the 4k contest at CFXWeb.net that there were some really impressive entries.  (I think that is where the terrain demo that blah^3 mentioned was unveiled)


Indeed Smiley.

malloc will be first against the wall when the revolution comes...
Games published by our own members! Go get 'em!
Offline jbanes

JGO Neuromancer
****

Posts: 1178


"Java Games? Incredible! Mr. Incredible, that is!"


« Reply #10 on: 2004-03-12 08:02:40 »

Quote
Exception in thread "main" java.lang.UnsupportedOperationException: Cannot change display mode
       at java.awt.GraphicsDevice.setDisplayMode(GraphicsDevice.java:250)
       at D.<init>(Unknown Source)
       at D.main(Unknown Source)


Linux, XFree 4.3, JDK 1.4.2


Sorry, but until Linux supports full screen you're just kind of SOL. If I get time at some point, I'll maybe see about making a Windowed version for Linux. (Question: The whole point of Open Source is to scratch an itch, right? So why hasn't anyone submitted code to the Blackdown project to fix full screen mode?)

Java Game Console Project
Last Journal Entry: 12/17/04
Offline jbanes

JGO Neuromancer
****

Posts: 1178


"Java Games? Incredible! Mr. Incredible, that is!"


« Reply #11 on: 2004-03-12 08:06:56 »

Quote
Works perfectly on OS X 10.3.2 JRE 1.4.2*


Excellent! I tested it on my OS X laptop, so I knew it worked on 10.2.6. Good to know that nothing's screwed up in 10.3.

BTW, is it a bit too easy on your Mac? Part of what makes it a difficult game is the speed. On my Mac I'm able to keep going for much longer because I have more time to react.

Java Game Console Project
Last Journal Entry: 12/17/04
Offline erikd

JGO Kernel
*****

Posts: 2561
Medals: 7


Maximumisness


« Reply #12 on: 2004-03-12 08:31:51 »

The screen turns white with the game on the upper left part of the screen (Intel video, java 1.4.2_03). Otherwise it works okay. Gameplay could be a bit faster IMO (especially the player's ship).

Erik

Offline jbanes

JGO Neuromancer
****

Posts: 1178


"Java Games? Incredible! Mr. Incredible, that is!"


« Reply #13 on: 2004-03-12 09:43:33 »

Quote
The screen turns white with the game on the upper left part of the screen (Intel video, java 1.4.2_03). Otherwise it works okay. Gameplay could be a bit faster IMO (especially the player's ship).


That's odd. It sounds like your system doesn't support 640x480x32 mode. Are you able to change your desktop settings to that mode? What OS version are you using?

Java Game Console Project
Last Journal Entry: 12/17/04
Offline erikd

JGO Kernel
*****

Posts: 2561
Medals: 7


Maximumisness


« Reply #14 on: 2004-03-12 09:58:00 »

I think that PC does support that mode (it's my desktop at work, and I'm not at work anymore), but I'll check on monday. It's running win2k BTW.
At home it runs great. Very smooth and all. Great blocky old school arcade like graphics  Kiss

Erik

Offline erikd

JGO Kernel
*****

Posts: 2561
Medals: 7


Maximumisness


« Reply #15 on: 2004-03-12 10:03:51 »

Quote
It's totally unplayable with VSync off...


Turn it on then Grin

But seriously, this kind of game *demands* vsync. Either the game should display a 'no vsync available' warning/error dialog or something and then bail out or fall back to throttle without vsync.

Offline jbanes

JGO Neuromancer
****

Posts: 1178


"Java Games? Incredible! Mr. Incredible, that is!"


« Reply #16 on: 2004-03-12 11:24:21 »

Quote

But seriously, this kind of game *demands* vsync. Either the game should display a 'no vsync available' warning/error dialog or something and then bail out or fall back to throttle without vsync.


Then it wouldn't fit in 4K! For example, I originally had code to turn off the mouse cursor. Unfortunately, it added so many class references that there was no way to keep the game under 4K. My solution was to use the Robot class to stick the cursor in the lower right hand corner.

Trust me, there's no room for error detection.  Cry

Java Game Console Project
Last Journal Entry: 12/17/04
Offline erikd

JGO Kernel
*****

Posts: 2561
Medals: 7


Maximumisness


« Reply #17 on: 2004-03-12 12:21:46 »

Um yeah, I can imagine it wouldn't fit in 19 bytes hehe.
So EgonOlsen should just enable vsync then Wink
OTOH, I think the game deserves a version without a 4k limit. Also with all the cool effects of the original (the laser and explosions in the original are so cool! Cheesy).

Ah well, maybe I should pick up CottAGE again some day and add defender support.

Erik

Offline jbanes

JGO Neuromancer
****

Posts: 1178


"Java Games? Incredible! Mr. Incredible, that is!"


« Reply #18 on: 2004-03-12 13:12:49 »

Quote
Um yeah, I can imagine it wouldn't fit in 19 bytes hehe.
So EgonOlsen should just enable vsync then Wink
OTOH, I think the game deserves a version without a 4k limit.


Heh. You'll have to find somebody else. I'm exhausted from trying to cram that much in 4K.  Wink

Java Game Console Project
Last Journal Entry: 12/17/04
Offline jbanes

JGO Neuromancer
****

Posts: 1178


"Java Games? Incredible! Mr. Incredible, that is!"


« Reply #19 on: 2004-03-14 14:33:22 »

Everyone may be interested to know that the results are in for the 4K Game Programming contest. Defender 4000 scored second only to Abuse's Shootey Transparency Thingy, and was given the prize for the best overall game!

Special thanks to Mlk for hosting the contest! :-)

Java Game Console Project
Last Journal Entry: 12/17/04
Offline mlk

Full Member
**

Posts: 123


Muppet!


« Reply #20 on: 2004-03-22 22:34:40 »

Quote

Special thanks to Mlk for hosting the contest! :-)


Anytime Grin

I wonder if I should cross post the next J4K here as well?

Pages: [1]
  Print  
 
 
Jump to:  


Add your game by posting it in the showcase section.

The first screenshot will be displayed as a thumbnail.

obsidian_golem 2012-05-23 10:14:50

Danny02 2012-05-21 17:10:34

Danny02 2012-05-21 17:07:10

Danny02 2012-05-21 16:56:12

davedes 2012-05-21 13:59:23

obsidian_golem 2012-05-20 20:28:41

darkjava55 2012-05-12 16:14:40

Ultroman 2012-05-12 09:36:05

Ultroman 2012-05-11 22:49:53

Ultroman 2012-05-11 22:20:01
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.137 seconds with 19 queries.