Java-Gaming.org
Java4K - to go Javadoc:
rt.jar
slick.jar
lwjgl.jar
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members
News
: Read the
Java Gaming Resources
, peek at
the official java tutorials
or join us at
irc
#jgo.
Home
Help
Search
Login
Register
Java-Gaming.org
>
Games Center
>
Showcase
>
Legend of the Chambered
Pages: [
1
]
2
Print
Legend of the Chambered
(Read 14677 times)
0 Members and 1 Guest are viewing this topic.
Markus_Persson
JGO Kernel
Posts: 2092
Medals: 10
Mojang Specifications
Legend of the Chambered
«
on:
2008-05-24 19:24:39
»
Legend of the Chambered!
(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.
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
!
kevglass
« League of Dukes »
JGO Kernel
Posts: 5199
Medals: 47
Mentally unstable, best avoided.
Re: Legend of the Chambered
«
Reply #1 on:
2008-05-24 19: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!
Look forward to seeing where this goes to.
Kev
Current
|
Home
|
Twitter
|
Slick
|
Phys2D
|
Tutorials
Morre
Sr. Member
Posts: 494
I'm Dragonene on IRC.
Re: Legend of the Chambered
«
Reply #2 on:
2008-05-24 19: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
In any case, great stuff. Looking forward to seeing more of this.
www.x2d.org
|
Towerball
|
Spiderball4k
Games published by our own members! Go get 'em!
Markus_Persson
JGO Kernel
Posts: 2092
Medals: 10
Mojang Specifications
Re: Legend of the Chambered
«
Reply #3 on:
2008-05-24 19: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
!
Morre
Sr. Member
Posts: 494
I'm Dragonene on IRC.
Re: Legend of the Chambered
«
Reply #4 on:
2008-05-24 19: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
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.
www.x2d.org
|
Towerball
|
Spiderball4k
CommanderKeith
JGO Wizard
Posts: 1447
Medals: 9
Re: Legend of the Chambered
«
Reply #5 on:
2008-05-24 21: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?
StraightEdge 2D polygon project
SydneyEngine multiplayer top-down view shooter
noblemaster
JGO Ninja
Posts: 726
Medals: 5
Age of Conquest makes your day!
Re: Legend of the Chambered
«
Reply #6 on:
2008-05-24 22:43:10
»
Very cool :-D
[
Twitter
|
Blog
|
Noble Master
]
steveyO
Sr. Member
Posts: 308
Medals: 4
Re: Legend of the Chambered
«
Reply #7 on:
2008-05-25 04:44:12
»
Very cool (and smooth too, Firefox).. :-)
www.bullsquared.com
Play java (applet) games!
www.chessclockpro.com
Free Online Chess Clock
gouessej
JGO Kernel
Posts: 3433
Medals: 26
TUER
Re: Legend of the Chambered
«
Reply #8 on:
2008-05-25 05: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.
Julien Gouesse
Markus_Persson
JGO Kernel
Posts: 2092
Medals: 10
Mojang Specifications
Re: Legend of the Chambered
«
Reply #9 on:
2008-05-25 08: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.
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! Go get 'em!
SimonH
JGO Strike Force
Posts: 883
Medals: 13
Re: Legend of the Chambered
«
Reply #10 on:
2008-05-25 08:30:35
»
Java 1.6? *sigh* I s'pose I should upgrade...
Stickmen Wars 2
is in development.
Meanwhile try
Bloodridge
erikd
JGO Kernel
Posts: 2561
Medals: 7
Maximumisness
Re: Legend of the Chambered
«
Reply #11 on:
2008-05-25 09: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.
http://www.gagaplay.com
irreversible_kev
Full Member
Posts: 174
Re: Legend of the Chambered
«
Reply #12 on:
2008-05-25 11: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
brackeen
Full Member
Posts: 247
Re: Legend of the Chambered
«
Reply #13 on:
2008-05-25 12: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
Quote from: Morre on
2008-05-24 19:55:39
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.
gouessej
JGO Kernel
Posts: 3433
Medals: 26
TUER
Re: Legend of the Chambered
«
Reply #14 on:
2008-05-25 16:49:19
»
Quote from: brackeen on
2012-01-09 02:07:41
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
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.
Julien Gouesse
brackeen
Full Member
Posts: 247
Re: Legend of the Chambered
«
Reply #15 on:
2008-05-25 17:13:18
»
Quote from: gouessej on
2012-01-08 04:00:37
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.
gouessej
JGO Kernel
Posts: 3433
Medals: 26
TUER
Re: Legend of the Chambered
«
Reply #16 on:
2008-05-25 18:44:34
»
Quote from: brackeen on
2012-01-08 04:00:37
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.
Julien Gouesse
Markus_Persson
JGO Kernel
Posts: 2092
Medals: 10
Mojang Specifications
Re: Legend of the Chambered
«
Reply #17 on:
2008-05-26 04: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
!
Bonbon-Chan
Sr. Member
Posts: 412
Medals: 13
Re: Legend of the Chambered
«
Reply #18 on:
2008-05-26 05:25:50
»
I don't know why but keys didn't work the fisrt time (while i can rotate with the mouse
). Second time, everything works fine (The graphic style remember me Eyes of the beholder
great !).
But... keys are mess up with my azerty keyboard
Windows XP SP 2, Java 1.6.05, Firefox 2.0.0.14
ben
JGO n00b
Posts: 27
Re: Legend of the Chambered
«
Reply #19 on:
2008-05-26 06: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.
Markus_Persson
JGO Kernel
Posts: 2092
Medals: 10
Mojang Specifications
Re: Legend of the Chambered
«
Reply #20 on:
2008-05-26 07: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:
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.
Play
Minecraft
!
Orangy Tang
JGO Kernel
Posts: 2840
Medals: 26
Monkey for a head
Re: Legend of the Chambered
«
Reply #21 on:
2008-05-26 07:13:35
»
Doesn't accept input in Opera here, even after frantic clicking and switching between tabs.
[
TriangularPixels.com
- Play Growth Spurt, Rescue Squad and Snowman Village ] [
Rebirth - game resource library
]
gouessej
JGO Kernel
Posts: 3433
Medals: 26
TUER
Re: Legend of the Chambered
«
Reply #22 on:
2008-05-26 10:56:15
»
Quote from: Bonbon-Chan on
2012-01-09 04:11:12
I don't know why but keys didn't work the fisrt time (while i can rotate with the mouse
). Second time, everything works fine (The graphic style remember me Eyes of the beholder
great !).
But... keys are mess up with my azerty keyboard
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.
Julien Gouesse
Markus_Persson
JGO Kernel
Posts: 2092
Medals: 10
Mojang Specifications
Re: Legend of the Chambered
«
Reply #23 on:
2008-05-26 17: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.
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
!
SimonH
JGO Strike Force
Posts: 883
Medals: 13
Re: Legend of the Chambered
«
Reply #24 on:
2008-05-26 20:29:38
»
1.5 works great - love it - Eye of the Beholder in an applet! Especially like the particles & jiving zombies
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!
Stickmen Wars 2
is in development.
Meanwhile try
Bloodridge
gouessej
JGO Kernel
Posts: 3433
Medals: 26
TUER
Re: Legend of the Chambered
«
Reply #25 on:
2008-05-27 01:23:11
»
Quote from: Markus_Persson on
2012-01-08 04:00:37
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.
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.
Julien Gouesse
Bonbon-Chan
Sr. Member
Posts: 412
Medals: 13
Re: Legend of the Chambered
«
Reply #26 on:
2008-05-27 02: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
markus.borbely
Full Member
Posts: 217
Medals: 1
Re: Legend of the Chambered
«
Reply #27 on:
2008-05-27 06: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?
Markus_Persson
JGO Kernel
Posts: 2092
Medals: 10
Mojang Specifications
Re: Legend of the Chambered
«
Reply #28 on:
2008-05-27 07: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
!
thijs
Full Member
Posts: 188
Lava games rock!
Re: Legend of the Chambered
«
Reply #29 on:
2008-05-27 16:03:25
»
Good call on the lowres, makes it feel cozy!
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
Print
Jump to:
Please select a destination:
-----------------------------
Discussions
-----------------------------
=> General Discussions
===> Suggestions
=> Business and Project Discussions
===> Jobs and Resumes
===> Community & Volunteer Projects
=> Miscellaneous Topics
-----------------------------
Game Development
-----------------------------
=> Newbie & Debugging Questions
===> Java Game Tutorials
=> Game Play & Game Design
=> Game Mechanics
===> Artificial Intelligence
=> Networking & Multiplayer
=> Performance Tuning
=> Shared Code
-----------------------------
Games Center
-----------------------------
=> Featured Games
=> Showcase
=> Contests
===> LWJGL16k - 2011
===> 4K Game Competition - 2012
===> JGO Comp Petite
===> Finished Contests
=====> 4K Game Competition - 2011
=====> 4K Game Competition - 2010
=====> 4K Game Competition - 2009
=====> 4K Game Competition - 2008
=====> 4K Game Competition - 2007
=====> 4K Game Competition - 2006
=====> 4K Game Competition - 2005
=====> Tiny Game 2010
=====> JGO Comp 2009
=====> 16K LWJGL Competition - 2005
=====> Java Technology Game Development Contest - 2004
-----------------------------
Java Game APIs & Engines
-----------------------------
=> Engines, Libraries and Tools
===> Java 3D
===> JInput
===> jMonkeyEngine
===> Xith3D Forums
===> Tools Discussion
=> Java 2D
===> JavaFX
=> OpenGL Development
===> JOGL Development
===> LWJGL Development
=> Java Sound & OpenAL
===> JOAL Development
=> Java on Mobile Devices
===> Android
===> J2ME
-----------------------------
Resources
-----------------------------
=> Articles & tutorials
Featured Game
Latest Featured
O RLY!
Add your game by posting it in the showcase section.
The first screenshot will be displayed as a thumbnail.
Loading...