rexrainbow's Forum Posts

  • Cipriux

    "declare parameter" has 3 effects

    1. It maps the string index to index index. The first defined parameter will map to index 0.

    In your case, you also could call function by index parameter (touch.X, touch.Y). Thus this rex_function2 plugin is compatible with official function plugin.

    2. It could give a default value if this parameter was not assigned. You could define a lot of input parameters but only pass some of them.

    3. Moreover, it could check the type of parameter value.

  • Cipriux

    Here is the fixed capx.

  • Try Construct 3

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

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

    Construct2 could not make a server directly, since it could not export for node.js. The only one way to make (pretend to) a server is running logic on a web page by a browser on a machine.

    Parse (on heroku) is running on node.js.

  • Savvy001

    "Single" login is not a built-in feature of firebase.

    You could try this plugin to detect multiple login - Set "Kick mode" to "Kick previous" to "kick" login from other devices (Condition:On kicked).

  • m1ch43l

    Yes. I already switch to heroku server. However, I do not make any completed product, only (free) plugins.

  • m1ch43l

    I don't know. Maybe be not, since Parse service will be closed.

  • Problem Description

    Triggers under subevent in OR block might not work correctly.

    Attach a Capx

    https://1drv.ms/u/s!Am5HlOzVf0kHlBYgqRlk7YDTu3dt

    Description of Capx

    Combine two triggers in OR block, put this block under a sub-event. Then the SOL might not work correctly.

    Steps to Reproduce Bug

    • Step 1 : run capx
    • Step 2 : click out-side the sprite
    • Step 3 : see the message on the console

    Observed Result

    On touch object event had fired even object was not touched.

    Expected Result

    On touch object should not be triggered when clicking out-side object.

    Affected Browsers

    • Chrome: (YES)
    • FireFox: (YES)

    Operating System and Service Pack

    window 7 64 bits

    Construct 2 Version ID

    r231

    The problem will be fixed if switching the triggers OR block on top event, . But it still weird, I remembered that trigger event could be put at subevent.

  • mickeyboy

    Nice solution!

    I remembered that someone had put a request for login with acces-token.

  • m1ch43l

    Parse had released the source code, you can built private parse server in your machine or cloud service.

    Here is a tutorial about how to build parser server on heroku service.

  • It might be dangerous, because that whole task is composed of joined user. i.e. users will interact with others.

    System might be broken if users was disconnected during task running.

    You need to design the logic very carefully.

    Edit: I will try to make a global timer plugin of firebase.

  • kmsravindra

    You could determine the position of middle points before starting if possible.

  • kmsravindra

    Spline is a curve which interpolation internal points from 4 points

    • index previous one (-1)
    • index current (-0)
    • index next (+1)
    • index next two (+2)

    So it is not possible to change any point of position (-1, -0, +1, +2) while moving between (-0) to (+1). The curve will be broken.

    Try this solution if you want to smooth moving to a dynamic position

    • Add bullet behavior to drive sprite move along
    • Every tick rotate (action rotate toward position, not action set angle) the angle of sprite toward target position

    Here is a demo using this solution, try dragging the target point to see the footprint of object.

  • Joannesalfa

    Right, because NeDB put data in disk (webstorage/indexDB), but taffydb is an in-memory database.

    That why NeDB is asynchronous, taffyfb is synchronous.

  • Search in plugins and behavior list by "Node-Webkit" ...

  • inline booleans in expression

    (boolean)? valueT:ValueF[/code:4dcwfzkp]