Sunday, September 11, 2005

Adventure Game - using Firefox Canvas -- part 1

Developing on Canvas is really fun!
I spent a few minutes today and hacked together the barest beginnings of a little adventure game using Canvas. Going to call it The Canvas Adventure (yeah highly original).

One thing that makes this really easy to do is that you can layer canvases on top of one another using absolute positioning --- AND --- canvases are naturally TRANSPARENT. This means you can have multiple layers of stuff going on and not have to worry about erasing parts of the screen for redraw -- instead just erase the whole layer and paint the new state. FUN!

AddThis Social Bookmark Button

2 Comments:

At 8:24 PM, Blogger RedMage said...

There are no ememies! :(
It's interesting though. It's a good demonstration of what canvases can do.

 
At 10:27 PM, Blogger ueluei said...

canvas is really cool,
I've created a pixel art editor with that (and some Ajax)
http://ueluei.googlepages.com/pixvolution.html

 

Post a Comment

<< Home