Destroy Sprite not working since update?

From the Asset Store
Minimal Sprite Font with Stroke for Pixel Art games.
  • I just tried to edit one of my games. Since the latest update it isn't working correctly though. Sprites that have been placed using the layout editor can't be destroyed using

    Sprite > Destroy

    Sprites that have been placed in the event sheet however can be destroyed.

    Is anybody else experiencing this?

  • I just went back and it works fine in version r182.2.

    Any ideas what has changed since then that would stop my sprites being destroyed?

  • I figured out how to fix it. I was using

    or If Sprite | Value = 13

    in an if loop above it in the code. For some reason this prevented it from working. I changed it to

    or If System | Sprite.Value = 13

    and it works again. In both cases this was just an or tagged on the end and wasn't even true in this case. Strange but atleast it's working now!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • "Sprite Compare Variable=XX" picks Sprite instances.

    "System compare two values Sprite.variable=XX" doesn't pick instances, and it compares the variable from the first sprite instance only.

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