Thibaut's Forum Posts

  • 8 posts
  • I all,

    Thank you very mutch for the plugin.

    But I think there's a small "issue".

    I would like to pass a construct2 variable parameter to the fonction I call.

    Exemple for the demo file :

    Instead of doing sum(12,13), if I would like to make sum(x,y), x and Y are construct 2 variables. How should I do that.

    If I put a variable in construct 2 and I make Execute sum(X,Y, it doesn't seems to work.

    It acts as if it pass variables to javascript without affecting X and Y construct2 variables.

    Sorry for my poor english.

    I hope it will be well understanding.

    If someone has a solution, it will be greatly appreciated.

    Kind regards !

    Thibaut

  • Sure I will.

    But it will use webSocket and I'm just looking around that.

    But I will share when finished of course :)

  • Hi, just to let you know your solution works perfectly

    That was just what i expected.

    Thank you very much !

  • I all,

    I'm looking for a workaround, but I really don't find any solutions...

    Somebody must have encountered this case, no ?

    Just would like to test the activity on the canvas.

    Pleaseee, any help would be highhly appreciated :)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I try your solution but with no success.

    In fact, even if I put variables on my objects, I have to test the LastX en LastY of all the instance of my project.

    How could I do that ?

    If I test on : ObjectsMonster "myVariable" lasX lasst Y, it only test one of the instance (I don't know which one, probably the last one created).

    And I have to test on every instance.

    Any suggestion ?

    Thanks.

  • Yes, that's what I mean.

    I would like to know when there is nothing moving any more on the screen.

    Duckocide, your suggestion would probably solve my issue, good idea

    I will try that and tell you.

    But it means, i have to do that on every objects of my canvas... Or mayby create a family with all objects instead of having these variables an all my objects.

    I will tell you.

    Thanks you.

  • Thanks for you reply but i must missed somerhing.

    I thaght this condition was used for sprite animation, not for all canvas animation.

    Because on animation finished is prompting for an animation name ??? What should i put in this animation name for looking for canvas animation ?

  • Hi everybody,

    I'm working on a step by step game and i would like to know how can i know when an "animation" is finish.

    In my case, I apply a force to some balls, and i would like to detect when all balls have finish moving.

    (= when they are no more "animation" in canvas).

    Then i would like to make another event on this event "no more activity on canvas.

    Sorry for my poor english.

    And thanks you in advance.

    Kind regards !

    Thibaut.

  • 8 posts