sielxm3d's Forum Posts

  • Hello I have a question here, I created a local variable to a block where when you place an object on the block arrow this vaíável to 1, otherwise to 0, it happens that when viewing the object "tower" which is just above the block, the continuous variable to 1, how i use pick to pick to up exactly each block to sell the tower and sets your variable property to zero.

  • Ok, see if the sample solve in your case.

  • I still do not understand what you want to do.

  • Hello, thank you [quote:h9sdavvv]moebios

    , i was found where the error was because I had already implemented the code another instance to sell the towers, but the wrong way, now found and fix all beauty, worked perfect thank you for helping me.

  • Hello, thank you [quote:25lsdh8p]Little Stain

    and [quote:25lsdh8p]Lordshiva1948

    was found where the error was because I had already implemented the code another instance to sell the towers, but the wrong way, now found and fix all beauty, worked perfect thank you for helping me.

  • It seems, is conflicting somewhere, because to remove all objects and codes leave only some essential, I noticed that it worked as I wanted, the problem is now redo everything from the beginning and go testing to find where that is entering conflict.

  • It seems, is conflicting somewhere, because to remove all objects and codes leave only some essential, I noticed that it worked as I wanted, the problem is now redo everything from the beginning and go testing to find where that is entering conflict.

  • when you click on the tower assigns the value of weapon 1.UID to selltower.

    When click on the image to sell and next to esteusa pick by comparision

    if weapon1.UID if set to selltower. then it triggers:

    Destroy weapon1 and add 25 of money

    no debug saw so are assigning the value of UIDs for however selltower

    in time to catch the individual still object so is destroying everyone.

  • when you click on the tower assigns the value of weapon 1.UID to selltower.

    When click on the image to sell and next to esteusa pick by comparision

    if weapon1.UID if set to selltower. then it triggers:

    Destroy weapon1 and add 25 of money

    no debug saw so are assigning the value of UIDs for however selltower

    in time to catch the individual still object so is destroying everyone.

  • Sorry I still do not understand, it is because in my case the towers are espawneds in the layout, as in your case the fruits are already on the layout, then you know the value of the variable.

  • Surely this is quite interesting, I never tried to do it.

  • Yes, you can, start to create the game and post your questions about your project on the fórum.

  • You can create another variable life for the current player.

    With color variable you can assign a number to it, so if the color variable is different from the player's team color, then reduces size and -1 of life when life is less than or equal to zero destroys the player and end game.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It seems quite confused what you want to do, can you explain it? Do you want to make a game like the Agar.io

  • I have a similar current project.