3D TOMB II by Ribbon [web]
screenshot added by p01 on 2007-07-01 23:50:31
platform :
type :
release date : july 2007
  • 73
  • 6
  • 5
popularity : 68%
  • 0.81
alltime top: #1179
  • p01 p01 [code, graphics]
added on the 2007-07-01 23:50:31 by p01 p01

popularity helper

increase the popularity of this prod by spreading this URL:

or via: facebook twitter pinterest tumblr


Check 3D TOMB II's mini site for more informations and the hall of fame.

The controls are X,C to strafe, SPACE to fire, the arrows to move around.

Due to a bug in Safari and Gecko's handling of the zIndex, the game doesn't work as expected in Safari, FireFox and co. But it works like a charm, on a semi-recent computer, in IE and Opera.

Hope you'll like it.
added on the 2007-07-01 23:50:44 by p01 p01
if(p01) then rulez()!

Ok, that was no JS, sorry :)
rulez added on the 2007-07-02 00:10:01 by keops keops
As mentioned, it has some minor problems in Firefox. But it's still pretty impressive! Yet a bit slow on my machine. :)
rulez added on the 2007-07-02 00:15:55 by StingRay StingRay
Cool. It's slow, but that's what javascript gives you.
rulez added on the 2007-07-02 00:16:56 by xernobyl xernobyl
its 4k and its in javascript.
rulez added on the 2007-07-02 00:34:50 by Rubicante Rubicante
sick sick sick, I love it
rulez added on the 2007-07-02 00:43:11 by Weyland Yutani Weyland Yutani
good work!
rulez added on the 2007-07-02 00:52:04 by ryg ryg
rulez added on the 2007-07-02 01:12:13 by auld auld
p01 strikes again! Thanks Man!
rulez added on the 2007-07-02 01:26:32 by Pirx Pirx
rulez added on the 2007-07-02 01:31:18 by las las
nice game in 4k!
rulez added on the 2007-07-02 01:39:53 by rbz rbz
rulez added on the 2007-07-02 01:47:56 by texel texel
I've tested it in some browsers for Windows:
FX2 - Not working correctly and slow
Opera 9 - Working and slow
IE7 - A bit slow
IE6 - Faster
IE5.5 - Looks as the best in speed
added on the 2007-07-02 01:51:52 by texel texel
Great work! It's too hard though ;-)
rulez added on the 2007-07-02 03:37:30 by Nezbie Nezbie
Damn... wolf5k in color and in 4k!!

And the coding is truly solid, not like most js demos which must crash on at least one of the 4 Big Browsers...

