Check out my
new book!
HTML5 Games book
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.
⇓ 8 comments Anonymous

How do I make enemies and/or seperate entites?

November 28, 2008 at 12:49 PM
Jacob Seidelin

I'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
Unknown

I see how you shamelessly put a link in the Links() section to your article D:

November 29, 2008 at 4:41 PM
Jacob Seidelin

Well, it is a link :-) And what good did shame ever do us anyway?


Also, 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.

November 30, 2008 at 3:00 AM
Anonymous

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
ph0rque

Hi Jacob,

I 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?

December 20, 2008 at 11:53 AM
Jacob Seidelin

Hi Andrei,

I 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.

December 20, 2008 at 12:05 PM
ph0rque

Hi Jacob,

Thanks 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.

December 28, 2008 at 11:00 AM
Post a Comment