Difference between revisions of "Rot.js"

From RogueBasin
Jump to navigation Jump to search
(22 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]]
|site = http://ondras.github.com/rot.js/
|site = http://ondras.github.com/rot.js/
}}
{{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
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 26: 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 [https://github.com/mdtrooper/rot.js fork] has a support for [https://en.wikipedia.org//wiki/ASCII_art ASCIIart] 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]]
* [[Goldfish]]
* [http://kevinw.github.io/funhouse/ FunhouseRL]
* [http://kevinw.github.io/funhouse/ FunhouseRL]
Line 34: Line 60:
* [[star-wars|Star Wars Miniature]]
* [[star-wars|Star Wars Miniature]]
* [[RailRL]]
* [[RailRL]]
* [[Rot Magus]]
* [[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 17:34, 8 November 2022

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 for you use the image files in native format (jpg, png…) and the game shows a pretty ASCIIart.

Games written with rot.js: