jsrogue icon indicating copy to clipboard operation
jsrogue copied to clipboard

The repository for the Coding Cookies "Building a Roguelike in Javascript" tutorial series.

Results 4 jsrogue issues
Sort by recently updated
recently updated
newest added

It seems as if ROT.js has changed over the years. The code: `ROT.VK_RETURN` No longer works. You need to change these to: `ROT.KEYS.VK_RETURN` Minor issue, easily fixed, but pointing this...

For those who have problem with extend function: it seems to be missing in current version of ROT.js. You should add this to the top of Game.js file: Object.prototype.extend =...

In the prototyping of getRandomFloorPosition the y value is calculated using this._width. Doesn't cause any issues with the tutorial, just useful fix in case someone scales their map wider.

``` javascript Game.Map.prototype.getRandomFloorPosition = function() { // Randomly generate a tile which is a floor var x, y; do { x = Math.floor(Math.random() * this._width); y = Math.floor(Math.random() * this._width);...