Display the user’s Xbox gamertag as the primary display ???

Post » Mon Sep 11, 2017 11:14 am

How to -

" Display the user’s Xbox gamertag as the primary display and profile name "

- I can get the game to login OK, but, how are folks getting that 'little gray bar/button' in the upper right to display gamertag etc ???

Sample Code or Construct file ???? etc ???

The game doesn't actually use XBOX Live, but, MS ' Requires ' it to get into Creators Program.
B
5
S
1
Posts: 7
Reputation: 341

Post » Tue Sep 12, 2017 12:04 am

Our game Crystal Brawl was a launch title that was released on the XBox Live Creators Program, but I actually did not do anything about gamertags. I think they were being lenient about that in the beginning, and now it's probably a strict requirement.

I think you can get the gamertag with the Xbox Live plugin's "Request profile info" action. However the tutorial does not explain how to actually use the info, so an explanation there would be nice. https://www.scirra.com/tutorials/9540/u ... n-uwp-apps
B
15
S
7
G
4
Posts: 51
Reputation: 3,321

Post » Wed Sep 13, 2017 8:32 pm

Thanks for the Follow-up, if I figure it out I'll Post it here.
BTW, Cool Game !
B
5
S
1
Posts: 7
Reputation: 341

Post » Mon Sep 25, 2017 8:46 am

Still having trouble.

Any Hints ? Tips ? Samples ?
B
5
S
1
Posts: 7
Reputation: 341

Post » Mon Sep 25, 2017 9:50 am

I went and experimented for you. When you set a variable, for the value, start typing "xbox" and you should see the XboxLive object in the auto-complete list. Then right after "XboxLive" type "." and you see a list of properties, like GamerTag. I hope this helps you.

FYI, I'm not sure what you're referring to when you say "little gray bar/button in the upper right".
B
15
S
7
G
4
Posts: 51
Reputation: 3,321

Post » Fri Sep 29, 2017 12:04 pm

This thing ....

Image

How to get it in C3 ?
B
5
S
1
Posts: 7
Reputation: 341

Post » Fri Sep 29, 2017 5:02 pm

Oh interesting, is that a Unity template? Did Microsoft provide that somewhere? I don't think there's anything like that for Construct, I guess you have to make it on your own..?
B
15
S
7
G
4
Posts: 51
Reputation: 3,321

Post » Mon Oct 02, 2017 3:13 pm

@ Studio Mercato
Can you actually submit games to the store right now and can people buy the games on XBOX One?
B
75
S
12
G
7
Posts: 407
Reputation: 9,268

Post » Tue Nov 14, 2017 6:39 pm

Studio Mercato wrote:I went and experimented for you. When you set a variable, for the value, start typing "xbox" and you should see the XboxLive object in the auto-complete list. Then right after "XboxLive" type "." and you see a list of properties, like GamerTag. I hope this helps you.

FYI, I'm not sure what you're referring to when you say "little gray bar/button in the upper right".


Hey I have a question for you.

Is it possible to load mutable profiles in C2? say a local multiplayer game, and I want to load mutable gamertags and save data. (customization for example). I could for instance ask a user to sign in every time "A" is pressed on a new controller. But the Xbox object only says things like "sign the user in". It does not seem to offer parameters. and my worry is that player 2 signing in might sign player 1 out.

I could remember P1's gamertag in C2 in a variable. But If P1 was signed out then I could not write to P1's profile. (new customization or high scores for example)
B
14
S
5
Posts: 54
Reputation: 1,061


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 4 guests