the only bitch about this is... why the compression just to reach 4k? would've been as good if it were 32k....
rulez added on the 2007-07-02 05:56:41 by Momo Vampire Momo Vampire
I just realized it was only 4k, damn. p01 you old rOxOr ;)
added on the 2007-07-02 06:03:50 by keops keops
rulez added on the 2007-07-02 07:56:30 by benny! benny!
rulez added on the 2007-07-02 09:09:10 by Cj Cj
rulez added on the 2007-07-02 09:58:04 by [self-ban] [self-ban]
rulez added on the 2007-07-02 10:42:26 by starbuck starbuck
rulez added on the 2007-07-02 10:44:02 by aha aha
Bit slow here, still really impressive!
rulez added on the 2007-07-02 10:47:45 by Jailbird Jailbird
rulez added on the 2007-07-02 10:52:21 by iks iks
Wake me up when there is a version without the playing-w3d-on-a-286 slowness and all those clipping bugs. :)
added on the 2007-07-02 10:53:58 by tomaes tomaes
rulez added on the 2007-07-02 10:54:57 by Pulsar Pulsar
Hehe nice :)
rulez added on the 2007-07-02 11:11:23 by kenet kenet
rulez added on the 2007-07-02 11:27:14 by hollowman hollowman
damn impressive!
rulez added on the 2007-07-02 11:28:07 by decipher decipher
rulez added on the 2007-07-02 12:14:18 by Intrinsic Intrinsic
rulez added on the 2007-07-02 12:27:07 by SilkCut SilkCut
No problem with Safari browser on Mac.
rulez added on the 2007-07-02 12:34:17 by Manwe Manwe
rulez added on the 2007-07-02 12:51:25 by Optimus Optimus
Nice !
rulez added on the 2007-07-02 13:16:04 by Anat Anat
rulez added on the 2007-07-02 13:38:46 by Buckethead Buckethead
rulez added on the 2007-07-02 13:38:56 by src src
rulez added on the 2007-07-02 13:53:44 by nula nula
rulez added on the 2007-07-02 14:01:01 by soolta soolta
I'll be a bit picky here and hand out the first BB Image.
It's a bit slow on IE, no wonder considering the speed of my computer. However, what annoys me is how badly it works on Opera. I couldn't get the prod to run at all. When I launched it, it just hung up and didn't even start the game. (I waited 30 seconds or so, where IE started within 5 secs) This is also bugging me considering who you are. :p
Also, tomæs has a point. The clipping errors are just not ugly (Which per se would've been excused for in a 4k) but were also annoying because it made focus on the wrong zombie.

It's not that I'm dissing this prod, I know the time you spent on it and so on, it's just that occasionally even excellent prods need a BB Image or two.

On the positive side: I extracted and looked at the code, and I see some good things there. ;)
Also, about the compression: Did you hand-compress it, or did you write/use an analyzer for that purpose?
sucks added on the 2007-07-02 14:01:20 by nitro2k01 nitro2k01
Nice! How much for the full version?
rulez added on the 2007-07-02 14:08:44 by psonice psonice
very nice. I specially liked the textured floor and ceiling. cute game :)
rulez added on the 2007-07-02 14:24:56 by Skate Skate
Never seen anything like this done in 4kb Javascript before. :-)
rulez added on the 2007-07-02 19:03:36 by Shockwave Shockwave
OMG p01 killed firefox!1!
rulez added on the 2007-07-02 19:06:01 by Zest Zest
Thanks for the warm feedback! It feels good to see my efforts were not vain.

keops: he he I didn't tick the 4k category just for fun ;)

texel + Manwe: Thanks for testing in various browsers. I only tested on PC using IE6, IE7, OP9+, FF2, MZ1.7.13 and SF3beta. AFAIR the game ran at 10-15fps in IE5.5 on my 1.5 Ghz computer back in 2002-2003

psonice: Define "full version". I could make a similar game using more modern techniques to have better graphics, but I'd rather spend that time on a new JavaScript demo.

Skate: Glad someone mention the floor and ceiling mapping. That's the whole point of this engine.

nitro1k01: :\ Opera's window probably didn't have focus, so it didn't received your keypress events. That happens to me some times.

I know about the clipping issues, but can't think of a way to fix to them. Thy're due to the Z buffer and the relative imprecission of the floor-casting ( it's not ray-casting + floor-casting, but just floor-casting as it is more size efficient )

*hint* you don't really have to focus on a specific zombie. Play hide and run with them ;)

Myself I don't know how much time I spent on 3D TOMB II, but since 2002 it certainly adds up to thousand(s) of hours writing several engines, JS packers, graphics, ...

I wrote 3 JS packers, but finally used, and sized optimized, MemTronic's JS packer because it handles well the characters with an ASCII code > 127. Nonetheless, as you probably saw, the code is written and tweaked to be more packer-friendly.

What exactly do you like/dislike about the game or code ?

any FireFox users: Give the game a try in IE, or Opera. It's much faster there and don't suffer from Z buffer/index issue.
added on the 2007-07-02 20:29:36 by p01 p01
Slower than Mood Preview on my C64. The turnaround movement could have been a bit faster. Bot otherwise cool!
rulez added on the 2007-07-03 00:21:18 by Exin Exin

\:D/ rejoice for now it works in IE, Opera, Firefox and (almost nicely in) Safari 3 beta.

added on the 2007-07-03 15:51:18 by p01 p01
slow in my ff, but rulez anyway!
rulez added on the 2007-07-03 15:59:27 by rmeht rmeht
Ha ha! Nice job! :) Slow as hell in FF but works well in IE.
rulez added on the 2007-07-03 16:35:35 by masterm masterm
added on the 2007-07-03 19:09:55 by las las
pirx even ;)
added on the 2007-07-03 19:10:47 by las las
Btw, there is a mini-review over at indygamer. :)
added on the 2007-07-03 19:14:47 by tomaes tomaes
Yeah whatever, it's not very fun to play :p
sucks added on the 2007-07-03 20:06:13 by teel teel
las, my highscore is 589 (level 17), but name window didn't appear.
added on the 2007-07-03 22:01:18 by Pirx Pirx
Oh and the player turns a tad faster now.

