Skip to content

nidup/ldjam41

Repository files navigation

Cowboys vs Aliens

Small side scrolling shoot'em up game 🔫

Built in compo mode, in 48h for the Ludum Dare 41, the theme is "Combine 2 Incompatible Genres" 💪

Everything is hand-crafted, from source code to assets:

Demo

Here is an online playable demo on Itch.io 🎮

LD JAM 41

Development

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/

Deployment

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

Licenses

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

CC BY-SA 4.0 for the artwork (assets folder).