Placing sprite into a folder messes up Touch events

Report Construct 2 bugs here.

Post » Thu Mar 15, 2018 12:54 pm

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 ... .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
Posts: 2,378
Reputation: 84,383

Return to Bugs

Who is online

Users browsing this forum: No registered users and 3 guests