JSRL – JavaScript boilerplate roguelike released

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

boiler3

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/

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s