is this bug? every x sec

Bugs will be moved here once resolved.

Post » Wed Jun 06, 2012 1:54 pm

i have made an object with variable (num) so i create 3 sprite with that object with num = 2,3,5 so the event every object.num second = sprite die


so why they die all together?? is that a bug or its not supported or what?

here capx.
https://dl.dropbox.com/u/67034121/scirra%20construct2/destroy%20every%20seconds%20example.capx
B
49
S
15
G
6
Posts: 795
Reputation: 12,105

Post » Wed Jun 06, 2012 5:18 pm

B
20
S
6
G
7
Posts: 1,215
Reputation: 7,342

Post » Wed Jun 06, 2012 5:23 pm

@chrisbrobs works fine o.o but isn't that a bug or its normal that every x second doesn't support variables?
B
49
S
15
G
6
Posts: 795
Reputation: 12,105

Post » Wed Jun 06, 2012 5:52 pm

It's not a bug.
"Every x seconds" does no picking, so when it runs all of the sprites are picked and destroyed.
B
84
S
27
G
70
Posts: 4,934
Reputation: 49,560

Post » Wed Jun 06, 2012 5:54 pm

@R0J0hound i see
B
49
S
15
G
6
Posts: 795
Reputation: 12,105

Post » Wed Jun 06, 2012 6:36 pm

Closing as not a bug, @R0J0Hound's explanation is correct.
Scirra Founder
B
367
S
217
G
82
Posts: 23,263
Reputation: 183,853


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 0 guests