Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (538)
Games in Android Showcase (132)
games submitted by our members
Games in WIP (600)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1] 2 3
  ignore  |  Print  
  Legend of the Chambered  (Read 32219 times)
0 Members and 1 Guest are viewing this topic.
Offline Markus_Persson

JGO Wizard


Medals: 16
Projects: 19


Mojang Specifications


« Posted 2008-05-24 23:24:39 »

[size=5]Legend of the Chambered![/size]
(This isn't a game at all yet, but rather an early version of an engine for a game)


Play now! (Applet, 210KB)

The game runs at 320x240 pixels, and is scaled up to 2x for enhanced playability. Full mouse picking support is implemented, so I can detect exactly what pixel on any surface (wall, floor, sprite) the mouse pointer is currently hovering. The engine supports non-orthogonal walls with no slowdown, but I kinda like the blocky look. Wink

I really, really want to finish this game, so I decided to not use any placeholder graphics, but rather draw everything myself (mostly in paint.net), and it's going better than I hoped. Obviously, those monsters aren't final, but I like the look of the rest.


Let me know if it works!

Play Minecraft!
Online kevglass

« JGO Spiffy Duke »


Medals: 211
Projects: 24
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #1 - Posted 2008-05-24 23:43:59 »

Very cool, works perfectly here no speed or rendering issues. Feels a lot like dungeon master (yes, I know it was 90 degree turns but still). Yay! Win! Smiley

Look forward to seeing where this goes to.

Kev

Offline Morre

JGO Knight


Medals: 2
Projects: 10


I'm Dragonene on IRC.


« Reply #2 - Posted 2008-05-24 23:50:04 »

Doesn't seem to accept input in opera 9.5. :/
Tried it in Firefox, works great. Feels very solid. Movement - and the little bouncing up and down - feels just perfect. I admit to thinking "oh, another columns-raycasting game..." when I saw the screenshot, but it has a great feel to it. Slightly too dark for my taste, and you might want some sky for the woods Wink

In any case, great stuff. Looking forward to seeing more of this.

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

JGO Wizard


Medals: 16
Projects: 19


Mojang Specifications


« Reply #3 - Posted 2008-05-24 23:52:09 »

Even after clicking it? I tried to keep the input handling as simple as possible, but I guess I failed. I'll investigate!

Play Minecraft!
Offline Morre

JGO Knight


Medals: 2
Projects: 10


I'm Dragonene on IRC.


« Reply #4 - Posted 2008-05-24 23:55:39 »

Aye, even after focusing it. Sorry!

I updated my post above while you were writing your response, have a look. Oh, and you really should switch that screenshot - since they'll never see the dynamics again, screenshots should always show as much as you possibly can to attract interest - that's my opinion, in any case Smiley

EDIT: Also, I never understood why these games always have so low ceilings... :> Why not make it a head or two higher?

EDIT2: Personally I'd switch Q/E for A/D (turn with A/D) since turning is the primary movement option... but if you're going to incorporate mouse turning somehow then stick with it the way it is.

EDIT3: I'm on the latest weekly build of opera in case it matters. JRE 6 something, methinks. XP SP2.

Offline CommanderKeith
« Reply #5 - Posted 2008-05-25 01:09:20 »

Works great here, WinXP & Firefox, java 6.

I made it to the woods and saw some bad dudes dancing around.

Why don't you use mouse look?

Offline noblemaster

« JGO Spiffy Duke »


Medals: 20
Projects: 10


Age of Conquest makes your day!


« Reply #6 - Posted 2008-05-25 02:43:10 »

Very cool :-D

Offline steveyO
« Reply #7 - Posted 2008-05-25 08:44:12 »

Very cool (and smooth too, Firefox).. :-)

https://play.google.com/store/apps/details?id=com.bullsquared.alggame Annoying Little Gits (Android)
www.bullsquared.com   Play java (applet) games! www.chessclockpro.com Free Online Chess Clock
Offline gouessej
« Reply #8 - Posted 2008-05-25 09:04:04 »

