family item collisioned with same type returns PickedCount 1

0 favourites
  • 2 posts
From the Asset Store
Change delay, create new lines, "backspace" the text
  • Problem Description

    When a Sprite is inside a family, using "On Collision with Family" will return Sprite.PickedCount of 1, although the Object it was collisioned with was also the same Sprite type.

    Changing it to "On collision with Sprite" will return Sprite.PickedCount of 2.

    Attach a Capx

    https://drive.google.com/file/d/0B5myBv ... sp=sharing

    Description of Capx

    Drag one Sprite into another, and You'll get an alert stating the Sprite.PickedCount. This will show 1.

    Inside the Event sheet, Change the collision Family to Sprite, and you'll get Sprite.PickedCount of 2, which is the desired result.

    Steps to Reproduce Bug

    • Drag one Sprite into another.
    • Change the collision Family to Sprite
    • Test again to see the difference

    Observed Result

    PickedCount is 1, although 2 Sprites collided with each other.

    Expected Result

    Sprite.PickedCount to be 2.

    Affected Browsers

    • Chrome: YES

    Operating System and Service Pack

    Windows 10

    Construct 2 Version ID

    Release 233

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Closing as it appears to actually be working correctly. If you say "A collides with B", only one B is picked, whereas you appear to want it to report that two B are picked, which is wrong.

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