Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Getting Started Sticky

A topic by PlayGen created Sep 04, 2018 Views: 430
Viewing posts 1 to 1
Host (4 edits)

In order to get everyone up and running as quickly as possible, we are hosting a game jam version of SUGAR just for you! You can find it here:  http://gamejam.sugarengine.org.

You can also access it via the admin panel. You can however also host your own version of SUGAR. If you wish to do so, you can follow the guide here.

The following steps will help you get up and running with SUGAR and ready to use in your game.

1. Creating a New Game

  1. Open the Admin Panel in your browser
  2. Register an account by providing a username and password and select 'Register'
  3. Once logged in, select 'Create New Game', where you will be prompted to enter the name of your game, (this can be changed later)
  4. Select 'Create Game' and you will be redirected to the game page in the admin panel
  5. Take note of the id of your game, you will need this to integrate your game.

2. Add SUGAR to your Unity Project

SUGAR has a dedicated Unity Client, available for free on the Unity Asset Store.

  1. Make sure your Scripting Runtime Version is set to .NET 4.0 - this needs to be done before you import SUGAR
  2. Download it!
  3. Import it!
  4. Configure it!
    1. Select the SUGAR prefab in Unity’s Project View (Assets/SUGAR/Prefabs/SUGAR.prefab)
    2. Set the Base address to "http://gamejam.sugarengine.org/"
    3. Set the 'Game Id' to be the id of your created game, this can be found in the admin panel.
    4. Set the 'Game Token' to be the name of your game, this should match the name provided in the admin panel
  5. Update the SUGAR Config File (Assets/StreamingAssets/SUGAR.config.json)
    1. Set the BaseUri value  to "http://gamejam.sugarengine.org/"


3. Start Jamming!

For more information on integrating SUGAR into your game, check out the Quick Start Guide!