Small RTS game - Akeneo Game Jam #4
Mini RTS game developed for the Akeneo Game Jam #4.
Playing with steering behaviors, stacked FSM, A* path finding and procedural map generation.
You can play to the demo here
You need to have docker
installed
docker build -t nidup/phaserjs .
Your image should appears in the list when typing,
docker images
Run to mount local project code inside the container and bind ports
docker run --name phaserjs-ai-sandbox -v "$PWD":/usr/src/app -p 8080:8080 -d nidup/phaserjs
Your container should appears in the list when typing,
docker ps
docker exec -it phaserjs-ai-sandbox npm install
Launch webpack server in watch mode,
docker exec -it phaserjs-ai-sandbox npm run dev
You can access your project in your browser,
http://localhost:8080/
We deploy online version directly from our Github repository with https://pages.github.com/
git checkout gh-pages
git rebase master -i
docker exec -it phaserjs-ai-sandbox npm run build
git add build/bundle.js
git commit
git push
The game is available on the following website,
https://nidup.github.io/phaserjs-ai-sandbox/
docker rm phaserjs-ai-sandbox
Run,
docker exec -it phaserjs-ai-sandbox 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