css3d-game
css3d-game copied to clipboard
First person adventure game rendered in CSS/HTML
Just some small things I caught on a playthrough and reading the source.
Please use ES6 for game.LOG: https://github.com/pwfisher/css3d-game/commit/1a24cda2d3d398ec4646e58d974c4cb7d0b89c64 ```js game.LOG = (level, ...rest) => level < _log_level && console.log(...rest); ``` This is painful: https://github.com/pkalogiros/css3d-game/blob/dc3ff4ac8121297617df1ba92e7bf9ebd541e941/3d/js/engine.js#L798 ```js game.LOG = function ( a,b,c,d,e,f,g,h,i ) {...
https://github.com/pkalogiros/css3d-game/blob/772a74470fd4ecdaa02464def7474c8958e63320/3d/js/level-01.js#L2334
At https://github.com/pkalogiros/css3d-game/blob/772a74470fd4ecdaa02464def7474c8958e63320/3d/js/level-02.js#L2266 `badge` should be `budge`
Tested on: Firefox 80, Chromium 84 Down in the sewers after staying still when the monster approaches, there is a shabby torch that can be picked up. Other than all...