It is an excellent start! It is fast! I will put this in the incubator in the Java(tm) Game Tome, it will be transfered in the list of games when it is more complete. Keep it up! I'm very happy to see a new project of 3D game written in Java!

The first news posted on the Tome will speak about your game. Please let me know the following information:
- who work on this project (full name)?
- what are the technologies involved in the project? Which API? Which engine? Which algorithms for rendering (hardware, software: raycasting, raytracing...) ?
- what is the category of the game?
- what is the story?

If you prefer, write this article and I will post it when the news system is ready. See this as an encouragement.

Just one point, please check if it works fine under Opera. It works fine under Firefox and Iceweasel as far as I know.

Offline Markus_Persson

JGO Wizard


Medals: 16
Projects: 19


Mojang Specifications


« Reply #9 - Posted 2008-05-25 12:01:55 »

Thanks for all the feedback. =)

I've uploaded a new version with some additional tile types, mouse look support (since it's an applet, I can't recenter the mouse, though..), and a sky in the woods!

I'm going to keep the ceiling that close to the head, though, as I'm trying to make the game feel like a mix between Dungeon Master, Eye of the Beholder, and Ultima Underworld


gouessej:
Neat!

- who work on this project (full name)?
Markus Persson, under the alias Mojang Specifications

- what are the technologies involved in the project? Which API? Which engine? Which algorithms for rendering (hardware, software: raycasting, raytracing...) ?
It uses 100% pure java. I'm going for a definite retro feeling (see the screenshots above), so the game is designed for 320x240 pixels, plus it really helps the framerate.
The rendering:
The floor is a rotozoomer, with some really slow perspective math. It's fast enough, though. Wink
The walls, like in Doom, heavily abuse the fact that they're always aligned to the screen in the y-axis. To get perspective long x, I interpolate over 1/z (which is linear in screen space, yay), and over u*z, which also happens to be linear in screen space.
Sprites are basically just scaled images checked against the zbuffer.
So far, the only thing written to any buffers has been color information, z depth information, and a brightness value per pixel. This brightness is only used for shading walls, and might get optimized away in the future.
When everything has been written, I iterate over the entire screen, calculating true distance based on the z depth information, multiply that by the brightness and the color, then write that to the pixel buffer. I do things this way to avoid having to do the fairly heavy lighting math for each pixel, reducing overdraw, and to keep all the lighting math in a single place.

Walls closest to the player gets rendered first, and there's NO overdraw and NO z-buffer checking at all when rendering walls, thanks to some seriously heavy culling.
Sprites, however, cause quite a bit of overdraw.

- what is the category of the game?
It's a Role Playing Game, meant to feel something like a mix between ultima underworld, eye of the beholder, and dungeon master/dungeon master 2, except possibly a bit more modern.

- what is the story?
I haven't come up with a non-embarrassing story, yet. Probably something about fetching something important, hehe.

Play Minecraft!
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline SimonH
« Reply #10 - Posted 2008-05-25 12:30:35 »

Java 1.6? *sigh* I s'pose I should upgrade...

People make games and games make people
Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #11 - Posted 2008-05-25 13:10:48 »

Really cool, I've always been a fan of Dungeon Master and this looks like it's going to be an enhanced, more action oriented version.
Input also doesn't work here on opera, and there seems to be a bit of flickering sometimes. Works great on IE though.

Offline irreversible_kev

Junior Devvie





« Reply #12 - Posted 2008-05-25 15:07:12 »

wow this engine looks absolutely awesome!

What I liked about it most is that it was really fun to explore and find the particles, woods, dancing monsters etc...

I really hope it gets a long adventure story with lots of interesting areas to explore so that it feels like a real little world (because I really see so much potential)...

Love it.

(After switching between tabs on firefox I could not reuse the w,a,s,d keys but the mouse still worked)

PS. I think the game closest to this genre I have ever played is Shadowgate Classic on the GB Color
Good memories http://www.youtube.com/watch?v=IfsMtL5cnJA
Offline brackeen

Junior Devvie





« Reply #13 - Posted 2008-05-25 16:40:29 »

Very cool! I like the way the trees sway in the wind. Great lighting, too.

