Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/nidup/ldjam41
- Owner: nidup
- License: mit
- Created: 2018-04-21T07:40:29.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-04-28T07:08:43.000Z (over 6 years ago)
- Last Synced: 2024-10-17T03:18:20.760Z (29 days ago)
- Topics: ldjam, ldjam41, phaserjs, shootemup, sidescroller, typescript
- Language: JavaScript
- Homepage: https://nidup.itch.io/cowboys-vs-aliens
- Size: 4.94 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)
# 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).