Difference between revisions of "Yendor.ts"
Jump to navigation
Jump to search
m |
|||
Line 23: | Line 23: | ||
* [https://en.wikipedia.org/wiki/Multiply-with-carry#Complementary-multiply-with-carry_generators CMWC random number generator] | * [https://en.wikipedia.org/wiki/Multiply-with-carry#Complementary-multiply-with-carry_generators CMWC random number generator] | ||
* field of view toolkit using [[Restrictive_Precise_Angle_Shadowcasting|restrictive precise angle shadowcasting]] | * field of view toolkit using [[Restrictive_Precise_Angle_Shadowcasting|restrictive precise angle shadowcasting]] | ||
* [http://en.wikipedia.org/wiki/A*_search_algorithm A* pathfinding] toolkit | |||
* a scheduler to handle the order in which creatures with different speed are updated | |||
== Quick Start == | == Quick Start == |
Revision as of 20:29, 28 January 2015
Yendor.ts | |
---|---|
Library project | |
Developer | Jice |
Released | October 16 2014 (0.0.2) |
Updated | December 23 2014 (0.1.0) |
Status | Beta |
Licensing | MIT License |
P. Language | Typescript |
Platforms | Web |
Dependencies | pixi.js, jquery |
Official site of Yendor.ts |
Introduction
Yendor.ts is a TypeScript API for roguelike developers. It provides a true color console, a robust random number generator, a field of view toolkit, and other utilities frequently used in roguelikes.
It comes with a simple generic roguelike game to extend.
Features
- fast WebGL/Canvas true color console (using pixi.js)
- BSP based dungeon building toolkit
- CMWC random number generator
- field of view toolkit using restrictive precise angle shadowcasting
- A* pathfinding toolkit
- a scheduler to handle the order in which creatures with different speed are updated
Quick Start
pre-requisites
- install node.js
- install TypeScript
npm install -g typescript
- install jake
npm install -g jake
compile and run the demo game
jake
Then open game/index.html in your favorite browser.
compile and run the unit tests
jake tests
Then open game/index.html in your favorite browser.
compile and run the benchmark
jake benchmark
Then open game/index.html in your favorite browser.
License
Yendor's code uses the MIT license.