Skip to content
This repository has been archived by the owner on Nov 19, 2021. It is now read-only.

belen-albeza/ldjam-36

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ludum Dare 36

Ludum Dare 36 entry.

Play the game online!

Initial scaffolding generated with generator-gamejam.

Installation

Requirements

This games uses gulp for building and tasks automation.

You can install gulp with npm:

npm install -g gulp

Build

Clone this repository and install dependencies:

git clone belen-albeza/ldjam-36
cd ldjam-36
npm install

To build the game, run the dist task from the project root:

gulp dist

The dist folder will contain a build of the game. You can then start a local server that serves this directory statically to play the game in local:

npm install -g http-server
http-server dist

You can clean up the temporary files and the dist folder by running:

gulp clean

Development

This project uses Browserify to handle JavaScript modules.

There is a task that will automatically run Browserify when a JavaScript file changes, and it will also reload the browser.

gulp run

You can deploy to your own server via rsync. This is done with the deploy:rsync task, which will build the project and then copy the dist folder to the remote server.

gulp deploy:rsync

In order for this to work, you need to edit or create a gulp.config.json file with the following fields:

{
  "deploy": {
    "user": "root",
    "host": "somewhere.com",
    "destination": "/path/to/folder/"
  }
}

You can deploy to Github Pages with the deploy:ghpages task, which will build the project and then push the dist folder in the gh-pages branch.

gulp deploy:ghpages

License

This project is published under a Creative Commons License Attribution NonCommercial ShareAlike 4.0 International.

The song in the files src/audio/bgm.mp3 and src/audio/bgm.ogg is published under a Creative Commons License Attribution ShareAlike 4.0.

About

Entry for Ludum Dare #36

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published