"is overlapping" I don't understand how it work

0 favourites
  • 2 posts
  • Hi,

    I start learning C2 about 2 weeks ago, and i found this problem yesterday. Can someone explain me why work different? I can't understand how the order of factors change the result in "is overlapping".

    ERROR

    <img src="http://i39.tinypic.com/2rfrdpg.png" border="0" />

    Result: (Always subtract 2)

    TextDebug: 5

    TxtWin: 3

    OK

    <img src="http://i43.tinypic.com/fla9om.png" border="0" />

    Result: (Always subtract 1)

    TextDebug: 5

    TxtWin: 4

    Thanks

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You don't really need the "every 0.1" event, or the "for"..

    "Overlapping" checks if an object is over another object. While it is, the event keeps repeating. For instance, try creating 2 new objects and test what happens when you have a variable add 1 while one object is overlapping another. The variable will trigger every tick.

    There's a "on collision with" event that triggers just once when something collides with another object.

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