[plugin] firebase

From the Asset Store
Firebase Analytics Web App, ( Firebase SDK version 10.0.0 )
  • Update

    rex_firebase_authentication:

    Add Expression:PhotoURL to get photo URL from login provider, 3.x only. It could be used to load photo image into sprite ( action: load image from URL ) - sample capx

  • Hi,

    in an answer to my last post, "https://www.scirra.com/forum/how-do-i-gt-browser-game-lt_t178985" , I was told about FireBase.

    Is Firebase a good choice to solve my problem and can I host it by myself?

    Thank you!

  • m1ch43l

    Firebase is a cloud data storage hosted by google, i.e. user could NOT have his own private firebase server because that the source code does not release.

    Moreover, "all actions should be continued while the user is offline" means that it needs a server code with tick in 5 minute intervals. But firebase does not have cloud code, it could not tick every 5 minute. A workaround solution is to create another capx (project) to run the ticking logic.

  • Fireche

    From this thread -

    "Session durations are infinite now by design", the workaround is logged out while page load (on start of layout).

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • rexrainbow

    Hi, rex.

    Why command

    Timer.LastRemainInterval[/code:28dbi0je] 
    returns me not remained time, but elapsed like this?
    
    [code:28dbi0je]Timer.LastElapsedTime[/code:28dbi0je]
    and
    
    [code:28dbi0je]Timer.LastTimeoutInterval[/code:28dbi0je]
    returns "NaN"?
  • Update

    rex_firebase_timer: fix bug in expression:LastTimeoutInterval, LastRemainInterval, LastElapsedTime. ( sample capx )

    Try this new updating, thanks for your reply.

  • rexrainbow

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

    Get timer[/code:3rjbvjap] 
    create new timer? I thought 
    
    [code:3rjbvjap]Start timer[/code:3rjbvjap] 
    has to make it.
  • "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.

  • 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?

  • 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

    [quote:qwftpagd]you have to add "In App Browser Plugin" to make it work. You may find "In App Browser Plugin" from Cranberrygames's work.

  • Alright, I'll do some testing.

    Thanks!

  • 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

    [quote:q16ye2an]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

  • AndreasR

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

  • Seems like the inapp browser plugin gets added automatically with the C2 cordova export xdk file.

  • Hi Rexrainbow

    To create a turnbased 2player multiplayer with firebase. (With rooms)

    Which plugins should i use?

    Is there a example capx?

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)