Roguelike JS Skeleton
Entity
Basic Movement Behavior
Example
Move the player around and watch how the zombie behaves. Just for fun a light that follows the zombie has been added.
Controls
Move:
ARROW_KEYS, W, A, S, D
Skip Turn:
SPACE
Show/Hide
Js Files
Example
../../js/make-basic-game.js
js/basic-movement.js
Lib
../../../src/rl.js
../../../src/util.js
../../../src/mixins.js
../../../src/array-2d.js
../../../src/map.js
../../../src/entity.js
../../../src/input.js
../../../src/mouse.js
../../../src/player.js
../../../src/renderer.js
../../../src/renderer-layer.js
../../../src/tile.js
../../../src/console.js
../../../src/fov-rot.js
../../../src/lighting-rot.js
../../../src/object-manager.js
../../../src/multi-object-manager.js
../../../src/game.js
Vendor
../../assets/js/rot.js
Show/Hide
Related API Docs
Game()
Entity()
Examples are designed to be simple and easily editable once
Downloaded
.
Roguelike JS Skeleton |
Manual Home
|
Github
|
Download Zip