| |
|
Creating pseudo 3D games with HTML 5 canvas and raycasting |
|
|
Topic: Miscellaneous |
10:55 am EST, Dec 17, 2008 |
With the increase in browser performance in recent times it has become easier to implement games in JavaScript beyond simple games like Tic-Tac-Toe. We no longer need to use Flash to do cool effects and, with the advent of the HTML5 Canvas element, creating snazzy looking web games and dynamic graphics is easier than ever before. One game, or game engine, I wanted to implement for some time was a psuedo-3D engine such as the one used in the old Wolfenstein 3D game by iD Software. I went through two different approaches, first attempting to create a "regular" 3D engine using Canvas and later going for a raycasting approach using straight DOM techniques.
Very very sexy. Seems better than Canvascape. I think this is cooler than Wolf4K (Wolfenstein in 4K of JavaScript), Creating pseudo 3D games with HTML 5 canvas and raycasting |
|