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
52
S
15
G
6
Posts: 795
Reputation: 12,260

Post » Wed Jun 06, 2012 5:18 pm

B
21
S
6
G
8
Posts: 1,215
Reputation: 7,876

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
52
S
15
G
6
Posts: 795
Reputation: 12,260

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
85
S
27
G
85
Posts: 5,066
Reputation: 57,866

Post » Wed Jun 06, 2012 5:54 pm

@R0J0hound i see
B
52
S
15
G
6
Posts: 795
Reputation: 12,260

Post » Wed Jun 06, 2012 6:36 pm

Closing as not a bug, @R0J0Hound's explanation is correct.
Scirra Founder
B
378
S
220
G
84
Posts: 23,867
Reputation: 188,027


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 4 guests