There are plenty of existing libraries and foundations for JavaScript game development you can build off of (Phaser, Unity, Kiwi, PlayCanvas), ... ... <看更多>
On that code to add other objects, you will need to insert code in two places: function startGame. This is where all the object variables ... ... <看更多>
\begingroup The "standard" isn't to make JS games downloadable; they only work in a browser. There may be some obscure way to do it, but frankly why force ... ... <看更多>