Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- </head>
- <body>
- <script src="jumpMan.js"></script>
- <canvas width="1000px" height="450px" id="canvas"></canvas>
- </body>
- </html>
- //jumpMan.js
- var canvas = document.getElementById("canvas"),
- ctx = canvas.getContext("2d");
- ctx.fillRect(50,50,50,50);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement