Our player needs to die when they fall down a hole... tragic, but true. Here we'll reset our game completely whenever we error out and miss a jump.
Premium Features
Published 3 years ago
Our player needs to die when they fall down a hole... tragic, but true. Here we'll reset our game completely whenever we error out and miss a jump.
Comments
Want to participate?
Create a free Chris Courses account to begin
As soon as I put all my variables inside the init function the whole game crashed. something to do with bootstrap and having no loaders. I tried deleting the code back to normal but its still crashed heres the error ---> Uncaught Error: Module parse failed: Unexpected character '#' (1:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
> #! /usr/bin/env node