[plugin] firebase

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

    I can not answer it because that I have not studied this topic yet, sorry

  • Is it possible to create something like Coins? So by creating an account, the Coin Value is 0 and by collecting coins, they sync to the account

    Greetings,

    Tymberk

  • Tymberk

    It is possible. For security, designer might add a server to handle the logic of gaining coins.

  • I don't need security because it's just playing around with friends, nothing public.. Could you maybe help me please by that point with a little capx or something? I don't get it how to manage this, but I still don't want to let this thing out.. I don't even have an object to pick, just an variable that changes sometimes, and this have to sync with Firebase.. I would be very happy if you'll take the time for this

    Greetings,

    Tymberk

  • Tymberk

    I am not sure what's your plan.

    If the flow of game is to create a room, then players join and play, you might try photon cloud plugin. It is more convenience for this kind of mulit-players game.

  • I already created some basic things like the login (with your firebase plugin) and it's possible to play the Auto Jumper template from Scirra, and I put scores in it. And now I want to make Levels/Experience, the score is divided by 100 and that's the XP, I have everything done so far but now I need to sync the XP amount to Firebase, so that it's saved on the Database, but I have no clue how to do this

  • Tymberk

    You might see my demo - "King of clicking" in the 1st post of this thread, source capx is included.

  • I saw it already, but I don't understand the definitions from like ""/ClickCount/" & Firebase.MyUserID & "/"".. I never had stuff like this to do, I don't know how networking works but I still want to make this, and I have the motivation to learn. To be honest, I checked every demo capx, every line but some things just don't make any sense to me as a newbie and I can't do it by myself.

  • Tymberk

    "ClickCount" is the total points of a player, you might increase this value by your logic. For example, player gains 1 coin in the game.

  • Update

    Merge properties of api key and javascript key in my all rex_parse_* plugns, into a new plugin named "rex_parse_initialize". This plugin has 3rd property named "Server URL", which could be used to set the URL of unofficial parse server. (Since official parse server will be closed at Jan, 28, 2017.)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I had deployed open source parse server successfully following this blog -

    Hosting Your Own Parse on AWS and Heroku

    Now my rex_parse_* plugins could be used in my parse server.

    newt

    It is very easy to deploy parse server on heroku service.

  • Yep, that is what I call an elegant solution.

    Excellent work.

  • jomo had wrote a tutorial for installing parse server on heroku platfrom.

  • Hi Rex, is there a way to search for a key or value in firebase without knowing if they exist? It seems the plugins crash when searching. I tried the query and filter plugins. Any ideas?

    I'm want to use fb for one user to enter a title (fb key) and text (fb value). Then enable another user to search for the title. If the title exists, I'd like the second user to download the text linked to the title.

    Thanks

  • Update - rex_firebase_query plugin, add "Action:Order by value".

    hmott

    Since the data structure in firebase is dictionary, add the key in path will get the respond value if the key is exited.

    To search keys which has a specific value, you could use "Action:Order by value" ( sorry I had missed this action ),

    [quote:2w6fzlo1]create query

    order by value

    equal to -

    then a 1d dictionary will be received.

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