Skip to content

Latest commit

 

History

History
100 lines (68 loc) · 2.14 KB

README.md

File metadata and controls

100 lines (68 loc) · 2.14 KB

Going Nuts

Entry submitted for the Ludum Dare 40.

Going Nuts

Description

Oh... you wake up late to prepare your stocks for the winter. You must collect as much nuts as you can before it's too late.

How to Play

Use arrow keys to move left or right, and space bar for actions. The sound is important in this game, so turn on the sound (even better with headset on!).

Links

Play the game on Itch.io (it downloads the whole internet, so please be patient <3) TODO

Credits

Game submitted in jam mode, but made in ~48h with compo constraints (except we were 5 evil laugh):

Licenses

MIT for the code of this repository (src folder).

Copyright Nao ink for the artwork (assets folder).

Getting Started to Dev

Run the dev image

Run to mount local project code inside the container and bind ports

docker run --name phaser --rm -v "$PWD":/usr/src/app -p 8080:8080 -d nidup/phaser:latest

Your container should appears in the list when typing,

docker ps

Install / update project dependencies

docker exec -it phaser npm install

Running the project in dev mode:

Launch webpack server in watch mode,

docker exec -it phaser npm run dev

You can access your project in your browser,

http://localhost:8080/

Deploy the demo

Build the bundle.js

docker exec -it phaser npm run build

Commit then push the bundle.js

git add build/bundle.js
git commit
git push

Utils

Connect in bash to the dev image

Run,

docker exec -it phaser bash

Your local files should be mounted in the container,

ls
Dockerfile  LICENSE  README.md	assets	bin  doc  index.html  lib  package.json  src  tsconfig.json  webpack.config.js