1     <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
2 <html lang="en">
3 <head>
4 <title>JavaScript Platformer 2</title>
5 <script type="text/javascript" src="jsplatformer2.js"></script>
6 <style type="text/css">
7 body { font-family: Arial,Helvetica,sans-serif;}
8 </style>
9 </head>
10 <body>
11 <p>
12 <a href="http://www.brighthub.com/internet/web-development/articles/38364.aspx">
13 Game Development with Javascript and the canvas element
14 </a>
15 </p>
16 <canvas id="canvas" width="600" height="400">
17 <p>Your browser does not support the canvas element.</p>
18 </canvas>
19 <br />
20 <button onclick="currentFunction=alpha;">Change Alpha</button>
21 <button onclick="currentFunction=shear;">Shear</button>
22 <button onclick="currentFunction=scale;">Scale</button>
23 <button onclick="currentFunction=rotate;">Rotate</button>
24 25 </body>
26 </html>