teel: well, once you feel comfortable with the controls it gets a bit addictive.

Pirx: :\ never had that pb before, and can't reproduce it. However I'm happy to see you, and others, have fun. You'll surely make it to the first place soon.
added on the 2007-07-03 23:01:05 by p01 p01
655. No window again. Maybe I hit the keys too hard (only space and arrows)?
added on the 2007-07-04 00:31:36 by Pirx Pirx
just great
rulez added on the 2007-07-04 11:06:36 by wie8 wie8
p01: The hangup was not due to lost focus, for sure. It made all of Opera totally unresponsive, and the prod didn't even render one frame. (Black page except for the static HTML elements)

I tried v2 now, and it stops at the following error:
Inline script compilation
Syntax error while loading: line 1 of inline script at file://localhost/C:/demo/3D_tomb_II_v2/3D_TOMB_II.htm :
added on the 2007-07-05 00:35:41 by nitro2k01 nitro2k01
Oh yeah, forgot. My version is the following if it helps.
Version 9.20
Build 8771
Platform Win32
System Windows XP
added on the 2007-07-05 00:36:38 by nitro2k01 nitro2k01
I use the exact same public build here, and it works fine.
What if you replace the eval($) by prompt('foo',$) and replace the compressed code in the .htm by the uncompressed one you get in the prompt. Is there a JS error ? where ?
added on the 2007-07-05 01:54:59 by p01 p01
Also some people tried the game at work, using various OS and builds and none reported such problem.

I just downloaded the ZIP file, and tested it in 9.20, no problem. Sorry.
added on the 2007-07-05 02:06:41 by p01 p01
good coder pr0n but the game itself is quite too slow to be playable, even in ie.. sorry p01..
sucks added on the 2007-07-05 15:08:54 by psenough psenough
p01: The error happens already in the split or hte string evaluation. (Not the eval statement, but the engine's interpretation of the string)
However, I used FF to decompress the code, and then put it in <script></script>, which worked ok in all three browsers.
added on the 2007-07-06 04:11:35 by nitro2k01 nitro2k01
rulez added on the 2007-07-06 23:58:14 by oldaccount oldaccount
really goog 4ktro! - even i hate javascript
rulez added on the 2007-07-18 12:59:41 by RA RA
multiplayer? :D

btw works quite fine in Safari Mac beta 3 (1.83GHz C2D)
rulez added on the 2007-07-18 13:46:51 by calimero calimero
cool stuff!
rulez added on the 2007-07-19 03:51:02 by greent greent
rulez added on the 2007-07-19 22:46:02 by v3nom v3nom
rulez added on the 2007-07-20 01:04:21 by cp_ cp_
Nice in IE but in firefox its a mere slideshow.
added on the 2007-07-20 13:04:15 by Shiranai Shiranai
rulez added on the 2007-07-20 13:11:41 by xeron xeron
Put it online as a Web page. ;)
added on the 2007-07-22 19:37:26 by AntDude AntDude
Ant: it is on www.3dtomb2.com. And the site handles the Hall of Fame, have Technical infos, ...

Calimero: The pb is the latency. But a co-op FPS should be doable in JS.
added on the 2007-07-22 20:10:05 by p01 p01
woooooot woooooooot
technically perfect !
rulez added on the 2007-07-22 23:51:02 by med med
great package!
rulez added on the 2007-07-23 12:20:40 by skarab skarab
better product than .kkrieger ;)
rulez added on the 2007-07-23 15:02:36 by toxie toxie
Yeah...hmm... no...hmm... piggy
added on the 2007-07-24 10:47:30 by hashdash hashdash
up. is there level editor for this?
rulez added on the 2007-07-24 16:34:09 by _makc _makc
:D nice
rulez added on the 2007-07-24 16:43:30 by ekoli ekoli
_makc: shouldn't be difficult to make one.

