Well, I decided to release this based on my work this year on Monster Trainer Roguelike; one of my first mistakes was spending time during the 7DRL to build a simple generic roguelike engine as a basis for the game… the question is, I never released it in such simple form! I decided to release it as I think it may be helpful for devs to use as a starting point for their roguelike or character based games!
It’s now in github at https://github.com/slashman/jsrl, you can also check the online demo here
If you are curious what kind of games can be created from it, check Monster Trainer Roguelike
What is this about
A very bare bones roguelike with a character based display
Features
- Player can walk around
- Raycasting Field of View algorithm
- Player can move between persistent levels
- Enemies move around chasing the player
- Player can pick up, drop and use items (including using items on a given direction)
- Player remembers visited maps
- A simple Being class based on Races definitions, with “random” and “follow player” intents
- A simple Item class based on Item Type definitions
- Infrastructure for Level Generation
- Line wrap text boxes
How to use
- Clone the repo
- Delete .git
- Create awesoem gaem
Credits
Uses unicodetiles for IO – http://tapiov.net/unicodetiles.js/
2 thoughts on “JSRL – JavaScript boilerplate roguelike released”