All Projects → loomnetwork → Phaser Sdk Demo

loomnetwork / Phaser Sdk Demo

Programming Languages

javascript
184084 projects - #8 most used programming language

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

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].