Difference between revisions of "Rot.js"

From RogueBasin
Jump to navigation Jump to search
(26 intermediate revisions by 8 users not shown)
Line 2: Line 2:
|developer = [[Ondras]]
|developer = [[Ondras]]
|released = May 22 2012
|released = May 22 2012
|updated = Feb 01 2013
|updated = Jul 21 2021
|status = Stable
|status = Stable
|licensing = BSD License
|licensing = BSD License
|platforms = All
|platforms = [[Browser]]
|dependencies =
|dependencies =
|language = [[JavaScript]]
|language = [[JavaScript]]
Line 11: Line 11:
}}
}}


JavaScript roguelike toolkit, modelled slightly after [[libtcod]].
{{library| name = rot.js (with ASCIIart support)
|developer = [[mdtrooper]]
|released = May 22 2012
|updated = Jun 13 2016
|status = Stable
|licensing = BSD License
|platforms = [[Browser]]
|dependencies =
|language = [[JavaScript]]
|site = https://github.com/mdtrooper/rot.js
}}
 
JavaScript roguelike toolkit, modelled slightly after [[libtcod]]. Twitter: https://twitter.com/rot_js
 
A [http://www.roguebasin.com/index.php?title=Rot.js_tutorial tutorial] is available here at Roguebasin. Another tutorial is available [http://www.codingcookies.com/2013/04/01/building-a-roguelike-in-javascript-part-1/ here].
 
There is a discussion group available: https://groups.google.com/forum/#!forum/rotjs


'''Features:'''
'''Features:'''
Line 18: Line 34:
* [[Random number generator|RNG]]
* [[Random number generator|RNG]]
* Map generators (dungeon, cellular, mazes)
* Map generators (dungeon, cellular, mazes)
* [[FOV]]
* [[FOV]], Lighting
* Color manipulation
* String formatting and ointerpolation
* Pathfinding (Dijkstra, A*)
* Pathfinding (Dijkstra, A*)
* Simplex noise generator
* Simplex noise generator
Line 24: Line 42:
* Asynchronous game engine
* Asynchronous game engine
* Hex support (console, FOV, pathfinding, dungeon generation)
* 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:'''
'''Games written with rot.js:'''
* [[Copy Frogue]]
* [https://github.com/AlexNisnevich/untrusted Untrusted]
* [http://7drl-lion.github.io/ Lyon's Den]
* [https://github.com/thesnarky1/ironwood-js Ironwood-JS]
* [[Sleeping Beauty]]
* [[Café Havoc]]
* [[Goldfish]]
* [http://kevinw.github.io/funhouse/ FunhouseRL]
* [[The Conception]]
* [[The Royal Wedding]]
* [[star-wars|Star Wars Miniature]]
* [[RailRL]]
* [[RailRL]]
* [[star-wars|Star Wars Miniature]]
* [[Rot Magus]]
* [[The Royal Wedding]]
* [[SpectRL]]
* [http://tapiov.net/7drl-2015 Beware the Space Bears]
* [http://tapiov.net/7drl-2016 Fantastic Dungeons]
* [https://ldd.itch.io/feederrl FeederRL]
* [[Emmanuel de Rouge and the Amulet of Quetzalcoatl]]
* [https://codepen.io/jcubic/full/oMbgym Example game by Jakub T. Jankiewicz]

Revision as of 09:50, 26 November 2021

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: