Family with global objects

Bugs will be moved here once resolved.

Post » Sat Aug 18, 2012 2:04 pm


There's an issue with family object containing sprites with Global turned on.

family_global.capx

On layout 1 click on sprite - instance is destroyed and text with objectcount will properly subtract 1.

Now the issue:
- run project from layout 1
- go to layout 2
- go back to layout 1
- click on sprite to destroy it

Objectcount will show proper value (subtract destroyed sprite), but sprite will be still visible. You have to switch layouts to make it go away.


C2 r99 Win7 64
ImageImageImageImage
B
140
S
58
G
36
Posts: 2,547
Reputation: 31,170

Post » Mon Aug 20, 2012 12:34 pm

@Ashley sorry for bothering you but can it be fixed? my entire game is one big global object, and with every layout switch I'm left with dozens sprites on screen which should not be there :)
ImageImageImageImage
B
140
S
58
G
36
Posts: 2,547
Reputation: 31,170

Post » Mon Aug 20, 2012 4:24 pm

Should be fixed in r100, thanks for the report.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,528


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 4 guests