It looks like it doesn't work on Java 5 (java.lang.UnsupportedClassVersionError) - which means it doesn't work on the Mac Sad

EDIT2: Personally I'd switch Q/E for A/D (turn with A/D) since turning is the primary movement option... but if you're going to incorporate mouse turning somehow then stick with it the way it is.
I agree - switch the keys and then you've got WoW-style controls.
Offline gouessej
« Reply #14 - Posted 2008-05-25 20:49:19 »

Very cool! I like the way the trees sway in the wind. Great lighting, too.

It looks like it doesn't work on Java 5 (java.lang.UnsupportedClassVersionError) - which means it doesn't work on the Mac Sad
I agree - switch the keys and then you've got WoW-style controls.
On Apple.com:
"Java for Mac OS X 10.5, Update 1 is now available via Software Update.  This update adds Java SE 6 version 1.6.0_05 to 64-bit Intel Macs."

Get Java 1.6 on Apple ADC as my teacher did last year if you can't get it via software update. If Java 1.6 hadn't worked on Mac, my teacher would have been unable to test my project and I would have got a pretty 0/20.

Offline brackeen

Junior Devvie





« Reply #15 - Posted 2008-05-25 21:13:18 »

On Apple.com:
"Java for Mac OS X 10.5, Update 1 is now available via Software Update.  This update adds Java SE 6 version 1.6.0_05 to 64-bit Intel Macs."

Get Java 1.6 on Apple ADC as my teacher did last year if you can't get it via software update. If Java 1.6 hadn't worked on Mac, my teacher would have been unable to test my project and I would have got a pretty 0/20.
I guess I should have said, "it doesn't work for the average Mac user."

Java 6 applets on Mac OS X require a 64-bit browser and a user savvy enough to change the default from Java 5. (Or a user savvy enough to use appletviewer). My Mac stats from the past few weeks are showing 10% Java 1.4, 90% Java 5, 0% Java 6. Something to keep in mind when you want to target a wide audience.


Offline gouessej
« Reply #16 - Posted 2008-05-25 22:44:34 »

I guess I should have said, "it doesn't work for the average Mac user."

Java 6 applets on Mac OS X require a 64-bit browser and a user savvy enough to change the default from Java 5. (Or a user savvy enough to use appletviewer). My Mac stats from the past few weeks are showing 10% Java 1.4, 90% Java 5, 0% Java 6. Something to keep in mind when you want to target a wide audience.



You're right, only 4 different mac users succeeded to launch my game as far as I know but you should have said "it doesn't work for the average Mac user.". Nevertheless, maybe the author has some particular reasons to use Java 1.6, I know it is my case and I don't use Java 1.6 to bother mac users.

Offline Markus_Persson

JGO Wizard


Medals: 16
Projects: 19


Mojang Specifications


« Reply #17 - Posted 2008-05-26 08:59:20 »

I don't actually use any java 1.6 specific code, so this should be pretty easy to fix. =) In fact, other than generics (which are only compile time), it's all 1.4 compatible.

Play Minecraft!
Offline Bonbon-Chan

JGO Coder


Medals: 12



« Reply #18 - Posted 2008-05-26 09:25:50 »

I don't know why but keys didn't work the fisrt time (while i can rotate with the mouse  Huh). Second time, everything works fine (The graphic style remember me Eyes of the beholder  Grin great !).

But... keys are mess up with my azerty keyboard  Wink

Windows XP SP 2, Java 1.6.05, Firefox 2.0.0.14
Offline ben

Junior Devvie


Projects: 1



« Reply #19 - Posted 2008-05-26 10:25:37 »

Wow, this is great!

It really does remind me of Ultima Underworld.

I would love to see this developed further into a full game.

The swaying trees were a very nice touch too.

Keep it up.

Ben.
Offline Markus_Persson

JGO Wizard


Medals: 16
Projects: 19


Mojang Specifications


« Reply #20 - Posted 2008-05-26 11:06:08 »

Hihi, found test render of an earlier version of the engine, with placeholder art stolen from google somewhere, and a really hacked together ball particle engine:

Click to Play


