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,085

Post » Wed Jun 06, 2012 5:18 pm

B
19
S
6
G
7
Posts: 1,210
Reputation: 7,308

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,085

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
82
S
26
G
62
Posts: 4,824
Reputation: 45,188

Post » Wed Jun 06, 2012 5:54 pm

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

Post » Wed Jun 06, 2012 6:36 pm

Closing as not a bug, @R0J0Hound's explanation is correct.
Scirra Founder
B
362
S
216
G
75
Posts: 23,064
Reputation: 180,315


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest