Count objects.

This forum is currently in read-only mode.
From the Asset Store
An educational game for counting pictures. An easy to use template for developers to build larger games
  • I would like a more efficient condition where I check the amount of a specific Sprite there is in the layout. Right now I use the "Compare" expression from System to create this condition, because it's the only way. I use this to determine if some event groups should turn off if there are zero of a certain sprite in the layout.

    Problem is, whenever I compare that and the answer is "zero", the debugger feels the need to tell me that, and it gets frustrating starting up a debugging session only to have to click a bunch of OK-buttons to get started.

    Maybe there is already a work-around? I tried setting a variable to the amounts of a sprite but it still happens.

  • There is an expression for families to get the number of objects in the family.

    Works perfectly well even if there is only one object, but multiple instances of the same object.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Sorry, it's a limitation in the debugger - you can either run your application normally, or just ignore all the messages on startup and carry on (they only show once).

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