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
16
G
7
Posts: 795
Reputation: 12,840

Post » Wed Jun 06, 2012 5:18 pm

B
21
S
5
G
8
Posts: 1,215
Reputation: 7,834

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
16
G
7
Posts: 795
Reputation: 12,840

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
94
S
33
G
118
Posts: 5,393
Reputation: 75,847

Post » Wed Jun 06, 2012 5:54 pm

@R0J0hound i see
B
52
S
16
G
7
Posts: 795
Reputation: 12,840

Post » Wed Jun 06, 2012 6:36 pm

Closing as not a bug, @R0J0Hound's explanation is correct.
Scirra Founder
B
402
S
238
G
89
Posts: 24,632
Reputation: 196,031


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 0 guests