Onsterion's Forum Posts

  • I don't know why but if I use a iframe the custom loader doesn't work.

    The loader bar do nothing.

    I use "clamp (0, (loadingprogress * 488.5), 488.5)"

  • I don't like iframes

    With this trick can reduce the memory usage of 750 to 50 mb. I think it's a good trick :P

  • Sorry but I think the iframe is a very bad practice:

    1- Lose the interaction with the site.

    2- Consume the same memory, and for user waiting 5 or 10 minutes for browser decide to empty the memory is horrible.

    3- We need interaction Normal Web With the C2 for a better designs or web aplications

    I have a magic temporary solution :P (C2 MAGIC).

    When finish the game I go to a clear layout with black background and On start of layout execute the javascript fuction to remove, and the C2 consumition are reduced to a minimun.

    Thanks guys for the intension to help me.

    Sorry for my english.

    Greetings.-

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The problem is if i use iframe i don't have interactivity CS2 / SITE.

    I tested with iframe but the memory problem persist.

    example: in firefox with when consume 2.5gb of memory the firefox crash.

    Any idea to clear memory? <img src="smileys/smiley19.gif" border="0" align="middle" />

    Sorry for my english.

    Greetings.-

  • If i use a iframe I can't close the iframe in the div when the game is finish And then use a jquery function to continue with another options of the site

    I need a function o somethings to remove or clear the memory usage with c2 when i remove the div.

    Sorry for my english.

    Greetings.-

  • Hi, is my first game and i have a problem.

    I call the game with jquery ajax in a web and put in a div with the jquery function "append()".

    When the game has ended i call a jquery function "remove()" to clear the html with the canvas in the div but the memory usage with the browser not decrease.

    With the "remove()" the div is empty but the memory usage not.

    How can I do for remove this canvas and the memory usage for this?

    Sorry for my english.

    Greetings.-