GithubHelp home page GithubHelp logo

gamelab / roguelike-blueprint Goto Github PK

View Code? Open in Web Editor NEW
92.0 20.0 25.0 14.92 MB

An easy to use HTML5 Roguelike Game Blueprint for Kiwi.JS

Home Page: www.kiwijs.org

JavaScript 99.92% HTML 0.08%

roguelike-blueprint's Introduction

Roguelike Game Blueprint 1.0

alt tag

Roguelike is a sub-genre of role-playing video games, characterized by random level generation, ASCII and tile-based graphics and permanent death. Roguelikes descend from the 1980 game Rogue, particularly mirroring Rogue's character- or sprite-based graphics, turn-based gameplay that gives the player the time to plan each move, and high fantasy setting.

Crafted by Ido Yehieli (http://tametick.com/), creator of Cardinal Quest, the Kiwi.JS Roguelike Blueprint coupled with the Kiwi.JS game engine, this Blueprint allows users to rapidly develop a Roguelike game.

##Versions

KiwiJS last version tested: 0.5.3

##Features

This blueprint includes:

  • move with the arrow keys or by clicking/tapping in the direction you wish
  • bump into enemies to attack
  • pick up wand for ranged attack (4 bolts), click enemy to shoot once you have it
  • pick up pickaxe to gain the ability to remove walls/trees
  • pick up potion to heal
  • gain xp/levels by killing enemies.
  • traps ("slow" & "hurt") trigger when you step on them
  • 3 enemy types each showcasing a different ai-type
  • 2 map generators: forest and dungeon.
  • 2 display modes: ascii & graphics

##How to use

The PlayState demonstrates the structure of a simple roguelike game. Import the afordmentioned plugins (you can find them in the lib/plug directory) and create your own graphical or ascii roguelike.

The level is represented by a 2d array of characters. '.' represets a floor (walkable) and '#' a wall(blocking). In the PlayState you can see how to easily show this level using either the TileMap class (http://www.api.kiwijs.org/classes/TileMap.html) or an array of TextFields.

##Contribute If you discover a bug or find yourself just wanting to jump on in and help make this blueprint even better please file an issue and get stuck in. We're a friendly bunch and hope people find themselves wanting to get involved.

https://github.com/gamelab/Roguelike-Blueprint/issues/new

##Related Documentation

Coming soon

roguelike-blueprint's People

Contributors

benjaminharding avatar brendanbenshoof avatar danmilward avatar eugenioclrc avatar joshbrodienz avatar tametick avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

roguelike-blueprint's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.