Raganork's Forum Posts

  • There is no such events in my game. I am now guessing that the page turning animation is taking much usage as this problem started only after adding that effect.

  • LittleStain: My game is more image based. So there are many images in the game. This is my first HTML5 project and the client demanded the game images to be 1080p. About the page flip animation. there are only 15 images for page turning.

  • Hello again. Well, at least game is not crashing now. I made a separate layout and dumped all images there. But now the game is running very slow. Slow in the mean of operation. Timing things (like wait for x seconds). runs all right.. What now ??

  • They are converted to 2048X2048 sprite. Some of them are animation too (frames of page turning).

    I am currently implementing what you stated above. Will tell you result soon.

  • Hello lennaert,

    Sorry to bug you again, but that crashing issue is appearing again. I have inserted all my images in the loader screen and destroying them on the 'On start of layout'. But still, my game is crashing. I have 15 images with 1920x1080p resolution. What else can I do ??

  • Oh.. That was the problem.. Was creating it on different layer.. Haha <img src="smileys/smiley4.gif" border="0" align="middle" /> ... My mistake...

  • Thanx for the tip. I have already implemented these tricks, and all working fine now. I reduced the memory use from 290MB to mere 24MB. But I am facing one other problem.

    The image position is not proper. I gave them the same position as they were suppose to, but they are not appearing properly there. Any idea why (or how) this is happening ??

  • Thanx !! That was truly a very helpful post.

    Coming back to my problem, now all I can do is to keep my objects in different layout and destroy them on other (or same) layout. so their reference can be taken later. Is there any alternative to this ??

  • In short, somehow (anyhow), one need to put an object on (any) layout at least once to get its instance reference, right ??

    One question, does loading of one layout automatically destroys the objects of previous layout ?

  • I got your point. But I have a doubt. Though in different layout, wont it still take high memory use before destroying them and crash the game again ?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello Everyone.

    I am creating a game in which lots of images are used. After the game completed, I found out that the memory usage is very high (290MB) and because of this, the game was crashing on mobile devices. (I had inserted all images on the same layer and making visible/invisible as per need). So I deleted all images from screen and instead, written code for creating/destroying creating them as per need. (I didn't deleted them from project, just from screen). But when i debug the game, I am getting this error.

    <center><img src="http://i44.tinypic.com/2lnkf90.jpg" border="0" /></center>

    Can anyone please help me understand this problem and sort it out ?

  • Hi there... Nice work there. The first thing which came in my mind is 'It can be used for page turning mechanism'. Instead of turning it from the middle, if you can do some magic and turn it from extreme left, it 'might' work. Can you please try that...

    Thanx for making a gr8 plug-in.. <img src="smileys/smiley41.gif" border="0" align="middle" />

  • coatesjetset: Nice work dude.... saved hell lot of complications. Keep up the good work.. <img src="smileys/smiley41.gif" border="0" align="middle" />

  • mindfaQ: I think I requested it late in my project. Now I am requesting it in loader layout, so now i am getting data every time. Thanx for pointing that out.

    In example, it is taking data directly, not from AJAX. Although not confused this time, but I am still stuck at same place (data from AJAX.LastData is not coming into CSV.TableToString). Can you please help again ?

    OlivierC: That might be a option, but dont you think its making crowd of xml files, I mean I have at least 65+ translations to do in 10 languages. So wont it take much space and slow the performance ? (just asking).

  • Hi. Thanx again. one more thing I want to ask. The AJAX.LastData is sometimes null. Is there any possible reason for that ?