In this week’s Moralis Project we’re basically marrying Web2 and Web3 Gaming. We're using PlayFab as a backend for the in-game currency and for displaying items in stores. Then we add the power of Web3 through Moralis to convert these Web2 items to the actual NFTs.
We do that by having different shops in the market. In the Exchange one you can trade Crystal (PlayFab currency) for Septim (ERC-20 token). Then, with that Septim, you can buy NFT Outfits at the Outfit Shop.
Once we own the NFT Outfits, we'll display them in the player’s inventory and we'll be able to change the player look by selecting each one of them :)
Getting Started
- Download this repository (as zip or git)
- Download Unity
- Open the downloaded repository folder in Unity
- Make sure you have installed MetaMask wallet both in your browser and in your mobile device
- Import Cronos Testnet to your wallets (both) and send some TCRO using the Cronos Faucet
- Follow the video tutorial
See docs.moralis.io/unity for more info.
Configuration
Platform Target
- Standalone MAC/PC & WebGLUnity Version
- 2021.3.6f1 LTSRender Pipeline
- Built-in Render Pipeline
Scenes
Assets/_Project/Scenes/Game.unity
Dependencies
Moralis
- Moralis provides a single workflow for building high performance dapps. Fully compatible with your favorite web3 tools and services.
- See moralis.io for more info.
Web3 Unity SDK
- This SDK brings the power of Moralis to your Unity projects.
- See docs.moralis.io/unity for more info.
Need Help?
- Contact us in the Moralis Forum.
- See forum.moralis.io/unity for more info.
Give the creators some love ❤️
//TODO