quartz/content/unity/login.md
Gizmotronn 62b5a111df Prev
2022-01-26 17:31:26 +11:00

1.9 KiB
Raw Blame History

title
Login Functionality

Contents:

Login scene

Meta

Notion Page Public docs Unity-Demo#5; Unity-Demo#6

Plan

Plan: lets create a bit of a scene (after the player finishes the “orientation” or tutorial mission) where they log in to their wallet. Lets also allow them to connect to an email address (as a backup).

Start by integrating with Metamask before moving it to Moralis, allowing users to input an email address, username, and then a “profile” (what they look like).

Connecting email accounts to game wallet: Fortmatic

Some other questions we need to think about:

  • What happens if someones account is compromised? To transfer assets and progress, will we require proof of ID?
    • How does this work in relation to email account signups → do we only allow from 99% safe providers?
  • Can we use smart contracts for quests? Look more into some of the JS/Solidity game projects

Note: Ive removed the Moralis SDK for now as it was causing compile issues with the current Unity scene (metamask setup)

Database & API

(How does this integrate with the login function?)

Im setting up a scriptable objects db, using the current player controller (with camera attached) (Ill create a new character later).

I dont know if the current one works for multiplayer, but either way lets look into a node & python api for this later integration.