HELP in substract Variavel '-'

  • HELP!

    I need a little help from the staff ^^

    I have a problem with my project that is like this

    When my character destroys an object it gives -1 in the variable when it has 2 of the same object and it destroys the 2 the construct2 set my variavel in -2

      BUT I wanted it to destroy the 2 objects that are clones and subtract only 1 point from the variable

    I am not able to explain my idea correctly if someone does not understand us, we exchange an idea via inbox or in the coments

    I'm going to post here a .Capx of an event model I'm using.

    bit.ly/2nZz33x

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • How do you create the objects... ie. do you decide how many will appear of a certain type?

    If you do or even if random all you need to do is store the number created in a separate variable and subtract one from the variable each time one is destroyed.. when that variable=0 then give player the -1 score...

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