HTML5 engine source
Here’s my engine source that I’m going to be starting from for the competition. It’s a very bare bones HTML5 canvas engine with an image pre-loader, debug output, primitive animation and button support, with hooks for input. It also contains some double buffering experiments, which mostly seem to be dead ends, but we’ll see what happens. It runs under firefox and chrome. Haven’t tested anything else. It represents about 3 days of work, so don’t expect much 😛
http://dl.dropbox.com/u/11110025/LudumDare/Ngin12-15-2010.zip
Comments
Billy Wenge-Murphy
16. Dec 2010 · 07:02 UTC
Double buffering is unnecessary on canvas as it doesn’t (well, shouldn’t) suffer from tearing or flickering, because the canvas is not updated while code is running. You’ll only suffer flickering if you clear, stop, then draw, so do both at once instead
KoryWazHere
16. Dec 2010 · 08:09 UTC
I am “expecting much” from you! Sorry I just can’t help it. Very interested to see what you can do with HTML 5