Difference between revisions of "Rot.js"

From RogueBasin
Jump to navigation Jump to search
(Adding two games using rot.js.)
(32 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{library| name = rot.js
{{library| name = rot.js
|developer = [[Ondras]
|developer = [[Ondras]]
|released = May 22 2012
|updated = Nov 1 2018
|status = Stable
|status = Stable
|licensing = BSD License
|licensing = BSD License
|platforms = [[Browser]]
|dependencies =
|language = [[JavaScript]]
|language = [[JavaScript]]
|platforms = All
|site = http://ondras.github.com/rot.js/
|site = http://ondras.github.com/rot.js/
}}
}}


JavaScript roguelike toolkit, slightly modelled 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:'''
* Interactive manual
* <canvas> console display
* [[Random number generator|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.


Features :
'''Games written with rot.js:'''
* windowed or full screen console with true color support
* [[Copy Frogue]]
* support for custom character sets using bitmap fonts and colored tiles
* [https://github.com/AlexNisnevich/untrusted Untrusted]
* Mersenne twister and Complementary Multiply With Carry [[random number generator]]
* [http://7drl-lion.github.io/ Lyon's Den]
* inbuilt support for [[dice]] (string parsing, rolling)
* [https://github.com/thesnarky1/ironwood-js Ironwood-JS]
* Bresenham line drawing toolkit
* [[Sleeping Beauty]]
* Perlin, Simplex and Wavelet noise generator
* [[Café Havoc]]
* [[FOV|field of view]] toolkit with 5 different algorithms
* [[Goldfish]]
* image toolkit with support for rotation/stretching and subcell resolution blitting
* [http://kevinw.github.io/funhouse/ FunhouseRL]
* support for turn by turn and real time games
* [[The Conception]]
* mouse support
* [[The Royal Wedding]]
* advanced configuration file parser
* [[star-wars|Star Wars Miniature]]
* fast generic container with array/list/stack interfaces
* [[RailRL]]
* bsp toolkit
* [[Rot Magus]]
* heightmap toolkit
* [http://tapiov.net/7drl-2015 Beware the Space Bears]
* pathfinding toolkit (A* and Dijkstra)
* [http://tapiov.net/7drl-2016 Fantastic Dungeons]
* compression toolkit
* antialiased and unicode font support
* custom/dynamic font characters mapping
* PNG images support
* customizable name generator with 20 predefined syllable sets

Revision as of 09:18, 2 March 2019

rot.js
Library project
Developer Ondras
Released May 22 2012
Updated Nov 1 2018
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: