Skip to content

loomnetwork/phaser-sdk-demo

Repository files navigation

PHASER SDK DEMO 🔮 💫

Game screenshot

A basic example showcasing a simple HTML5 game interacting with a Loom DappChain, using Phaser and Loom.js.

Game instructions

Use the arrow keys to move around, jump by pressing the up arrow. For each passing row of blocks, 1 point is awarded. Collect bonus stars to increase your score further.

Development

1.) Run your own DappChain

Install Loom

wget https://storage.googleapis.com/private.delegatecall.com/loom/osx/build-163/loom
chmod +x loom

mkdir tmpgopath
export GOPATH=`pwd`/tmpgopath
./loom spin weave-blueprint
cd blueprint
export GOPATH=$GOPATH:`pwd`
make deps
make
cd build

../../loom init
cp ../genesis.example.json genesis.json

Run Blockchain

../../loom run

Please consult the Loom SDK docs for further instruction on running your own DappChain.

2.) Start the dev server

Run dev server

# Install
yarn

# Compile protobuff
yarn run proto

# Start the dev server
yarn run dev

Loom Network

https://loomx.io

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published