https://github.com/moralisweb3/web3-unity-sdk-sample-game-scw
The "Sim City Web3" sample game demonstrates the Moralis Web3 Unity SDK, geo mapping, and NFTs.
https://github.com/moralisweb3/web3-unity-sdk-sample-game-scw
cronos evm game mumbai polygon sample-game smart-contracts solidity unity unity3d web3
Last synced: 12 months ago
JSON representation
The "Sim City Web3" sample game demonstrates the Moralis Web3 Unity SDK, geo mapping, and NFTs.
- Host: GitHub
- URL: https://github.com/moralisweb3/web3-unity-sdk-sample-game-scw
- Owner: MoralisWeb3
- Created: 2022-06-24T13:31:40.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-09-08T20:55:33.000Z (almost 4 years ago)
- Last Synced: 2025-05-07T21:54:20.671Z (about 1 year ago)
- Topics: cronos, evm, game, mumbai, polygon, sample-game, smart-contracts, solidity, unity, unity3d, web3
- Language: C#
- Homepage:
- Size: 73.6 MB
- Stars: 21
- Watchers: 6
- Forks: 19
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

# Sim City Web3
> Explore the world map to buy and sell virtual properties
This is a sample game to demonstrate the
The "Sim City Web3" sample game demonstrates the [Moralis](https://moralis.io/) Web3 Unity SDK, geo mapping, and NFTs.
**Getting Started**
1. Download this repo (*.zip or *.git)
2. Download the [Unity Editor](https://store.unity.com/#plans-individual)
3. Open this repo in the Unity Editor
4. Enjoy
See [docs.moralis.io/unity](https://docs.moralis.io/unity) for more info.
**Bonus: Service Type**
This game features flexibility on the service layer. Toggle the `SimCityWeb3ServiceType` enum to explore various ways that the game communicates with external services.
Select The Config Here

Select The Desired `SimCityWeb3ServiceType` Enum value

---
**Documentation**
* `README.md` - The primary documentation for this repo
* `Assets/Moralis Web3 Unity SDK Samples/SimCityWeb3/Documentation/ReadMe.asset` - Select this asset in Unity to get started
**Configuration**
* `Unity Target` - [Standalone MAC/PC](https://support.unity.com/hc/en-us/articles/206336795-What-platforms-are-supported-by-Unity-)
* `Unity Version` - Use this [Version](./Unity/ProjectSettings/ProjectVersion.txt)
* `Unity Rendering` - [Standard Render Pipeline (SRP)](https://docs.unity3d.com/Packages/com.unity.render-pipelines.universal@10.2/manual/index.html)
* `Unity Aspect Ratio` - [Game View 16x10](https://docs.unity3d.com/Manual/GameView.html)
**Structure**
* `Unity/` - Open this folder in the Unity Editor
* `Assets/Moralis Web3 Unity SDK Samples/SimCityWeb3/Scenes/` - Open any Scene. Press 'Play'!
**Dependencies**
* `Moralis Web3 Unity SDK` - Already included via [Unity Package Manager](https://docs.unity3d.com/Manual/upm-ui.html) as this [Version](./Unity/Packages/manifest.json)
----
## Media
**Video: Unity Web3 Development - Sim City Web3 Sample Game**
- ▶ 0:00 Intro Topic
- ▶ 1:18 Main Topic
- ▶ 2:52 Theory - OVERVIEW
- ▶ 4:21 Theory - Polygon Blockchain
- ▶ 5:49 Theory - NFTs For Gaming
- ▶ 9:23 Theory - Project Setup
- ▶ 13:03 Theory - Project Todo List
- ▶ 14:38 Live Coding - OVERVIEW
- ▶ 16:16 Live Coding - Hardhat / Solidity
- ▶ 28:24 Live Coding - Unity / C#
- ▶ 35:31 Live Coding - Web3ContractService
- ▶ 46:49 Live Coding - Playing Finished Game
- ▶ 51:07 Recap Topic
**Images**
Intro Menu
Game
Readme.asset
Project Window
Sequence Diagram
----
## 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](https://moralis.io) for more info.
**Web3 Unity SDK**
* This SDK brings the power of Moralis to your Unity projects.
* See [docs.moralis.io/unity](https://docs.moralis.io/unity) for more info.
**Need Help?**
* Contact us in the Moralis Forum.
* See [forum.moralis.io/unity](https://forum.moralis.io/unity) for more info.