|
|
|
|
|
by e1ven
6155 days ago
|
|
The CANVAS tag allows per pixel placement. It's what makes things like this possible. From the Source- This file is part of the article series by Jacob Seidelin about
creating a ray casting engine with JavaScript, DOM and Canvas. If you have questions or comments, please contact the author at
either jseidelin@nihilogic.dk or http://blog.nihilogic.dk/ The code samples here are freely available under the MIT license.
See: [http://www.nihilogic.dk/licenses/mit-license.txt] The graphics for sprites and walls are property of id Software. |
|
You could, and I've seen, versions that use loads of <div> elements which get resized, or you could use a ton of <img> elements. So it's certainly possible without canvas, but I'm not sure how the frame rate would compare.