pls-games
v1.0.0
Published
yarn
Downloads
18
Readme
Installation Guide
yarn
Boilerplate template setup for new Game (Refer gameSetupInit.sh for additional details)
- sh gameSetupInit.sh [-q] [-i] gameName
- -i Flag to setup ItemType template folder for your game.
- -q Flag to setup QuestionType template folder for your game.
- -qi | -iq DO NOT USE, Not preferred to create both type templates together"
Build game in watch mode
- You can try any commands from below to build in watch mode :
- npm run build:watch -- --id=com.playpower.itemTypes.bubblePopNormalFlow
- npm run build:watch -- --prismicId=W-khzxIAACoAfMl8
- npm run build:watch -- --contentfulId=4vNqV8re48WMyAC6Go2EI8
Run Game
- npm start
Generate Content
- Example - For generating content using input file "sample1.json"
- yarn generate:content --file=sample1
- Example - For generating preview URL using input file "sample1.json"
- yarn generate:content --file=sample1 --save
URL TO Compress Images is:
- https://imageresize.org/compress-images
UCSD URL Params
- stateful values: "true" -- Everything stateful "false" -- Not stateful
- userId
- mode values: "dev" -- by default "QA" "prod"