rot.js addons
rot.js addons
This directory contains “skeleton” files to be re-used and adjusted as necessary. They correspond to common design patterns, utilities and general game architecture modules.
pubsub.js
: simple pub-sub implementation. Suitable for cross-component messaging/notification.xy.js
: 2D Coordsgame.js
: sample main namespacelevel.js
: empty level encapsulating entitiesentity.js
: abstract displayable game entitybeing.js
: rudimentary game beingplayer.js
: custom game being with keyboard controltextbuffer.js
: buffering text output and displaying it within a ROT.Display subsetsample.html
: working game with a display, level/map and an interactive player character