Skip to content

redemptive/Crafter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Title

Crafter

Description

Javascript 2D top-down game. This game uses es6 features to deliver a tile based map in an object oriented way. Uses the HTML5 canvas.

I wanted to see what I could do with just a HTML5 canvas and a bit of vanilla javascript. Still some work to do but it's a nice example of what can be done with simple tools and some .png images.

Installation and Usage

Simply clone the repository and open the index.html file on any internet browser to run.

Controls

Main Game

Please read this. It's not as fun if you don't know how to play it!

  • WASD keys or arrow keys: move the player
  • E key: Action key. Chop down trees, mine rocks etc
  • C key: Toggle crafting menu
  • < and > keys: Select inventory item
  • Q key: Place item if it can be placed

Crating Menu

  • W and S keys: select which item to craft
  • Space: craft

About

A simple javascript crafting survival game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages