Placing sprite into a folder messes up Touch events

0 favourites
  • 1 posts
From the Asset Store
Spooky Places game assets for 2D endless runner action adventure game.
  • Problem Description

    Sorry for the confusing title, this bug is quite weird and it's difficult to describe it...

    After moving a sprite with Drag&Drop behavior to a folder, "Is touching object" event is not working correctly.

    Attach a Capx

    https://www.dropbox.com/s/vjm5k49g5ifps ... .capx?dl=0

    Description of Capx

    Small project to demonstrate the issue.

    Steps to Reproduce Bug

    • Run the project, try dragging the green sprite, note that the text says "Background NOT touched"
    • Move the TaskDrag1 sprite out from the folder
    • Run the project again, drag the sprite, text now says "Background touched"

    Observed Result

    Inconsistent results depending on whether the sprite is in the folder or not.

    Expected Result

    "Is Touching" event should be registered for tiled background.

    Placing the sprite into a folder should not have any effect on events.

    Affected Browsers

    • Chrome: YES
    • FireFox: YES
    • Internet Explorer: YES

    Operating System and Service Pack

    Windows 10

    Construct 2 Version ID

    r255

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)