Liked on YouTube: Code Super Mario in JS (Ep 10) – Synchronous Entity Spawning

Our createMario function have been asynchronous for too long! In this episode I demonstrate the drawback with that and we rewrite our entity creation to be synchronous and add Goombas and Koopas.

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:

Source code with step-by-step commits:
https://github.com/meth-meth-method/super-mario/releases/tag/ep10

Music:
Demoscene Time Machine
http://demoscenetimemachine.com