Entry for the Ludum Dare 40.
This branch will receive periodic updates while I learn about making games in Javascript.
Play the current version online
Play the original online or view its source here
Clone this repository and then install the node packages with npm install
or yarn install
.
npm build
|| yarn build
Populates /public
with both minified and compressed assets. After building the files, /public
contains everything you need to run the game. Either load the index file in your browser or host the public folder with a web server.
http-server
is included as a node package and running npm serve
or yarn serve
will start a server on localhost:8080
npm build:devserver
|| yarn build:devserver
This will start a development server at localhost:8080 that automatically reloads the browser when a change is detected.
This game was made over a weekend for the Ludum Dare game jam. As such, the code isn't all well thought out. There's a little duct tape. Still, it presents an interesting use case for both Mithril and Matter.js that is simple and easy to comprehend.
An updated version of this game with sound, pickups, a few more enemies, minor graphical updates, refined controls and an online high score system is in the works.
This game makes use of Mithril and Matter.js.
There is a shim in the /public
directory that is necessary for Matter.js to decompose svg files. You can find the project here.