Game features:

  1. Authorization
    1. Web3 wallet connection on WebGL
  2. NFT Utility
    1. Get user NFTs from a specific collection
    2. Download metadata of the NFTs
    3. Serialize the metadata into a list of objects in a scriptable object

Examples

The package has a demo scene, you can build to WebGL and try it out.

Important Information

Health Hero First Game Jam is based on the Well-being Cards (You can get your Card for free here) and the GO!Bots NFT collection (Get your GO!Bot here).

Each W-NFT (Well-Being Card) has some attributes associated with it that are updated from our backend. Those properties are:

And each GO!Bot has some traits about the card appearance like background color, body type etc…

The both of our NFT collections (non fungible token) are on the Polygon blockchain, learn more here.

Holders of those tokens are able to earn by being healthy, their NFT data are changed based on how much they workout, and other healthy activities.

You will be building a game that use those values! The overall theme is healthy, and you must be using those variables in your game.

You will not have edit access to those values, only read access, but be aware that those values are being changed in real-time from our backend when users do healthy activities. For example a user can go for a run and earn some XP, after syncing their run with us, they would gain XP and the metadata for their W-NFT would change.

Health-Hero Game Jam Unity Package

You can find more information on how to install the Unity package here. The package has been tested on Unity versions: So we would recommend using one of those versions

And tested on:

This Unity package allows you to develop the game without needing any blockchain prior experience, it will handle wallet connection, pulling the user NFTs from the user wallet, and serializing the NFT metadata (values) into a scriptable object that you can use through out your game. Check out the demo scene for an example (need to build to WebGL to try it out).

You can build the game for the tested platforms, the user who plays your game must have a wallet installed (Metamask is recommended).

Tutorial

Authentication:

  1. Drag the WebLogin Prefab from Assets/Prefabs to your scene.