Kongregate Developers

Showing the registration box

If the player is a guest, and you want to display the registration UI to them (for example, if you want to upsell them to buy an item or you want to use the authentication API), you can use the showRegistrationBox function:

showRegistrationBox():void
if(kongregate.services.isGuest()){
  kongregate.services.showRegistrationBox();
}

You can read the section on handling guests for more information on how to tell when a user completes registration or signing in.

Comments