3 ms·
Check the source. This one is done without canvas, and with div and img elements. The canvas elements used here are for the minimap.
by TrisMcC 17y ago
Check the source. This one is done without canvas, and with div and img elements. The canvas elements used here are for the minimap.
- ars 17y agoIt's png sprites: http://devfiles.myopera.com/articles/650/walls.png http://devfiles.myopera.com/articles/650/walls.png http://devfiles.myopera.com/articles/650/lamp.png http://devfiles.myopera.com/articles/650/lamp.png http://devfiles.myopera.com/articles/650/tablechairs.png http://devfiles.myopera.com/articles/650/tablechairs.png http://devfiles.myopera.com/articles/650/guard.png http://devfiles.myopera.com/articles/650/guard.png You use the piece you want then scale it. For distance, make it smaller, for viewing something that is on the side you shrink it in width while leaving the height alone, this gives the illusion that it is slanted. It would not be possible to do true 3d with this because you would need to scale something into a trapezoid which HTML can not do. The guard png implies that you can shoot (and get shot), but I could not get that to work. By the name of the URL looks like there should be a step 6.