3D TOMB II: The tomb of the 4096 mummies is a first person shooter in a fully textured environment done in less than 4KB of JavaScript.
It was initially made for the5k 2002. Unfortunately the contest got cancelled so I waited for an opportunity to release it while adding more features and optimizing the game beyond all my expectations.
The 3D TOMB II mini site
Check the 3D TOMB II mini site for more information and to play.
Technical feat
3D Tomb II is a fully fledged game in less than 4KB ( 4096 bytes ) of DHTML. It features multiple levels, enemies, items, HUD, textures, high scores, ... Including all assets ( images, style, markup and JavaScript ), 3D Tomb II is actually 4003 bytes big.
A total of 144 textures are generated based on 6 base textures, 3 tone maps and 8 mathematical patterns.
To render not only the walls but also the floor and ceiling in a size efficient manner, floorcasting was favored over the traditional 2 passes rayscating approach. Using mirroring and time coherence between frames allowed for a frame rate of 10-15fps in Internet Explorer, back in 2002.
The controls
Use the arrow keys
to move and turn around, x
and c
to strafe left and right, and space
to shoot.
Gameplay video
Fan made gameplay video circa November 2007.
Related links
- PLAY 3D Tomb II
- Mini site of 3D Tomb II : The tomb of the 4096 mummies
- 3D Tomb II on pouet.net
- 3D Tomb II on the Indie Game Source Database
Other recent projects
There are many experiments and projects like 3D TOMB II to discover other here.
- FRONTFEST MOSCOW It was an honour to be invited to Fronfest Moscow 2017 with the little family to give my first workshop; implementing a Twin-stick shooter using ES6 and Canvas, and to continue my CODE🎙ART series of talks + live coding aiming to inspire new web developer artists. on November 18th, 2017
- VOLTRA VOLTRA: Grinding the Universe, a gritty JavaScript demo, winner of the 1024 bytes demo competition at the Assembly 2017. on August 6th, 2017
- BREATHING EARTH Another take on Nadieh Bremer mesmerizing Breathing Earth visualisation, running at 60fps on a 2D Canvas without libraries or frameworks. on June 26th, 2017
- DRAGON PUNCH An itsy bitsy Dragon curve renderer in 121 bytes. on February 26th, 2014
- SHEET An Excel-like spreadsheet with arbitrary expressions and persistence using localStorage golfed under 256 bytes with aem1k, subzey, xem, rlauck, odensc, mmastrac, and corruptio on November 27th, 2013
- RUBBER IN SOLID # A crazy twister effect in 256bytes of DHTML on January 6th, 2008
- OOMA 2 Rotozoom with tilt and experimental music in a valid 480bytes Atari bootsector. on May 13th, 2007
- ASAHIKAWA Flyby the city of Asahikawa in 64 bytes. on January 21st, 2007
Let's talk
Don't be shy; get in touch by mail, twitter, github, linkedin or pouet if you have any questions, feedback, speaking, workshop or performance opportunity.