The engine supports rendering to disk at 30 fps regardless of actual framerate. If you've got lower fps than 30, it'll still render (exactly) 30 fps to disk. The game will obviously run at lower than normal speed when that happens, but playing back the video will show it at full speed. Cheesy

Play Minecraft!
Offline Orangy Tang

JGO Kernel


Medals: 56
Projects: 11


Monkey for a head


« Reply #21 - Posted 2008-05-26 11:13:35 »

Doesn't accept input in Opera here, even after frantic clicking and switching between tabs. Sad

[ TriangularPixels.com - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Offline gouessej
« Reply #22 - Posted 2008-05-26 14:56:15 »

I don't know why but keys didn't work the fisrt time (while i can rotate with the mouse  Huh). Second time, everything works fine (The graphic style remember me Eyes of the beholder  Grin great !).

But... keys are mess up with my azerty keyboard  Wink

Windows XP SP 2, Java 1.6.05, Firefox 2.0.0.14

You're right Bonbon-Chan, it would be better to handle this case as I did in TUER, I used a solution that is fine with an azerty and a qwerty keyboard.

Offline Markus_Persson

JGO Wizard


Medals: 16
Projects: 19


Mojang Specifications


« Reply #23 - Posted 2008-05-26 21:27:13 »

New version up, seems to accept keyboard input in opera, although you might have to click the applet TWICE (for some reason..) first. And the framerate REALLY sucks in opera. :-( [edit:] No, it doesn't, nevermind. Wink

There are items you can pick up now. =D Check out the woods.

Oh, and I've added some more keys for moving around; the arrow keys and the numpad. Also, it should work on java 1.5 now.

Play Minecraft!
Offline SimonH
« Reply #24 - Posted 2008-05-27 00:29:38 »

1.5 works great - love it - Eye of the Beholder in an applet! Especially like the particles & jiving zombies  Grin
I'd slow the walk down a bit though - make 'em scared to turn that corner...
Get it fully functional and here's a very playable game!


People make games and games make people
Offline gouessej
« Reply #25 - Posted 2008-05-27 05:23:11 »

New version up, seems to accept keyboard input in opera, although you might have to click the applet TWICE (for some reason..) first. And the framerate REALLY sucks in opera. :-( [edit:] No, it doesn't, nevermind. Wink

There are items you can pick up now. =D Check out the woods.

Oh, and I've added some more keys for moving around; the arrow keys and the numpad. Also, it should work on java 1.5 now.
Could you use Z too to walk forward please? It is not used yet and it would be easier for french users.

Offline Bonbon-Chan

JGO Coder


Medals: 12



« Reply #26 - Posted 2008-05-27 06:59:41 »

Qwerty keyboard :

QWE
ASD
ZXC

Azerty keyboard (french) :

AZE
QSD
WXC

Qwertz keyboard (germany) :
QWE
ASD
YXC

And i don't speak of other keyboards (arabian, korean, ...)

For French user, the Z is free but A and Q are switched
Offline markus.borbely

Junior Devvie





« Reply #27 - Posted 2008-05-27 10:36:33 »

It worked on Mac os X Leopard, starting it with the appletviewer. Good framerate. This looks really promising. But I know that it is a huge amount of work to build something with a story. I have tried it.

The engine looks nice but the textures could be a little bit more highres. Is it possible? What is the plans? Need help?
Offline Markus_Persson

JGO Wizard


Medals: 16
Projects: 19


Mojang Specifications


« Reply #28 - Posted 2008-05-27 11:09:43 »

I LIKE lowres, so I'm going to keep it like that. It's part of the look, plus it helps keep the game small. =)

And I'm going to try to finish this on my own, but thanks.

Play Minecraft!
Offline thijs

Junior Devvie




Lava games rock!


« Reply #29 - Posted 2008-05-27 20:03:25 »

Good call on the lowres, makes it feel cozy! Smiley

What do you use to render the maze? Using an BSP tree ala doom or "raycasting" like wolfenstein does?

<a href="http://www.dzzd.net">3DzzD!</a>
<a href="http://www.arcazoid.com">Arcazoid!</a>
Pages: [1] 2 3
  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!