Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nidup/ldjam41

Ludum Dare #41 - Cowboys vs Aliens
https://github.com/nidup/ldjam41

ldjam ldjam41 phaserjs shootemup sidescroller typescript

Last synced: 14 days ago
JSON representation

Ludum Dare #41 - Cowboys vs Aliens

Awesome Lists containing this project

README

        

# Cowboys vs Aliens

Small side scrolling shoot'em up game 🔫

Built in compo mode, in 48h for the [Ludum Dare 41](https://ldjam.com/events/ludum-dare/41), the theme is "Combine 2 Incompatible Genres" 💪

Everything is hand-crafted, from source code to assets:
- sound tracks with [Beepbox](https://beepbox.co).
- pixel Art with [Aseprite](https://www.aseprite.org/).
- code in Typescript + [PhaserJS](https://phaser.io).

# Demo

[Here is an online playable demo on Itch.io 🎮](https://nidup.itch.io/cowboys-vs-aliens)


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](https://creativecommons.org/licenses/by-sa/4.0/) for the artwork (assets folder).