Saturday, May 12

Bouncing Box:

Some of my students asked me to show them some "game programming" code.

I started off by showing them a simple canvas program, that uses HTML5 and the canvas tag to create a bouncing box.

Take a look at the following code.