negative objectcount

Bugs will be moved here once resolved.

Post » Sat Nov 09, 2013 5:16 pm

Link to .capx file (required!):
https://dl.dropboxusercontent.com/u/5426011/bug/bug_negative_objectcount.capx

Steps to reproduce:
1. Create a project and add a second layer.
2. Add a sprite and a particle object to layer 1.
3. Make the particle object "one shot" and make it's timeout 0.5.
4. Add two events:
every 1 second -> got layout 1
Sprite: on destroyed -> Sprite spawn particles on layer 0
5. Run in debugger.

Observed result:
After the capx restarts the layout about 4 times the objectcount will be negative.

Expected result:
It should never go below 0.

A few more observations about the bug
It only occurs if the sprite is not on layer 0.

Browsers affected:
Chrome: untested
Firefox: yes
Internet Explorer: untested

Operating system & service pack: Vista sp2

Construct 2 version: 149
    
B
92
S
32
G
106
Posts: 5,272
Reputation: 69,455

Post » Wed Aug 13, 2014 3:48 pm

I took another look at this and it was tricky, but I eventually figured out what was wrong and got it fixed. Better late than never!
Scirra Founder
B
395
S
232
G
88
Posts: 24,368
Reputation: 193,746

Post » Wed Aug 13, 2014 6:19 pm

cool
B
92
S
32
G
106
Posts: 5,272
Reputation: 69,455


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest