Markus_Persson
JGO Kernel      Posts: 2092 Medals: 10
Mojang Specifications
|
 |
«
on:
2005-01-29 15:10:41 » |
|
Well, the SonicRacer4k thing mutated into a voxel cave engine that got stuck at 3KB sans gameplay, and I forgot to save the sourecode for just the racer, so I started over with something new. My main goals where to both make something that looks good, and to make something that's actually PLAYABLE. This is supposed to be a GAME competition after all, not just a fancy technology competition. Screenshots: Webpage: (with jnlp, instructions, and more screenshots) http://www.mojang.com/j4k/dungeon4k/
|
|
|
|
oNyx
JGO Kernel      Posts: 2943 Medals: 5
pixels! :x
|
 |
«
Reply #1 on:
2005-01-29 15:17:32 » |
|
Oooooooh shiny 
|
|
|
|
kevglass
« League of Dukes » JGO Kernel      Posts: 5214 Medals: 49
Mentally unstable, best avoided.
|
 |
«
Reply #2 on:
2005-01-29 15:56:42 » |
|
Whoa! Really Nice! Can you say winner  Kev
|
|
|
|
Games published by our own members! Go get 'em!
|
|
erikd
JGO Kernel      Posts: 2561 Medals: 7
Maximumisness
|
 |
«
Reply #3 on:
2005-01-29 16:05:31 » |
|
Very cool! Dungeon Master in 4k 
|
|
|
|
luisoft
Sr. Member   Posts: 286
Java games rock!
|
 |
«
Reply #4 on:
2005-01-29 16:46:23 » |
|
Very amasing  I agree with Kev, I think that we already have a winner. Are you planning to release the source code?
|
|
|
|
|
nonnus29
JGO Ninja    Posts: 687
Giving Java a second chance after ludumdare fiasco
|
 |
«
Reply #5 on:
2005-01-29 20:12:51 » |
|
Ooh, I can actually play this one....
Yes very nice, and well the source code be release?
|
|
|
|
|
jbanes
JGO Neuromancer     Posts: 1178
"Java Games? Incredible! Mr. Incredible, that is!"
|
 |
«
Reply #6 on:
2005-01-29 22:15:47 » |
|
I wasn't expecting to win, but I was hoping that my Robotron 4096 would at least have a fighting chance! Thanks alot Markus. :-/ ;-)
Actually, I'm quite impressed. You did a good job. Particularly impressive is the apparent lack of prerendered pixmaps. Would I be correct if I assumed that the textures are generated from a random noise generator plus a few line drawing algorithms? Also, if I'm not mistaken, there's no 3D math being done here. Rather the walls are linearly scaled to match their precise 2D distance from the player.
The addition of lighting is particularly nice. Is that done with a palette, or do you modify the individual pixels? Also, is the map autogenerated, or is it actually stored somewhere?
Anyway, a few comments:
1. You might want to change the name in the JNLP file to "Dungeon 4K" instead of "SonicRacer4K".
2. How about an executable manifest for the download version? You seem to have the space.
3. I'm on my Mac right now. When it goes into full screen, only a small portion of the screen is used. Is this correct?
4. How does the Pull spell work? When I try to pull one of the spheres, it seems to just stay where it is.
In any case, very nice job! It should fare well in the competition! :-)
|
|
|
|
mlk
Full Member   Posts: 123
Muppet!
|
 |
«
Reply #7 on:
2005-01-30 03:02:40 » |
|
Wooo. pwetty. 
|
|
|
|
Markus_Persson
JGO Kernel      Posts: 2092 Medals: 10
Mojang Specifications
|
 |
«
Reply #8 on:
2005-01-30 04:19:39 » |
|
Whee! =D I'm glad you like it. I almost went nuts finishing it last night. I was at 3.8kb with no actual gameplay yet, and a few strange bugs. (You could sidestep through doors!) jbanes: 0. All the graphics (except the key, which is a hack) are procedural. So is the map. It initially had a hand-made 16x16 map that was a bit more fun to play, but it just felt too small. 1. Hah, oops. Thanks, I fixed it. =) 2. The jar is 4096 bytes at the moment.. I'll try. 3. No, it's supposed to run 320x240 pixels fullscreen. Mh. 4. Stand in front of the sphere you want to pull, then back up one step and press p. It costs 10 energy to cast that spell, though. As for the sourcecode, I'll post that once it's done. Hopefully it could inspire someone to make a proper dungeon master clone applet. 
|
|
|
|
princec
« League of Dukes » JGO Kernel      Posts: 8076 Medals: 91
Eh? Who? What? ... Me?
|
 |
«
Reply #9 on:
2005-01-30 12:24:03 » |
|
Blimey, I just don't know how people do it :/ Cas 
|
|
|
|
Games published by our own members! Go get 'em!
|
|
Markus_Persson
JGO Kernel      Posts: 2092 Medals: 10
Mojang Specifications
|
 |
«
Reply #10 on:
2005-01-30 13:00:34 » |
|
I can only speak for myself, but it's a lot of bad code and angst. =/
You should make a 4k alien flux. =D
|
|
|
|
blahblahblahh
JGO Kernel      Posts: 4575
http://t-machine.org
|
 |
«
Reply #11 on:
2005-01-30 13:15:32 » |
|
I was at 3.8kb with no actual gameplay yet, and a few strange bugs.
IMHO, for experienced java devs this is what's really good about the 4k contest: getting good graphics, etc, and *then* making sure there's good gameplay in there too. A lot harder than just doing 4k graphics demos... As for the sourcecode, I'll post that once it's done. Hopefully it could inspire someone to make a proper dungeon master clone applet.  IIRC there is a complete port of the original Dungeon Master (the last version released on PC) to java, and it's already open source. IIRC the code is also pretty horrible  and no-one's updated it for ages. Yep: here it is: http://www.cs.pitt.edu/~alandale/dmjava/index.htmlI played it quite a bit, but to be honest it's quite a dull game by today's standards; unlike some other oldies, it has dated particularly poorly. Probably mainly because 3D graphics in particular moved ahead light years, and we're now spoilt by the interactivity of MMORPGs...
|
malloc will be first against the wall when the revolution comes...
|
|
|
blahblahblahh
JGO Kernel      Posts: 4575
http://t-machine.org
|
 |
«
Reply #12 on:
2005-01-30 13:19:56 » |
|
PS: I wrote a real-time raytraced DM clone some years back with free movement, and some funky stuff like slightly exaggerated perspective (so that walls have a slight curve to them, which makes them look more realistic, but is a PITA to do if you're using traditional triangle rendering) and funkier lighting (because it's easy to do once you're already raytracing). If someone (I'm guessing Markus, like me, has nowhere near enough spare time  given his other projects) wants to start a "modernised" DM clone suggest doing raytracing for it to give it a unique new feel...it's really immersive having realistic lighting. Although I never got further than trivial AD&D combat with boxes (didn't get as far as adding sprites for monsters  ) and only had it in black and white, you could get very far these days using pure procedural textures and lighting, doing all rendering in software (and without those boring triangle renderers  )
|
malloc will be first against the wall when the revolution comes...
|
|
|
ap_kelly
Full Member   Posts: 194
Java rocks!
|
 |
«
Reply #13 on:
2005-01-30 14:41:08 » |
|
An online multiplayer version of Dungeon Master would be pretty cool, perhaps I should make a Project Proposal and see if anyone else is interested in helping out.
Andy.
|
|
|
|
jbanes
JGO Neuromancer     Posts: 1178
"Java Games? Incredible! Mr. Incredible, that is!"
|
 |
«
Reply #14 on:
2005-01-30 15:33:52 » |
|
If someone (I'm guessing Markus, like me, has nowhere near enough spare time  given his other projects) wants to start a "modernised" DM clone suggest doing raytracing for it to give it a unique new feel...it's really immersive having realistic lighting. Although I never got further than trivial AD&D combat with boxes (didn't get as far as adding sprites for monsters  ) and only had it in black and white, you could get very far these days using pure procedural textures and lighting, doing all rendering in software (and without those boring triangle renderers  ) You know, for something like Dungeon Master, Perlin Style Procedural Textures are really sufficient. Adding actual raytracing would be an unnecessary overkill. i.e. Since you're stuck to a limited number of moves and directions to face, the 3D coordinates become stupidly simple to compute. Once you have those coordinates, you just plug them into the procedural texture generator and out pops a perspective texture. Raytracing is far more useful for complex surfaces with surface coordinates that are difficult to predict. :-)
|
|
|
|
blahblahblahh
JGO Kernel      Posts: 4575
http://t-machine.org
|
 |
«
Reply #15 on:
2005-01-30 16:56:41 » |
|
You know, for something like Dungeon Master, Perlin Style Procedural Textures are really sufficient. Adding actual raytracing would be an unnecessary overkill. i.e. Since you're stuck to a limited number of moves and directions to face, the 3D coordinates become stupidly simple to compute.
Ah. I wasn't clear enough: My clone had full 360 degress movement, just like Doom. If you're not worrying about 4k limits  there's really no reason to go all EotB these days  . Ultima Underworlds is a basic example of how to make all the gameplay and UI work effectively, although obviously it's quite easy to do better these days, when you can laugh in the face of "optimization" (UU was happily doing quake graphics and richer gameplay on hardware 1/2 the speed of what Quake required as a minimum to run; PS: reminds me of the Carmack thread; carmack == great programmer? My arse. Go play UU; came out 2 years before even Doom1).
|
malloc will be first against the wall when the revolution comes...
|
|
|
jbanes
JGO Neuromancer     Posts: 1178
"Java Games? Incredible! Mr. Incredible, that is!"
|
 |
«
Reply #16 on:
2005-01-30 18:06:23 » |
|
Ah. I wasn't clear enough: My clone had full 360 degress movement, just like Doom. If you're not worrying about 4k limits  there's really no reason to go all EotB these days  . Ah, I see. Neat! So were you actually doing Ray Tracing, or were you using an advanced Ray Caster? I really can't see a Ray Tracer being efficient enough without some SERIOUS optimizations. Not that it isn't possible, just a bit tricky. ;-) Ultima Underworlds is a basic example of how to make all the gameplay and UI work effectively, although obviously it's quite easy to do better these days, when you can laugh in the face of "optimization" (UU was happily doing quake graphics and richer gameplay on hardware 1/2 the speed of what Quake required as a minimum to run; PS: reminds me of the Carmack thread; carmack == great programmer? My arse. Go play UU; came out 2 years before even Doom1). Indeed. In many ways I think Chris Roberts and the rest of the Origin team were the original masters of PC Game Programming. The only reason why Ultima didn't get its due was because it was an RPG. And RPGs of the time tended to appeal to only a small subset of Players. The titles that got away from that (e.g. Wing Commander) showed extreme success and popularity. Now if Origin had only known how to make money off of that popularity... An interesting factoid is that Ultima Underworld was produced by Looking Glass Studios, the same people who produced such cool titles as Flight Unlimited, Terra Nova, and System Shock. They really had a history of producing innovative gameplay technologies. Sadly, they were only slightly better than Origin on capitalizing on those technologies. 
|
|
|
|
Markus_Persson
JGO Kernel      Posts: 2092 Medals: 10
Mojang Specifications
|
 |
«
Reply #17 on:
2005-01-30 23:43:46 » |
|
The problem with the java dungeon master code and pretty much all other dungeon master clones out there is that they all try too hard. Cool 3d graphics does not make a game easier to play, and there's absolutely no need to add 360 degrees movement to a tile based game unless you're making a wolfenstein clone.
It's like seeing an opengl version of excite bike.. it just feels wrong.
|
|
|
|
blahblahblahh
JGO Kernel      Posts: 4575
http://t-machine.org
|
 |
«
Reply #18 on:
2005-01-31 00:09:11 » |
|
Um, IIRC it was, technically, rayCASTing, since it didn't do each pixel, it did each vertical column of pixels using one cast, and then algorithmically (ignoring perspective now) worked out what to paint inside the column.
It was full of *cheap tricks* because performance did matter, a bit, on java 1.2, so I'm glad the source is nowhere publically visible (I've lost it). The code probably looked horrible.
Still, it was easy to do, and it was really nice wandering around with decent lighting and curving walls.
</threadjack>
PS: don't knock 360 movement in an RPG untl you've tried it; I mentoined it precisely because it's a lot nicer than I would have tghought until I actually had an example to fiddle with.
|
malloc will be first against the wall when the revolution comes...
|
|
|
Markus_Persson
JGO Kernel      Posts: 2092 Medals: 10
Mojang Specifications
|
 |
«
Reply #19 on:
2005-01-31 00:29:57 » |
|
I'm not. I'm knocking 3d movement in dungeon master clones. And, yes, I've tried it. They even had the nerve to SELL some games like that. (case in point, Lands of Lore 3) Sure, Ultima Underworld was a better game than, say, Eye of the Beholder 3, but that wasn't because of the 3d engine. The highly underrated Dungeon Master 2 was way better than Ultima Underworld. This is all, of course, imho. [edit:] 360 movement in an rpg is fine for games that aren't trying to be dungeon master, such as neverwinter nights, wurm online and fable. But just slapping a 3d engine on DM is annoying and wrong. Imho. 
|
|
|
|
Malohkan
JGO Neuromancer     Posts: 1108 Medals: 1
while (true) System.out.println("WOO!!!!");
|
 |
«
Reply #20 on:
2005-02-01 10:44:50 » |
|
Hmm it looks pretty, but I can't figure out what's going on... I think I'd prefer A and D to turn and Q and E to strafe also 
|
|
|
|
blahblahblahh
JGO Kernel      Posts: 4575
http://t-machine.org
|
 |
«
Reply #21 on:
2005-02-01 11:57:04 » |
|
I'm not. BTW: that was intended as a rhetorical comment rather than an accusation  . I was only suggesting it as a nice way to "evolve" the DM game, making use of the fact that a lot of extra techniques are both available and *trivial* in programmer time these days which could make the new game a bit more interesting...
|
malloc will be first against the wall when the revolution comes...
|
|
|
Markus_Persson
JGO Kernel      Posts: 2092 Medals: 10
Mojang Specifications
|
 |
«
Reply #22 on:
2005-02-01 14:14:55 » |
|
Hmm it looks pretty, but I can't figure out what's going on... I think I'd prefer A and D to turn and Q and E to strafe also  It uses the original DM controls. =) (well, mapped to the left side of the kb as well for comfort) blahblahblahh: I'm just saying that with 360 motion and nice graphics, you might as well make a morrowind instead of a dungeon master. Or, you know, a wurm.
|
|
|
|
Vorax
JGO Ninja    Posts: 666 Medals: 1
System shutting down in 5..4..3...
|
 |
«
Reply #23 on:
2005-02-02 16:03:15 » |
|
(UU was happily doing quake graphics and richer gameplay on hardware 1/2 the speed of what Quake required as a minimum to run; PS: reminds me of the Carmack thread; carmack == great programmer? My arse. Go play UU; came out 2 years before even Doom1). UU was developed by an established company as part of an existing franchise, Doom developed by 1 programmer and 2 others and they ran on equivelant HW. Doom was also a much more advanced engine (in terms of graphics). Though, Carmack was just a kid at the time anyways when he started working on the engines for Wolf and Doom, 18, so he could only set the standard, not redefine the entire genre...he did that later at 23  Wow...come to think of it Carmack really is amazing!  Good point!
|
|
|
|
|