Players using Y8 can earn points by completing their profiles and playing games. For developers, they can also reward players who have more points.

Get Total Points

Once you know the user is logged in, call the getPoints function.

sdk.getPoints();
private function handleSDK(e:Event) {
	if( sdk.type == 'getPoints'){
		trace('player has ' + sdk.data + 'points');
	}
}