Gamezilla's Recent Forum Activity

  • Who here has experience in Construct 2, would like to join me and others on skype. I want to make it fair in a sense where you are pretty good at it and not just there to get answers , but to contribute evenly too. Post your skype name here and I will add you and we can share our vast codes/exp/games and such in a bit more private manner.

  • Alright cool, Do you guys have skype? I need/want to get a skype group together, and we can discuss all these things, building game engines, bugs, learning , and all that it be cool.

  • empireofgames.net/arrayindex.capx

    I changed it from deleting the index in the array to Set Value, can you tell me why its still not working after I set the value the after delete should be 0 right? I Set Value in it and it does not change the value of the array to 0

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Wow Ramones, thanks for the example it surely clear things up for me. The index change after deletion, my assumption was that the array would put 0 value in it or something. I think instead of delete I might have to try to set it 0 0 at that index so that the index array does not change and I can do my thing. Not a bug you can close this Ashley, I think of it as a learning experience.

  • Ok the while loop didn't work correctly because I nested it, but I know thats not the problem.

    So it does work right, but as far as the index inside of that, I put a simpler one here.

    It seems like you are correct about something not being right about the delete index for arrays. The delete works if its indexinside 0 0 . Indicating that its at that index and value is deleted. Only sometimes does it work though.

    There is also a bug with it displaying the index number, why does it not display correctly. Sometimes it does display the indexinside correctly before the values.

    empireofgames.net/deleteindex.capx

    Hit Q for it to randomly generate indexinside for the array.

    Do it up to 5 time than restart layout and do it again.

  • Yes, it was actually from something a little bit bigger, but I left variables in there so it must of been a little bit confusing. I created a simpler one here. Just run it and Right Click and it will generate these boxes from the array position points. The delete before should display these coordinate in order from when they where picked. The deleted after should be 0? because its already deleted from the array. The While loops is suppose to go through the whole array, you can also do i <= Array.Width instead of just < than

    Right click once, and re-run the Layout Multiple times and look at the numbers.

    http://empireofgames.net/arraysimple.capx

    It could be a family bug or how the text field is bugged in that situation, The While loop I use on my other ones to find out which Array index was not used, because if say I have the Array Width loaded with 9 variables and I only use 8, I would while through and search for the 1 that still contains the coordinate(index not deleted)

    -Thanks for listening , you the genius.

  • Yes, it was actually from something a little bit bigger, but I left variables in there so it must of been a little bit confusing. I created a simpler one here. Just run it and Right Click and it will generate these boxes from the array position points. The delete before should display these coordinate in order from when they where picked. The deleted after should be 0? because its already deleted from the array. The While loops is suppose to go through the whole array, you can also do i <= Array.Width instead of just < than

    Right click once, and re-run the Layout Multiple times and look at the numbers.

    empireofgames.net/arraysimple.capx

  • Oh awesome, that is a nice feature to have since few of my sites been hit my Russian viruses/malware .

  • Ashley

    How is it obfuscated? I open the c2runtime javascript file and it seems to be pretty clearly code looking.

  • Link to .capx file (required!):

    empireofgames.net/bugreporting/ArrayIssue.capx

    Steps to reproduce:

    1. Execute and Click the keyboard button Q. It will than load the array,

    you will see the number 500 at the bottom indicating the array is loaded.

    2. Now Right click your mouse cursor, do it again

    3. It display sets of number in 3 columns. What I have is 9 boxes, and I want 8 boxes are in the boxfamily families group. I want to make it after all the array is deleted, I can sort or somehow find which one is not deleted and use that to load my 1 sprite image there.

    Observed result:

    The numbers listed to the left is from the while loop, I'm looking to

    find the Array index that has value in it because the other one should be deleted already.

    The last set of columns are numbers after they have been deleted, why is it still in the array showing up like that?

    Expected result:

    1. First column should show only 1 index that is not deleted

    2. Second column works fine, indicating the value before hand.

    3. Third Column I'm expecting it to have a 0 value in the array after it is deleted?

    Browsers affected:

    Chrome: no

    Firefox: no

    Internet Explorer: yes/no

    Operating system & service pack:

       Windows 7, 64 bit

    Construct 2 version:

    r114

  • So I have 9 cubes, I want it to randomly go to my 9 x,y points. How would I do it with an Array? Also need the random function too.

    <img src="http://i1152.photobucket.com/albums/p489/hot-stuff-in-demand/firsthotstuff/9boxes_zps6d63de6f.jpg" border="0" />

  • I can give you 10$ for the source code.

Gamezilla's avatar

Gamezilla

Member since 4 Jan, 2013

None one is following Gamezilla yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies