VidhyutK's Recent Forum Activity

  • Hi,

    How can I trigger an event (mouse click, key press ect) from client side code(javascript) with c2runtime object?

    (Trigger event from browser code)

    Thanks,

    Vidhyut

  • To call a custom function named LoadSolution we use this line :

    cr.plugins_.Function.prototype.acts.CallFunction("LoadSolution", []);

    but in c2runtime.js ; this.runtime comes undefined in below code :

    Acts.prototype.CallFunction = function (name_, params_)

    {

    var fs = pushFuncStack();

    fs.name = name_.toLowerCase();

    fs.retVal = 0;

    cr.shallowAssignArray(fs.params, params_);

    var ran = this.runtime.trigger(cr.plugins_.Function.prototype.cnds.OnFunction, this, fs.name);

    if (isInPreview && !ran)

    {

    ;

    }

    popFuncStack();

    };

    Any solution ?

  • Try Construct 3

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

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

    How to use the sample on the post named "How to make multiplayer with Socket.io?" :

    How to use app.js given on left corner of the page?

    When I open SocketioExample.capx, it shows some error telling "some plugins are missing".

    How can I see something working in real?

    Please guide asap.

    Thanks,

    Vidhyut

VidhyutK's avatar

VidhyutK

Member since 4 Dec, 2013

None one is following VidhyutK yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies