Skip to content

A graphical implementation of a modern game's Login Menu using Google's Firebase API.

Notifications You must be signed in to change notification settings

ryanhlewis/MonsteraLoginMenu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Monstera Login Menu

MonsteraLoginMenu

Explanation

This is a Login and Register Menu I put together in Unity after roaming around DeviantArt, and running into the concept art down below by Felipe Viana.

I set everything up completely, with working fields, forgot password queries, and even a unique username feature. This all works by using Google's currently free Firebase API, and I took a tutorial and initial codeset for this Login Screen from XZippyZachX.

Installation

If you want to take this and reform it into whatever your dreams may be, feel free to! Here's some light instructions to get you started.

  1. Go to Firebase.com and create an account and set up a free Firebase Project.

  2. Enable Email-Authentication under the Authentication tab, and also enable a Realtime Database with these rules:

    "rules": {
        ".read": "auth !== null",
        ".write": "auth !== null",
"users": {
  "$uid": {
    ".write": "auth !== null && auth.uid === $uid",
    ".read": "auth !== null && auth.provider === 'password'",
    "username": {
      ".validate": "
        !root.child('usernames').child(newData.val()).exists() ||
        root.child('usernames').child(newData.val()).val() == $uid"
    }
  }
}
   }
}
  1. Go to Project Settings (Top Left, Gear Icon) and scroll down to the bottom, click Add App (Unity), then fill in anything you want for the App Title and ID (They don't matter!), and finally, download your google-services.json. You'll need it.

  2. Place your google-services.json at the root of the Assets directory, and you're good to go! It should all work now- and the code I've written for database unique usernames checks will automatically create the username tables for you. Head over to see it work in action in your Firebase Realtime Database.

  3. Enjoy! Go have at it! Rearrange the elements, change the font, the pictures, the logos, the names, everything!

Credit Where Credit Is Due

FirebaseAuthTutorial by XZippyZachX: https://github.com/xzippyzachx/UnityFirebaseAuthTutorial

Valorant Login Screen Concept Art by Felipe Viana: https://dribbble.com/shots/11294666-Valorant-Login-Screen-concept-design

Here's the concept art I got the idea for this from-

Concept Art

About

A graphical implementation of a modern game's Login Menu using Google's Firebase API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published