Creating pseudo 3D games with HTML 5 canvas
Just a quick post to let you know that I've got an article up at Dev.Opera where I talk about creating a simple raycasting engine like the one I used in my WolfenFlickr project. Read the whole article here. Feel free to ask questions and leave comments both here and at dev.opera.com.
How do I make enemies and/or seperate entites?
November 28, 2008 at 12:49 PM Jacob SeidelinI'll begin working on a follow up article shortly which will probably include how to make simple enemies.
November 29, 2008 at 12:15 AM UnknownI see how you shamelessly put a link in the Links() section to your article D:
November 29, 2008 at 4:41 PM Jacob SeidelinWell, it is a link :-) And what good did shame ever do us anyway?
November 30, 2008 at 3:00 AM AnonymousAlso, someone asked about license and such for the example code. The examples are free to use under the MIT license, I'll try to get it noted somewhere in the article.
anonymous: Did you read the Permadi tutorial ? Once you undestand the math, adding sprites in the map is straight forward. You just need to compute their distance and relative angle.
December 2, 2008 at 10:20 AM ph0rqueHi Jacob,
December 20, 2008 at 11:53 AM Jacob SeidelinI was recently wondering how feasible it would be to create a 3D CAD program in JavaScript using the canvas feature. What are your thoughts on this?
Hi Andrei,
December 20, 2008 at 12:05 PM ph0rqueI guess that depends on the complexity of the 3D models you're be working with, ie. how many points/polygons and do you need full colored surfaces or are wireframe models are enough, etc.
It's absolutely possible, though. It's just a question of how well it's going to perform.
Hi Jacob,
December 28, 2008 at 11:00 AMThanks for the reply. It seems that if one puts some constraints on the project (no rendering/texturing except for wireframe/solid objects, optimized for say Chrome's V8, etc.) the project could be rather easily accomplished.