All Projects → bbc → childrens-games-genie

bbc / childrens-games-genie

Licence: Apache-2.0 license
Genie Game Engine

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to childrens-games-genie

genie-starter-pack
This is the Starter Pack for Genie games. Containing everything a games developer might need to start building a game using the Genie framework. Every game should be forked into a new repository from this repo.
Stars: ✭ 15 (+7.14%)
Mutual labels:  genie
genielibs
genie.libs contains libraries for configuring, retrieving and testing topologies
Stars: ✭ 80 (+471.43%)
Mutual labels:  genie
merlin
Network Magic: Transforming the CLI and REST API using Infrastructure As Code automation
Stars: ✭ 50 (+257.14%)
Mutual labels:  genie
genieclust
Genie++ Fast and Robust Hierarchical Clustering with Noise Point Detection - for Python and R
Stars: ✭ 34 (+142.86%)
Mutual labels:  genie
GeniePy
GeniePy is a tool for downloading streamable tracks from Genie.co.kr
Stars: ✭ 17 (+21.43%)
Mutual labels:  genie
genie
Genie: A Fast and Robust Hierarchical Clustering Algorithm (this R package has now been superseded by genieclust)
Stars: ✭ 21 (+50%)
Mutual labels:  genie
build
Build system scripts based on GENie (https://github.com/bkaradzic/genie) project generator
Stars: ✭ 30 (+114.29%)
Mutual labels:  genie
ancistrus
Netgear's D7000 Nighthawk Router Experience Distributed Project
Stars: ✭ 61 (+335.71%)
Mutual labels:  genie
net-api
A documented REST API which returns structured data from network devices
Stars: ✭ 73 (+421.43%)
Mutual labels:  genie
dr-lich
Fork (https://github.com/matt-lowe/Lich) of Lich (https://lichproject.org/) for proofing DR related changes
Stars: ✭ 15 (+7.14%)
Mutual labels:  genie
genie
BBC Genie Games Framework
Stars: ✭ 23 (+64.29%)
Mutual labels:  genie

BBC Games - Genie

A modular framework to simplify the construction of children's games.

To view:

npm start then navigate to the URL listed in the terminal output.

To build:

npm run build runs webpack --config build-scripts/webpack.config.js and creates a bundle in the output directory. This is the the build script that will be used by CI.

Visualizer

npm run build will also generate a webpage in the output folder with a visual representation of the modules which make up the bundle. This allows us to investigate bundle size issues that may occur in the future.

Testing builds

`npm run start:pack` then navigate to the URL listed in the terminal output. Creates a final build then serves it locally.

To see this simply open output/stats.html in a browser.

Alternatively load http://localhost:8080/index.html as a file URL (requires --allow-file-access-from-files in Chrome.)

To test:

npm test will run tests using Jest and check them with ESLint.

npm run jest runs the unit tests only.

Creating a new version for release:

To automatically bump the package version and create a corresponding Github release tag, use the following command (please replace patch with minor or major as required):

npm version patch -m "Write your release notes here"

Then push to Github to see the new version appear.

(Please note you will need to create a branch, rather than doing this directly on master, as master is currently protected.)

Code linting:

npm run eslint runs ESLint.

Auto documentation:

npm run docs generates documentation using JSDoc and outputs to docs/api/index.html.

QA Mode:

To access QA mode, add the qaMode=true query string to the URL: http://localhost:8080/?qaMode=true

This will output game loading progress and asset keylookups to the console. Pressing "q" will show the layout overlay, to show the game bounds.

Sanity Check Mode:

"Sanity Check" mode is a series of screens that make use of Phaser features such as collisions, rotations, tweens etc. It is to ensure that these features are working as intended.

To access "Sanity Check" mode, add the sanityCheck=true query string to the URL: http://localhost:8080/?sanityCheck=true.

While in this mode, press D on your keyboard to view the Phaser Arcade Physics hitbox over each sprite.

Documentation:

License and Copyright

© BBC 2018.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].