Inspiration
Wanted to make a web3 game where user have complete ownership of their assets in the game.
What it does
It's a game where user have to protect oil platform in the open ocean from the moving explosive mines by killing those mines using upgradable airplane.
User will be rewarded in Gold Tokens after completing the task. User can also buy Diamond tokens if they want too. Tokens can be used to buy Airplane skins, engines, machine guns, missiles and nitros to upgrade the airplane.
How we built it
We have used Unity, Thirdweb and Fantom to build the game and deploy the smart contracts.
Game supports 3 wallets:
- Metamask
- Coinbase Wallet
- WalletConnect
The Tokens and NFTs are deployed Fantom.
Smart Contracts:
ERC1155 Contract containg NFT Collection: NFT COLLECTION
Marketplace when all the NFTs are listed: MARKETPLACE
ERC20 token which will be given to user as a reward: GOLD TOKEN
ERC20 token which user can buy: DIAMOND TOKEN
Challenges we ran into
We wanted to make 3d game in webgl. We tried to make it as optimized and light weight we can without compromising the quality of the game. Giving proper user experience in game along with multiple wallet support and range of NFTs and Tokens was challenging. And to properly test the game, had to built the game multiple time ( which takes a lot of time ).
Accomplishments that we're proud of
We have successfully integrated smart contracts, and different wallet in the 3d game so player can use their Tokens and NFTs in the game!
What we learned
We learnt a lot about proper web3 game. Like integrating different wallets and smart contracts. Letting user connect their wallet and owns all the NFTs and Tokens.
What's next for Sky Defender
We want to make complete marketplace for users and provide a lof more NFT collection along with the support of multiplayer.
Log in or sign up for Devpost to join the conversation.