Ayuda multicanvas

0 favourites
  • 1 posts
  • Hello, I have exported a file from construct 2, let me know if I can run the file as iterative times, since within the file that I export to construct 2 I have a timer that starts 10 s, but when I start activity again does not work, I have 3 step display:

    • Intro (html code)
    • Construct 2 activity
    • Assessment (html code)

    the first time that passes through the three stage works well for me from the intro to construct activity, I make the following call:

    jQuery (document). ready (function () {

    / / Create new runtime using the c2canvas

    cr.createRuntime ("c2canvas");

    / / Dibujar2Imagen (FondoTimerActividad, ctx);

    });

    but when I start the cycle again for the second time I apply the same:

    jQuery (document). ready (function () {

    / / Create new runtime using the c2canvas

    cr.createRuntime ("c2canvas");

    / / Dibujar2Imagen (FondoTimerActividad, ctx);

    });

    and the clock appears to me to counter negative variables, such as: -1: -1: -10

    wanted to know if anyone knows how I can reset the clock to the initial 10 s, I do it all with a variable step 2 to construct condigo javascript.

    thanks

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)