Skip to content

The "Web3 Unity Multiplayer Playground" sample game offers users a shared environment to move, trade currency, and trade NFTs.

Notifications You must be signed in to change notification settings

MoralisWeb3/web3-unity-sdk-sample-game-wump

Repository files navigation

Web3 Unity Multiplayer Playground - Sample Game

Enter the multiplayer playground - an shared environment to move, trade currency, and trade NFTs.

This sample game demonstrates Moralis Web3 Unity SDK.

Getting Started

  1. Download this repo (*.zip or *.git)
  2. Download the Unity Editor
  3. Open this repo in the Unity Editor
  4. Follow instructions at docs.moralis.io/docs/unity-demos for Setup Unity and Setup Backend
  5. Enjoy!

See docs.moralis.io/unity for more info.


Documentation

  • README.md - Overall Docs for this repo
  • Unity/Assets/Moralis/TheGame/Documentation/ReadMe.asset - Unity Docs. Select this asset in Unity
  • Server/azure-playfab-functions-vscode/Instructions.txt - Azure Docs. Deployment required to empower the Unity game
  • SmartContracts/Hardhat/Instructions.txt - SmartContracts Docs. Deployment required to empower the Unity game
  • WebCompanionApp/NextJS/Instructions.txt - WebCompanionApp Docs. This is optional.

Configuration

Structure

  • Unity/ - Open this folder in the Unity Editor
  • Unity/Assets/Moralis/TheGame/Scenes/ - Open any Scene. Press 'Play'!

Dependencies


Media


Video: Creating a Web3 Unity Multiplayer Playground

Thumbnail TimeStamps
  • 0:00 Intro Topic
  • 0:51 Main Topic
  • 7:11 Live Demo - Unity Sample Game
  • 13:16 Live Demo - Web Companion App (NextJS)
  • 15:22 Moralis Web3
  • 16:27 Recap Topic

Unity Images

Intro Scene 4-Player Multiplayer
Transfer Nft Transferred Nft
Readme.asset TheGameConfiguration.asset

Unity Planning Images

UX Sequence Diagram UML (Light) UMVCS Architecture UML Factory Pattern

Web Companion App Images

Authentication Page Players' Account Page

What is Moralis?

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.

Moralis SDK

Need Help?

About

The "Web3 Unity Multiplayer Playground" sample game offers users a shared environment to move, trade currency, and trade NFTs.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published