0
/devs documentation v0.0.1-beta Player identity

SDK · v0.0.1-beta

Player identity

Anonymous player nickname with cross-game modal

Translation in progress. This page is not yet translated to English. The full reference is available in Spanish — see the Spanish version until we ship the English copy.

The SDK keeps an anonymous player identity (an “ARCADE_KID”-style nickname) cross-game. You use it for submitScore, persistRun and to show “Hi, ARCADE_KID” in your UI. The first time a visitor touches any game, a modal asks for the nickname. After that, no more prompts on any game on the platform.

The full API reference (getPlayerName, setPlayerName, ensurePlayerName, sanitizeName) and edge cases are in the Spanish version.

Sign in to Jugafy

Save your scores, hit the leaderboard, and sync progress across devices.

Talk to us

Bug, idea, gripe — anything helps us make this better.