oasislabs / game-box

A Truffle box for a barebones Oasis Game
4 stars 3 forks source link

Local mode should not require previous deployment #10

Closed andrewosh closed 5 years ago

andrewosh commented 5 years ago

As of now, if you want to debug your game in singleplayer, local mode (in-browser only), you still need to build the frontend code with truffle exec scripts/build-frontend.js.

That script will bake the address of an existing deployment (specified by the network flag) into the output bundle. We should provide a fallback mode that only compiles the singleplayer page if a deployment is not found.

andrewosh commented 5 years ago

Fixed in https://github.com/oasislabs/game-box/commit/143e46ea6707a1ba01f23880ada24d551edebead