r197-Create family sprite in container;strange things happen

Report Construct 2 bugs here.

Post » Fri Feb 20, 2015 8:30 pm

Problem Description
Looking at this thread, the move to layer action didn't seem to be working properly for the sprites when spawned as family objects.

Attach a Capx
familyContainerPickingBug_r197.capx


Description of Capx
There are two sprites (Sprite1 and Sprite2) in the same container and family (Family1).
Every 0.2 seconds a Family1 is created.
Every tick the text is set to Sprite1.PickedCount.

Steps to Reproduce Bug
  • Run the capx
  • Check the PickedCount

Observed Result
Sprite1.PickedCount == 1

Expected Result
Sprite1.PickedCount == the number of Sprite1s

Bonus
Enable event 3 that loops through the Sprite1s
Now Sprite1.PickedCount shows the correct number

Affected Browsers
  • Chrome: (YES)
  • FireFox: (YES)
  • Internet Explorer: (YES)

Operating System and Service Pack
Win8.1

Construct 2 Version ID
r197
You do not have the required permissions to view the files attached to this post.
B
55
S
28
G
18
Posts: 1,520
Reputation: 25,305

Return to Bugs

Who is online

Users browsing this forum: No registered users and 0 guests