Phaser x Moralis
About
WARNING: ACTIVE WORK IN PROGRESS; CODE CURRENTLY PRE-ALPHA STAGE.
Aim: Combine a framework that simplifies game development (Phaser) and one that simplifies web3 functionality (Moralis).
These tutorial videos are a great introduction.
Part 1: Core Integration (YouTube Video)
Part 2: NFT Power-ups (YouTube Video)
🚀
Quick Launch Via terminal, navigate to your local dev directory and run:
git clone https://github.com/ashbeech/moralis-phaser-demo.git
Then navigate into the cloned project's root directory to install all dependencies:
npm install
Go to Moralis.io to create your server instance. Rename .env.example
file to .env
and add your Moralis server credentials. For help see 'How to start Moralis Server'.
Run your app:
npm start
🏗
Dependencies create-react-app
:
react-moralis
:
phaser
:
Much more to come [WIP]
- Incorporate play-to-earn mechanics via an ERC20 token contract.
ℹ️ useweb3executefunction
Further Watching
NFT Game Design Principles
Build an NFT Game Smart Contract
🤝 Need help?
If you need help with setting up the app or have other questions - don't hesitate to write in our community forum and we will check asap. Forum link. The best thing about Moralis is the super active community ready to help at any time! We help each other.
⭐️ Star us
If this code brought you value, please star this project.
This is bullish.