javierov's Forum Posts

  • 2 posts
  • Thank you Tulamide for your fast answer.

    OK, this works but not exactly in the way that I would like.

    There is the example.

    TestArray1

    The problem is that when I push the button with random numbers from array1, sometimes the number that is throws the random is repeated. I'm doing something wrong but I don't get it yet. If somebody can help me!

    Thanks

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello, I have a Question.

    I want to make a button with a random between 1 and 10 number then store the result in an array. Then I click again the button and get a new random without the number that . this give me a new number that I want to store in the array too. I click again the button again with a random that will not include the both first two numbers (that are stored in the array) to the random results. I want to repeat this operation until I only have one number.

    I know the theory to do this but I don?t know how to write and use correctly the arrays for do it. Please if any one have some .capx example or some clear explanation of this answer my question. Thanks <img src="smileys/smiley1.gif" border="0" align="middle" /> <img src="smileys/smiley1.gif" border="0" align="middle" />

  • 2 posts