kaiko's Recent Forum Activity

  • You want to be able to set a variable, but you can't use the variable?

    I don't see the logic..

    If every object in the same container has the same instance variable, wouldn't that be usefull?

    If you would use a local variable that is a number you could set a text-variable by setting its text to: "i"&localvariable

    so for the first one the text variable would be "i1", the second "i2", etc..

    But it seems I'm not understanding your question..

    And I'm even starting to question my own logic, haha..

    but i cannot access the object by "i1"..

    so setting a instance variable doesn't help me making 35 unique buttons

    I need to be able to make button 10 to light up, i need to catch input like button 35 was pressed.

  • Piotr,cool!

    do you mind spilling the beans?

    I couldn't find anything on your link that pertained to this problem.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • im not sure what you mean, but i dont think so based on the fact that i cannotuse the variable to get the container

    i need to link the variable i to the container so that i can read and modify the container

  • how do i create

    say 35 objects(sprites that act as buttons)

    and controlling its state(selected/clicked)?

    im thinking to do a for loop 35 times and create objects then i want to store the any action in an array so i know that number 5 was clicked

    but i cant seem to find a way of creating objects with names i can use dynamically, so that in another loop i can check value of each button

    (each button should have the name i(number from loop),

    so far i've created a sprite,a textbox and made them into a container.

    now i need to find a way to render them in a loop, but each button should be controlled separately,

    yes its easy to do manually but if there is a way to make it programatically, im all for it.

kaiko's avatar

kaiko

Member since 26 Sep, 2013

None one is following kaiko yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies