Array Bug

0 favourites
  • 10 posts
From the Asset Store
Supports 1D, 2D, 3D arrays. Import and export arrays in JSON format
  • Hello, I found an Array object bug!

    When you make an event:

    <img src="http://screensnapr.com/e/mWsCUa.png" border="0" />

    <img src="http://screensnapr.com/e/WqZqXF.png" border="0" />

    I press the debug button, It loads for 10 seconds then becomes unresponsive..... where-as if I just delete that event and do this:

    and just change the Array settings to:

    <img src="http://screensnapr.com/e/P2LjG1.png" border="0" />

    Then it loads almost instantly and fine!

    They both should work at the same speed, I like the speed of the 2nd solution, but I NEED the first one, the reason be because the layout size will vary depending on user input so I need to be able to set it's new size just as fast as the 2nd solution, this IS A BUG because they're both doing the same thing but for some strange reason the first one crashes. Please fix this ASAP! :)

  • Hi

    This worked OK for me. There was a very slight pause as the array was created, but that was all.

    I also tested it on Dropbox HERE and it seems to work OK.

    .capx is HERE just in case I've messed up somewhere :)

  • Hi

    This worked OK for me. There was a very slight pause as the array was created, but that was all.

    I also tested it on Dropbox HERE and it seems to work OK.

    .capx is HERE just in case I've messed up somewhere :)

    It still does the same thing :[ I guess it could well be my computer, but w/e. I don't know what to do then if it does this, If it happens to me, surely it would happen to others.

  • What browser are you testing with? Can you put up a link to your html for us to check? That way, people can test and post here if it works or not.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm using it with this: Click Here!

    And thanks but I've found a workaround! Since I'm using a grid-base, I can save the array to the Layout Width devided by the Block size (which would be 1280 / 16 ) which equals 80 and that equals fast speed and no lag or anything, so I'm happy :]

  • Please see how to report bugs - it's really important to say your browser, because this is exactly the kind of thing that changes from browser to browser. Have you tried any other browsers and does it do the same thing on other browsers? It could be a quirk with just Firefox, for example, which implies it's probably not Construct 2's fault.

  • Please see how to report bugs - it's really important to say your browser, because this is exactly the kind of thing that changes from browser to browser. Have you tried any other browsers and does it do the same thing on other browsers? It could be a quirk with just Firefox, for example, which implies it's probably not Construct 2's fault.

    I'm actually using Google Chrome.

  • I'm not sure what the bug is here - I tried your random generator but stuff appeared after 1 second. I noticed a lot of loops - are you sure it's just not taking a long time to complete? I tried reproducing the large array issue in the OP and it works fine here, appears instantly.

    I think it might be a browser issue...

  • I'm not sure what the bug is here - I tried your random generator but stuff appeared after 1 second. I noticed a lot of loops - are you sure it's just not taking a long time to complete? I tried reproducing the large array issue in the OP and it works fine here, appears instantly.

    I think it might be a browser issue...

    Could be, don't mind the issue though since the fix fixed it when I set the size devided by the grid size.

  • OK, I'll just close this report, let me know if you have any more problems.

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