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
45
S
15
G
6
Posts: 795
Reputation: 11,935

Post » Wed Jun 06, 2012 5:18 pm

B
19
S
6
G
7
Posts: 1,204
Reputation: 7,296

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
45
S
15
G
6
Posts: 795
Reputation: 11,935

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
79
S
24
G
52
Posts: 4,725
Reputation: 39,713

Post » Wed Jun 06, 2012 5:54 pm

@R0J0hound i see
B
45
S
15
G
6
Posts: 795
Reputation: 11,935

Post » Wed Jun 06, 2012 6:36 pm

Closing as not a bug, @R0J0Hound's explanation is correct.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,478


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 0 guests