Learn Create Your Own Split Screen

Next Page

Scratch comes with a stage.

In Javascript, we make one using an HTML canvas. We're not making this one a funny colour because this will end up as a proper (although simple) game.

You've seen all this stuff before -- we're just showing how the pieces fit together to make a game.


We've made the canvas 300 x 300, but towards the end we'll make it automatically resize itself to whatever device it's running on.