https://github.com/redhataccess/portal-platformers
A collaboration game for the Customer Portal team.
https://github.com/redhataccess/portal-platformers
Last synced: 8 months ago
JSON representation
A collaboration game for the Customer Portal team.
- Host: GitHub
- URL: https://github.com/redhataccess/portal-platformers
- Owner: redhataccess
- License: gpl-3.0
- Created: 2016-10-11T14:16:28.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-06-04T21:01:52.000Z (about 8 years ago)
- Last Synced: 2025-03-30T18:12:12.563Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 36.1 MB
- Stars: 4
- Watchers: 18
- Forks: 4
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Portal Platformers
A collaboration game for the Customer Portal team.
## Getting started
This game is built with [Phaser](), an HTML5 game framework. To get a feel for how Phaser works, I recommend going through the [Making your first Phaser game](http://phaser.io/tutorials/making-your-first-phaser-game) tutorial. That should be a good preparation for working on Portal Platformers!
## Setup
git clone git@github.com:redhataccess/portal-platformers.git
cd portal-platformers
npm install
## Development commands
Start a dev server:
npm start
BrowserSync will automatically reload your browser when files change.
To run a build:
npm run build
**Note**: builds are *not* required during development. As long as you use a
modern browser during development, it will support enough ES6 that you can skip
the build entirely, which speeds up development. Builds are only needed when
it's time to deploy to production, since players aren't guaranteed to have
modern browsers. A consequence of this is that there's one ES6 feature we
can't use, `import`/`export`. All new modules are included via old-school
script tags. All other ES6 features are fair game.
## External libraries
Currently, external libraries like Phaser and Lodash are from a CDN, just for
simplicity.
## Docker
You can also use docker to run node/deps
npm install
docker-compose up
once the platform is up, the code is exported into the container live.