Page 35 of 69

Re: [plugin] firebase

PostPosted: Thu Jul 14, 2016 4:30 pm
by norman74
@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.

Re: [plugin] firebase

PostPosted: Thu Jul 14, 2016 11:12 pm
by rexrainbow
@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.

Re: [plugin] firebase

PostPosted: Sat Jul 16, 2016 3:30 am
by newt
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?

Re: [plugin] firebase

PostPosted: Sat Jul 16, 2016 4:09 am
by rexrainbow
@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.

Re: [plugin] firebase

PostPosted: Sat Jul 16, 2016 4:22 am
by newt
Alright, I'll do some testing.
Thanks!

Re: [plugin] firebase

PostPosted: Sat Jul 16, 2016 2:54 pm
by AndreasR
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

Re: [plugin] firebase

PostPosted: Sat Jul 16, 2016 5:45 pm
by norman74
@AndreasR

I can't release my game because i need firebase and canvas+. Webview+ has poor optimization. I hope they'll make it soon.

Re: [plugin] firebase

PostPosted: Sat Jul 16, 2016 5:56 pm
by newt
Seems like the inapp browser plugin gets added automatically with the C2 cordova export xdk file.

Re: [plugin] firebase

PostPosted: Sun Jul 17, 2016 10:33 am
by Savvy001
Hi Rexrainbow

To create a turnbased 2player multiplayer with firebase. (With rooms)
Which plugins should i use?
Is there a example capx?

Re: [plugin] firebase

PostPosted: Sun Jul 17, 2016 10:50 am
by rexrainbow
@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...