During my explorations I noticed that some examples do not work when downloaded to my computer (or even my friends' as well), but it does on the phaser page.
As an example: http://phaser.io/examples/v2/ninja-physics/ninja-platforms - when downloaded to my computer the characters are constantly jumping and going everywhere without any pressed key (video of the glitch).
Also, the http://phaser.io/examples/v2/arcade-physics/custom-sprite-vs-group#gv when opened it just show an empty canvas. When I ran the web console it states 2 errors: the 'game.rnd.between is not a function' and 'sprite is undefined'.
These examples were downloaded straight from the page.
Am I doing something wrong when testing these examples?
I usually create a folder with the assets folder, index.hmtl file, phaser.min.js and sourceexample.js. The files are linked on the html file.
Am I missing something or is it just the case these codes are faulty and incorrect from the source?
I am running out of ideas here and any help would be much appreciated. :)