Immedeatly after destroying an object, which is part of the family, that family is not being "updated". I have similar issues on creating objects by Func´s. The uploaded example contains only the destroying issue.
Attach a Capx
see uploaded file
Description of Capx
On touch (end): 2 sprites get destroyed and created, inbetween debug messages show the familiy.Count, which is partly wrong during the process.
Steps to Reproduce Bug
- Touch/Klick anywhere
- See debug message, especially: ("Family.Count = 2" -> "sprite 1 and 2 destroyed" -> "Family.Count = 2")
- Enable "Wait 1.0s"
- See debug message, especially: ("Family.Count = 2" -> "sprite 1 and 2 destroyed" -> "Family.Count = 0")
Family membership is not being updated immedeatly after creating/destroying objects? Or between Func calls?
see step 3-4 (with Wait 1.0)
- Chrome: (YES/)
- FireFox: (YES/)
- Internet Explorer: (?)
Operating System and Service Pack
Windows 8 SP1
Construct 2 Version ID