Previous iterations of the engine had a level editor.
added on the 2007-07-25 14:09:13 by p01 p01
p01: re. my 'how much for the full version' comment... this kind of game always used to be shareware =)
added on the 2007-07-25 14:12:50 by psonice psonice
Oh. Then I guess a cold beer will do. Thanks.
added on the 2007-07-25 14:43:16 by p01 p01
Congratulations! 3D is a bit buggy.
rulez added on the 2007-07-31 14:20:07 by TOMPCpl TOMPCpl
impressive!!! respects!
rulez added on the 2007-07-31 15:27:22 by xphere xphere
rulez added on the 2007-09-21 00:50:56 by T$ T$
too slow for my poor P4 :)
Slow and rather pointless as a game, but great proof of concept, rock on!
rulez added on the 2007-11-23 18:03:50 by shock__ shock__
Never mind about being slow, just rechecked in IE.
added on the 2007-11-23 18:07:17 by shock__ shock__
;) yeah, sorry about the speed.
Although a lot of optimizations and testing on my side, FireFox really chokes on the 5yo one zillion DIV technique.

But it's a breeze in IE or Opera.

If I were to do such a game today I'd ditch IE and use a more modern technique like 2D Canvas were doing the floor mapping is a lot less expensive, and more precise.
added on the 2007-11-24 12:49:46 by p01 p01
rulez added on the 2007-12-06 14:23:07 by seppjo seppjo
good. now make a better one :)
rulez added on the 2007-12-23 19:05:19 by anesthetic anesthetic
fucking great! :)

fps low :(
rulez added on the 2007-12-23 23:49:30 by Darkman007/quite Darkman007/quite
4k WTF?
rulez added on the 2008-01-08 21:43:54 by Alpha C Alpha C
Just have seen youtube video - phuck, whatta music. I remember I played it listening "Grendel - Hate This" and almost broke da keyboard.
added on the 2008-01-08 22:42:19 by Pirx Pirx
:) yeah I don't quite share the musical taste of the author of that gameplay video either but hey it's cool to have such video anyway
added on the 2008-01-08 23:03:43 by p01 p01
rulez added on the 2008-04-01 18:33:26 by Quarryman Quarryman
Me likes. Impressive and waaaay better looking than Wolf5k (which was pretty awesome, btw... But 3d Tomb is better ;)) Waiting for new version!
rulez added on the 2008-04-08 09:37:26 by wrthlss wrthlss
Slow and sucky in my browser :(
sucks added on the 2008-05-08 09:40:21 by Queen_Luna Queen_Luna
as said many times above, I started 3D TOMB II in 2002, the techniques available were much more brutal than what we have today. Therefore it needs a blazing fast rendering engine : give it try in IE, Opera or Safari.
added on the 2008-05-08 09:49:30 by p01 p01
Works great in Opera 9.25. Always fun :)
rulez added on the 2008-07-10 12:09:47 by Baudsurfer Baudsurfer
t'es barj
t'es barj
t'es barj
t'es barj
t'es barj
t'es barj
t'es barj
t'es barj
t'es barj
t'es barj
t'es barj
t'es barj
t'es barj
t'es barj
t'es barj
t'es barj
t'es barj
t'es barj
t'es barj
t'es barj
t'es barj
t'es barj
t'es barj
t'es barj
"What a surprise."...
... What else ?
sucks added on the 2008-07-18 20:32:48 by Bhl! Bhl!
rulez added on the 2008-07-26 23:39:04 by stage7 stage7
Sadly, the website is dead, and there's no downloadable version anymore :(
added on the 2009-10-13 19:22:56 by wrthlss wrthlss
\:D/ new mini site and download URL
added on the 2010-10-03 17:43:23 by p01 p01
good job !
rulez added on the 2010-10-10 20:44:27 by ɧ4ɾɗվ. ɧ4ɾɗվ.
rulez added on the 2010-10-10 22:01:55 by micdune micdune
Hard to play, as the aiming is quite difficult at the second level - can't hit the two enemies at the start, as the cross hair slips over them.
Nonetheless, awesome.
rulez added on the 2010-11-14 00:12:54 by mog mog
rulez added on the 2010-11-14 00:57:05 by SiR SiR
Well done, i like size optimisation.
rulez added on the 2010-12-21 14:34:23 by baah baah
ça tue
rulez added on the 2011-01-25 23:59:26 by ponce ponce
Not bad for 4K :D
rulez added on the 2011-05-15 13:15:27 by johnl johnl

submit changes

if this prod is a fake, some info is false or the download link is broken,

do not post about it in the comments, it will get lost.

instead, click here !

[previous edits]

add a comment