[plugin] firebase

Post your completed addons to share with the community

Post » Thu Jul 14, 2016 4:30 pm

@rexrainbow

Thx for fix. One more question about "Timer". Why does

Code: Select all
Get timer

create new timer? I thought

Code: Select all
Start timer

has to make it.
B
36
S
13
G
2
Posts: 200
Reputation: 3,868

Post » Thu Jul 14, 2016 11:12 pm

@norman74

"Start timer" will reset timer.
"Get timer" will
- get current status of timer while timer exists
- "start timer" while timer dose not exist
Since designer uses "get timer" usually, I merge "start timer" into "get timer", thus designer does not need to check timer first , "start timer" if not exists.
B
110
S
28
G
280
Posts: 4,488
Reputation: 156,568

Post » Sat Jul 16, 2016 3:30 am

I've given up trying to get the Google play plug to work for xdk Android.
Any idea if Firebase will work without some obscure xdk plug?
Image ImageImage
B
172
S
50
G
183
Posts: 8,443
Reputation: 115,605

Post » Sat Jul 16, 2016 4:09 am

@newt

I did not try to use intel XDK or cocoon.io for my plugins, sorry I have no idea.
You might check this post
you have to add "In App Browser Plugin" to make it work. You may find "In App Browser Plugin" from Cranberrygames's work.
B
110
S
28
G
280
Posts: 4,488
Reputation: 156,568

Post » Sat Jul 16, 2016 4:22 am

Alright, I'll do some testing.
Thanks!
Image ImageImage
B
172
S
50
G
183
Posts: 8,443
Reputation: 115,605

Post » Sat Jul 16, 2016 2:54 pm

rexrainbow wrote:@newt

I did not try to use intel XDK or cocoon.io for my plugins, sorry I have no idea.
You might check this post
you have to add "In App Browser Plugin" to make it work. You may find "In App Browser Plugin" from Cranberrygames's work.


It should work for WebView(+) on CocoonIO and Intel XDK (install the inapp browser plugin), however it will not work with CocoonIO's canvas+ engine due to the fact that Canvas+ do not support SSL Websockets.

Hopefully Ludei will make a Firebase Plugin for Construct 2 :)

Regards
Andy
Last edited by AndreasR on Thu Jul 21, 2016 7:54 am, edited 1 time in total.
Image Image iTunes: Match3 | Google Play: Match3
B
109
S
39
G
31
Posts: 1,175
Reputation: 29,314

Post » Sat Jul 16, 2016 5:45 pm

@AndreasR

I can't release my game because i need firebase and canvas+. Webview+ has poor optimization. I hope they'll make it soon.
B
36
S
13
G
2
Posts: 200
Reputation: 3,868

Post » Sat Jul 16, 2016 5:56 pm

Seems like the inapp browser plugin gets added automatically with the C2 cordova export xdk file.
Image ImageImage
B
172
S
50
G
183
Posts: 8,443
Reputation: 115,605

Post » Sun Jul 17, 2016 10:33 am

Hi Rexrainbow

To create a turnbased 2player multiplayer with firebase. (With rooms)
Which plugins should i use?
Is there a example capx?
B
59
S
21
G
14
Posts: 779
Reputation: 13,927

Post » Sun Jul 17, 2016 10:50 am

@Savvy001

Uh, I don't have fully example for turnbased (rooms) game in firebase now.
Actually, "rooms" is not the native feature of firebase. I used to make a plugin to simulate the "rooms", it might not be completed for all possible "rooms" features. A better solution is using Photon Cloud.
I also will try to make a turnbased example.... when I have time...
B
110
S
28
G
280
Posts: 4,488
Reputation: 156,568

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 1 guest