Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (494)
Games in Android Showcase (114)
games submitted by our members
Games in WIP (563)
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  
  Frag4k  (Read 4352 times)
0 Members and 1 Guest are viewing this topic.
Offline Alan_W

JGO Knight


Medals: 8
Projects: 3


Java tames rock!


« Posted 2005-12-01 00:21:55 »

You find yourself in an infernal 3D maze, inhabited by bug-eyed monsters.  Explore the maze and kill the monsters.  There are ten per level.  The maze is different on each level and the monsters move faster at higher levels.

Movement: Cursor Keys
Fire: Space Bar
Start: Enter Key

The window is now resizeable for the best screen area/framerate compromise.

Play Frag4k

Notes:
- Tested on Windows XP, OS X & Linux.  (Thanks to  Kapta for the linux test)

Enjoy
Alan Smiley

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

JGO Kernel


Medals: 163
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #1 - Posted 2005-12-01 00:26:54 »

Hey, cool! I have a feeling 3D is going to be a theme this year Smiley

Kev

Offline kappa
« League of Dukes »

JGO Kernel


Medals: 77
Projects: 15


★★★★★


« Reply #2 - Posted 2005-12-01 00:27:54 »

you can add tested on linux too now, it works nice.

woohoo nice 3d, truely dazling experiance!
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline nonnus29

Senior Member




Giving Java a second chance after ludumdare fiasco


« Reply #3 - Posted 2005-12-01 00:36:30 »

This is amazing.  The best part is the mini-map and the other best part is the baddies.  I'm very impressed.  Plus multiple levels.  Wow.   Grin
Offline Morre

JGO Knight


Medals: 2
Projects: 10


I'm Dragonene on IRC.


« Reply #4 - Posted 2005-12-01 00:58:09 »

Stunning! Although I've never been a maze-solver sort of person, the graphics, minimaps, and monsters of this are just stunning! An excellent 4k game - fantastic work.

Offline jbanes

JGO Coder


Projects: 1


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


« Reply #5 - Posted 2005-12-01 02:25:47 »

That's excellent! Is the texture generated procedurally, or are you loading a single image?

Any chance we could get a full screen version of it? Windowed mode just isn't the same for immersion. Wink

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

Senior Member


Projects: 1


System shutting down in 5..4..3...


« Reply #6 - Posted 2005-12-01 02:57:17 »

Very cool! - The blue guys are even a bit scarry if you turn a corner and get this blue blob in your face Cheesy

Offline Alan_W

JGO Knight


Medals: 8
Projects: 3


Java tames rock!


« Reply #7 - Posted 2005-12-01 06:03:06 »

That's excellent! Is the texture generated procedurally, or are you loading a single image?

Any chance we could get a full screen version of it? Windowed mode just isn't the same for immersion. Wink

Everything is procedural.  The wall pattern is a function the product of x & y within each wall segment.

I'll take a quick look at full screen (but no time till late friday).  However I've scrubbed over the code so many times to reduce size, it's a bit doubtful whether the extra OS calls could be fitted in, particularly as windowed/full screen toggle is advisable, since some Linux installations balk at full screen. (Edit:  After a quick hack, concluded that it's just not going to fit - sorry)

Alan Smiley

Time flies like a bird. Fruit flies like a banana.
Offline woogley
« Reply #8 - Posted 2005-12-01 06:11:44 »

nice! Smiley
Offline oNyx

JGO Coder


Medals: 2


pixels! :x


« Reply #9 - Posted 2005-12-01 08:52:49 »

Neat! Grin

弾幕 ☆ @mahonnaiseblog
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline hvor2

Junior Member




Beyond mind, there is an awareness...


« Reply #10 - Posted 2005-12-01 08:56:07 »

Hey! That was fun! You even have map displayed, thats big + I think. If only I could strafe  Cry

Offline c_lilian

Senior Member


Projects: 1


Java games will probably rock someday...


« Reply #11 - Posted 2005-12-01 09:25:00 »

Nice entry !

About fullsreen, you could just use setUndecorated(false) and setExtendedState(6) ...

Lilian

Offline Alan_W

JGO Knight


Medals: 8
Projects: 3


Java tames rock!


« Reply #12 - Posted 2005-12-01 16:59:17 »

About fullsreen, you could just use setUndecorated(false) and setExtendedState(6) ...

Thanks for the hint.  Currently the game renders 400x400 pixels, but could need to render 1280 x 1024 plus by going fullscreen in the current mode.  i.e. about 8 times more, call it 10 in round numbers.  A fast PC can render the 400x400 frame in around 3ms, so we'd be looking at around 30mS/frame on a good PC at full screen, which is a bit marginal.  I'll try putting a 30mS sleep in the code at the current resolution to get a feel for it Smiley

