Variables Problem

0 favourites
  • 4 posts
From the Asset Store
Color Variable
$4.50 USD
10% off
Easily store, modify, read and manipulate colors with Color Variables!
  • Hello! I´m making a platform boss battle using variables to the energy, when veriable "BossEnergy" reachs 0, the boss is destroyed... the problem is that sometimes in the previews, the boss still alive with negative energy... and sometimes in other previews without a single event modification, the boss dies... my question is... WHY?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • when veriable "BossEnergy" reachs 0, the boss is destroyed... the problem is that sometimes in the previews, the boss still alive with negative energy.

    Use..

    "BossEnergy" is less or equal to 0...Boss destroy

    .. and sometimes in other previews without a single event modification, the boss dies... my question is... WHY?

    without the capx.....

  • Thank you! I put "less or equal" to the "compare boss energy" and now it works correctly every time D

    thank you again!

  • sure you had only " is equal" selected, but this situation may not always come to pass

    Boss HP: 10 Shoot dmg 15 BOSS will become "immortal"

    Boss HP: 10 Shoot dmg 10 BOSS dies

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