rexrainbow's Forum Posts

  • Tom

    It might be better to have a thread to list the plugin makers, to help C2 designers order new plugins.

  • AndreasR

    There are 2 possible plugins for saving items of users in firebase -

    1. rex_firebase_itemtable which address a value by ( itemID, propertyName).

    [itemID]

    ----[propertyName] - value

    In your case, it will be ( userID, itemName ), for example ( userID, "coin" ) = 1000

    2. rex_firebase_itembook which address a value by ( tableID, itemID, propertyName )

  • LOl

    ----[itemID]

    --------[propertyName] - value

    It support updating multiple tables in a writing access (atomicity).

  • METR1C

    According to AndreasR said,

    [quote:1xgv09ve]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 websockets.

  • AndreasR

    Use "Expression:DisplayName", "Expression:PhotoURL" to get display name or photo url from google account / facebook account. (sample capx) In email - password login, call "Update profile" to set these values.

    Inventory... I would like to use rex_firebase_itembook plugin to implement that. But it might be too complex for a simple use case.

    Thanks for sharing this template!

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

  • If you really want to get row and column name from the value of cell, you might need to retrieve all cells by these conditions

    + "Condition:For each col",

    + "Condition:For each row in col"

    rex_CSV plugin is designed to get a cell value by ( column name , row name ).

  • Update

    Add "Expression:HorPercent2PosX" / "Expression:HorPercent2PosY" -

    Get position X/Y from percentage (0-1) of horizontal / vertical boundaries by "Expression:HorPercent2PosX" / "Expression:HorPercent2PosY". Sample capx

  • Update

    rex_csv plugin:

    Sort column or row

    Sample capx

    Call "Action:Sort items in col" or "Action:Sort items in row" will sort table by values in a column or row.

    Uses rex_taffydb plugin to sort table with multiple columns.

  • Sorry I did not get "whitch col this name is lodged". Do you want to get an number or ?

  • Here is a 3rd party plugin for this purpose.

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

  • Joannesalfa

    I had surveyed NeDB before. NeDB might not be convince because that it is asynchronous, like accessing to localstorage.

    I still will try to wrap it into C2 plugin when I have time (maybe 2 moths later).

  • Draconiz717

    I tested it by exporting with html5 minify. It works fine. I have no idea why it can not run at cocoon.io.

    Sorry I could not test on cocoon.io.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • A workaround solution is

    1. create an official array object at function start

    2. storing current parameters into this array object

    3. this array object will be keep after action:wait.

    4. get parameter value from this array object.

    5. remember destroy this array object while leave function.

    Here is my plugin to wrap these actions into an action.