Sidescrollers

Here we show a couple simple sidescroller examples.

The first three have Sprites - one with mouse, one with keyboard and a bit of shooting (spacebar) and the last with parallax backings.

With parallax backing: ZIM - Interactive Animation Example - JavaScript Canvas Framework

Here is a basic platform-type arrangement with physics and follow.

https://zimjs.com/sidescroller

It is the kind that us used for the Alone Droid and Alone Droid 2 examples which are more complete games. Note... they are circular so that makes it easy to roll. I think you can put sprites on them and make them not rotate by using:

sprite.body.SetFixedRotation(true);  

But that might look very upright. You could possibly do the counter rotation trick we used in the Data Vis example.