Skip to content

farin/JCloisterZone-Client

Repository files navigation

JCloisterZone Client

Main platform repository https://github.com/farin/JCloisterZone (report issue there)

Build Setup

# install dependencies
yarn install

# serve app with hot reload
yarn run dev

# build electron application for production
yarn run package

# lint all JS/Vue component files in `src/`
yarn run lint

Engine for local dev

Engine.jar is not included in repository. Download latest with

yarn download-game-engine

Run client against remote engine

Another option is running against dev version of engine. Run engine listening to socket. It will be usualy started using Java IDE. Add program args to run configuration

-port 9000

Add engine's socket address to jcz-config.json

"enginePath": "localhost:9000",

Development notes

electron-userland/electron-builder#1340

How to convert Photoshop path to SVG

https://www.bittbox.com/culture/convert-paths-to-shapes-in-photoshop

With path selected choose "Layers / New fill layer"

Run second client with different config in dev

JCZ_CONFIG=/home/farin/.config/Electron/jcz-config-2.json JCZ_NETWORK_DELAY=1-50 yarn dev