Rot.js

From RogueBasin
Revision as of 09:50, 26 November 2021 by Ondras (talk | contribs)
Jump to navigation Jump to search
rot.js
Library project
Developer Ondras
Released May 22 2012
Updated Jul 21 2021
Status Stable
Licensing BSD License
P. Language JavaScript
Platforms Browser
Dependencies
Official site of rot.js


rot.js (with ASCIIart support)
Library project
Developer mdtrooper
Released May 22 2012
Updated Jun 13 2016
Status Stable
Licensing BSD License
P. Language JavaScript
Platforms Browser
Dependencies
Official site of rot.js (with ASCIIart support)


JavaScript roguelike toolkit, modelled slightly after libtcod. Twitter: https://twitter.com/rot_js

A tutorial is available here at Roguebasin. Another tutorial is available here.

There is a discussion group available: https://groups.google.com/forum/#!forum/rotjs

Features:

  • Interactive manual
  • <canvas> console display
  • RNG
  • Map generators (dungeon, cellular, mazes)
  • FOV, Lighting
  • Color manipulation
  • String formatting and ointerpolation
  • Pathfinding (Dijkstra, A*)
  • Simplex noise generator
  • Turn scheduling
  • Asynchronous game engine
  • Hex support (console, FOV, pathfinding, dungeon generation)

rot.js (with ASCIIart support)

This fork has a support for ASCIIart (link to wikipedia) for you use the image files in native format (jpg, png…) and the game shows a pretty ASCIIart.

Games written with rot.js: