Multicanvas

0 favourites
  • 5 posts
  • Hello, I have a problem with construct 2. Export a program I created, but my problem is when you set the html code generated, you just want the generated program does not start immediately, so I work with another canvas that starts the program and a call button construct2 generated application, I call the following function:

    jQuery (document). ready (function () {

    / / Create new runtime using the c2canvas

    cr.createRuntime ("c2canvas");

    });

    Once inside the application made ??by construct 2 I have a timer that when it reaches zero should complete the application and run the application finished construct generated by 2, then move on to another canvas which gives me the results, but when I get back into application trying to do the call the same function:

    jQuery (document). ready (function () {

    / / Create new runtime using the c2canvas

    cr.createRuntime ("c2canvas");

    });

    and I started from scratch activity wanted to know if it was OK to call 2 times a createRuntime function or is there something to stop or restart, I owe earlier.

    thanks

  • If you call createRuntime twice, that's OK, it will simply ignore the second call because it's already running.

  • pero como lo hago para reiniciar las variables del programa que he generado en construct 2??

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • lol, Ashley doesn't read spanish text

    He means how to reset the variables from program that he generated in C2?

  • for example, timer begin 0.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)