Skip to main content
Version: 5.11.8

Example Game with Multicharacter

caution
  • We are aware that the multicharacter function is in need of various improvements and have thus restricted the creation of multicharacter projects. The function can still be used in projects where the function is already in use.
  • If you wish to stop using the multicharacter function and switch to a general project, please contact help@thebackend.io.
  • We are working to deliver a more convenient and stable experience. We apologize for the inconvenience.

Summary

This project demonstrates the simple login procedure of the multicharacter login that was added in BACKND SDK 5.10.0.

Download

Not compatible with BACKND SDK 5.10.0, 5.10.1

This cannot be used with BACKND SDK 5.10.0 and SDK 5.10.1 due to an error that prevents the methods from being run. Please use SDK 5.10.2 which contains the fix for the error.

Download the BACKND Base Tutorial

In-game

Login screen

The following BACKND methods are called for the scene:

  • User account login (for multicharacter)
  • User account sign-up (for multicharacter)

Character selection screen

The following BACKND methods are called for the scene:

  • Load character list
  • Log in with the character
  • Create character
  • Delete character
  • Log out from account
  • Withdraw account

In-game screen

The following BACKND methods are called for the scene:

  • Insert game information

Settings

The following two steps must be completed to properly use the project.

  1. Create USER_PROFILE table in BACKND Console
  2. Proceed with Unity import and register three scenes

Creating USER_PROFILE Table

Go to BACKND Console and click Create Table in Game Information Management.
Name the table USER_PROFILE. (Set schema to undefined)

Unity Settings

  1. After importing the Unity package file, register LoginScene, CharacterSelectScene, and InGameScene that exist in Assets > Scene.
    To register a scene, go to File > Build Settings > Scenes in Build at the top bar of Unity.
    Set the first scene to LoginScene.

  2. Go to the Game view and set the resolution to Full HD or 1920 x 1080.

  3. Click The Backend > Edit Settings at the top of Unity and enter the Client App ID and Signature Key that exist in BACKND Console.