[plugin] firebase

Post your completed addons to share with the community

Post » Tue Feb 14, 2017 5:17 pm

@rexrainbow nice plugin! Just one question and sorry in advance if this was already dicussed in this topic, but how do I use the events feature that the firebase console has withthin C2? And if anybody could point me a good tutorial on how to use the Firebase console properly that would be awesome. And does this plugin is supported in cocoon.io ? Thanks
B
11
S
2
Posts: 28
Reputation: 807

Post » Wed Feb 15, 2017 6:55 am

@Draconiz717

1. What is "firebase console"?

2. Sorry I did not export to mobile app before.
B
108
S
26
G
272
Posts: 4,472
Reputation: 152,279

Post » Wed Feb 15, 2017 10:42 am

@rexrainbow

Thanks for the quick reply. So I hope I´m not misunderstanding everything here, but I thought that this firebase you guys are talking about is Google´s Firebase App Analytics
https://console.firebase.google.com/, which (if i´m not mistaken) is the new Google Analytics tool for mobile apps. But since you did not exported for mobile apps I think this is not the case
B
11
S
2
Posts: 28
Reputation: 807

Post » Thu Feb 16, 2017 6:49 am

@Draconiz717

In this feature list, firebase analytics does not have javascript Api, thus I did not have any plugin for this feature.
Last edited by rexrainbow on Thu Feb 16, 2017 5:44 pm, edited 1 time in total.
B
108
S
26
G
272
Posts: 4,472
Reputation: 152,279

Post » Thu Feb 16, 2017 10:38 am

@rexrainbow Oh I see, thanks for the reply! Does anyone happen to know any other way that I can use analytics on my construct 2 games? Thanks
B
11
S
2
Posts: 28
Reputation: 807

Post » Wed Mar 01, 2017 4:00 pm

Hi, I would like to know if I can show current Rank for particular player without login (with anonymous login).

I have a small game with leaderboards using just names, withnout registration. When you beat the game, it asks you for your nickname and save your high score in database. Then the game displays top 3 players and thats it.

My idea is to display also the player's score, like this.

1. Mike 8651
2. Josh 6585
3. Lucy 1589
-------------------------
72. You 542

Is it possible with this plugin? If so, how?

Thanks
B
8
S
1
Posts: 27
Reputation: 1,029

Post » Wed Mar 01, 2017 5:20 pm

@mikva

It is not necessary to login when getting scores (update ranks), just call "Action:Update all" to get all ranks under "Condition:On update". See document, section "Update scores".
You might use name string to be userID.
B
108
S
26
G
272
Posts: 4,472
Reputation: 152,279

Post » Thu Mar 02, 2017 7:47 am

It works! Thank you. I did use name as userID but somehow I thought that "UserID2Rank" works only when properly logged in, I probably made some mistake the first time I tried that.

Amazing plugin :)
B
8
S
1
Posts: 27
Reputation: 1,029

Post » Thu Mar 09, 2017 2:46 pm

@rexrainbow Hi, thanks for all your contributions. It's really a great job on developing all those plugins. I have a question does this plugin work on mobile apps? I would like to setup user login with my game. If yes, do I need to add plugin in Intel XDK? (I build game on Intet XDK). :)
B
24
S
7
Posts: 337
Reputation: 2,224

Post » Thu Mar 09, 2017 3:28 pm

@sudeep98

You might find that I did not make mobile app, only tested on pc, or mobile's browser.
B
108
S
26
G
272
Posts: 4,472
Reputation: 152,279

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 1 guest