Code Super Mario in JS (Ep 6) - Scrolling
In this episode we build out the first level a lot and insert some more graphic tiles. Since this new addition is so WIIIIDE we got to implement scrolling. We will also clean away some hard coded details and separate tile graphic from behavior. Level JSON with additions: https://github.com/meth-meth-method/super-mario/blob/49dd0771b86e1b6f7aec1728ad0ce3ec165cf1d9/public/levels/1-1.json Music used in this episode is by Demoscene Time Machine: https://open.spotify.com/artist/4ikPJGH7I7IyhdBJs1GMhh Intro: Jetpack https://open.spotify.com/track/0dvzMNhgX0NbGqeZPqT89s Outro: Ski Jump https://open.spotify.com/track/5hxDTiXcMrDC6HluDvotfj Since we are writing modern JS this code might not run on all browsers yet. I was running Chrome 61 when I wrote this and if you wish to follow I recommend you do too. Twitter: https://twitter.com/pomle Source code with step-by-step commits: https://github.com/meth-meth-method/super-mario/releases/tag/ep6 Music: Demoscene Time Machine http://demoscenetimemachine.com
Download
0 formatsNo download links available.