Advice on Google Play Games login

Get help using Construct 2

Post » Tue Dec 20, 2016 1:18 pm

Getting oh so closer to an end product. But i have a problem with logging in to google game.

I have game music that starts right after the splash screen, on start of the menu layout. I did have the events on that layout (menu) to login on start of layout, but when it tried to login the music would pause. I'm getting a sign in required error that makes the login disappear and then the music would resume.

How can i get google play game to login the user? Without the music pausing?

I was thinking about adding a "Log In To Google Game" button on the options layout that would trigger the event (which I'm still not sure how to do exactly).

But i'm open for suggestions.
B
38
S
18
G
19
Posts: 664
Reputation: 14,112

Post » Wed Dec 21, 2016 10:47 am

jeffige wrote:Getting oh so closer to an end product. But i have a problem with logging in to google game.

I have game music that starts right after the splash screen, on start of the menu layout. I did have the events on that layout (menu) to login on start of layout, but when it tried to login the music would pause. I'm getting a sign in required error that makes the login disappear and then the music would resume.

How can i get google play game to login the user? Without the music pausing?

I was thinking about adding a "Log In To Google Game" button on the options layout that would trigger the event (which I'm still not sure how to do exactly).

But i'm open for suggestions.


The login screen pauses the game (timescale = 0). This comes from GPG SKD I guess, because I haven't found anything in the plugin code which could cause a pause.
So there is no chance to avoid this.

Regards
Andy
Image Image iTunes: Match3 | Google Play: Match3
B
109
S
40
G
31
Posts: 1,177
Reputation: 29,418

Post » Wed Dec 21, 2016 12:17 pm

Yeah, that's what i was thinking. About it forcing a pause.

I just omitted the music in that part of the game, for now.
B
38
S
18
G
19
Posts: 664
Reputation: 14,112


Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 33 guests