/Edit: Putting in a 10mS sleep, actually got me a frame time of 15ms (~60fps) which was still nice and smooth.  Putting in a 30mS sleep actually got a frame time of 32ms (~31.25fps).  However it was noticeable jerky when rotating.  So, probably could increase the display area by a factor of 2 and still have decent performance on slower PCs.  i.e. VGA full screen would look nice, but SVGA & XGA would only work on top end hardware.  It might be worthwhile to recode to allow the window to be resized, although even this is a challenge as regards code size. Smiley

/Edit 2:  Modified game to run at any size window (Not released yet).  Getting 20mS frame time at XGA resolution on 2.8GHz PC.   Code at 4112 bytes.  Maybe start with small frame, but allow manual maximising.  Worth persevering Smiley

/Edit 3:  The maximise/minimise buttons on the window now work.  Additionally the window is resizeable.  Thus on a fast machine you can get almost the fullscreen experience.  Oh, and were back under 4k again Cheesy

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

JGO Knight


Medals: 8
Projects: 3


Java tames rock!


« Reply #13 - Posted 2005-12-02 08:46:37 »

Performance under Mac OS X now fixed.  That is the default size of 400x400 is playable again.  Maximised the game still runs slow on my Powerbook G4.  I tried changing the double buffer type from INT_RGB to INT_ARGB_PRE, but there was no improvement.  I guess I've just maxed out my mac Smiley

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

Senior Member


Projects: 1


Java games will probably rock someday...


« Reply #14 - Posted 2005-12-02 08:57:16 »

on MacOs -> I can't see the scary blue monsters ! (yet they can kill me)... Sad

fps is smooth (not that fast, but not jerky either) even maximized at 1400*900 (G5 1.8Ghz)

Lilian


Offline Alan_W

JGO Knight


Medals: 8
Projects: 3


Java tames rock!


« Reply #15 - Posted 2005-12-02 09:07:49 »

If you let the monster get right on top of you, it sometimes is slightly behind you and isn't drawn.  Or do you mean that you can't see the monsters at all (ever?).  It could happen, if I've mucked the transparancy up as it's all being done by manipulating bytes directly.  I have to go to work now and will look again at this in the evening.

Thanks
Alan

P.S.  Glad it works on the G5 Smiley

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

Senior Member


Projects: 1


Java games will probably rock someday...


« Reply #16 - Posted 2005-12-02 09:14:38 »

I can't see it, but it's clearly in frnt of me if I refer to the map, at to myself dying...

Lilian

Offline Alan_W

JGO Knight


Medals: 8
Projects: 3


Java tames rock!


« Reply #17 - Posted 2005-12-02 19:26:07 »

I can't see it, but it's clearly in frnt of me if I refer to the map, at to myself dying...

I've modified both the monster transparency logic and made the monsters stand off from you very slightly when they attack and am hoping that one of these changes will help although I've been unable to replicate the fault.  Cheesy

Alan

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

Junior Member





« Reply #18 - Posted 2005-12-02 21:45:12 »

How many levels are there?  I think I beat level 8 and then it went to level 8 again in a different color... Or I am just crazy! Tongue
Offline Alan_W

JGO Knight


Medals: 8
Projects: 3


Java tames rock!


« Reply #19 - Posted 2005-12-02 21:54:35 »

How many levels are there?  I think I beat level 8 and then it went to level 8 again in a different color... Or I am just crazy! Tongue

I've got to Level 13 so far.  Play gets a bit strategic, since if you come out of a tee-junction facing the wrong way, there's no hope Wink  The levels are generated from random numbers, using the Depth-First maze generation algorithm, so there's no shortage of levels Smiley Some levels are a bit similar to others by chance, which probably accounts for the level 8 thing.

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

JGO Knight


Medals: 8
Projects: 3


Java tames rock!


« Reply #20 - Posted 2005-12-12 08:12:54 »

Minor Update:
- Dynamic resizing to make room for 'Java Application Window'
- Larger default window size
- Another attempt to improve OS X 10.3 compatibility.  NB. OS X 10.4 is Ok

Alan

Time flies like a bird. Fruit flies like a banana.
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.

Dwinin (19 views)
2014-09-12 09:08:26

Norakomi (54 views)
2014-09-10 13:57:51

TehJavaDev (63 views)
2014-09-10 06:39:09

Tekkerue (31 views)
2014-09-09 02:24:56

mitcheeb (53 views)
2014-09-08 06:06:29

BurntPizza (37 views)
2014-09-07 01:13:42

Longarmx (23 views)
2014-09-07 01:12:14

Longarmx (27 views)
2014-09-07 01:11:22

Longarmx (27 views)
2014-09-07 01:10:19

mitcheeb (35 views)
2014-09-04 23:08:59
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
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!