How do I creating nods in sprite imagepoints

Get help using Construct 2

Post » Tue May 09, 2017 3:34 pm

Message: user5487 can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
hello how to create nods Properly with sprites

when nods creating in sprite frame 0 it will work correct but when it changed it will not,

but when i remove loopindex it will work on both frames but i must use loopindex

my example if you see it please i must use loopindex

https://www.dropbox.com/s/sswyjoxtk69t7i6/test5.capx?dl=0
B
5
S
1
Posts: 14
Reputation: 403

Post » Tue May 09, 2017 5:01 pm

Your local variable needs to be reseted. When the new instances are spawned, the local variable i is 7 instead of 0.
B
22
S
4
G
3
Posts: 64
Reputation: 2,689

Post » Tue May 09, 2017 6:39 pm

I should daily file a bug report, claiming that 'wait' is a bug, adding every project where i see improper use of 'wait'.

Plz. I beg you (again). Do not use 'wait' (unless the logic flow does not depend on the delayed actions). Especially, do not use wait in loops.

Loops are meant/designed to happen inside 1 tick. Using 'wait' to force a loop to happen in the time of several ticks will bring you into problems. If you want something to happen over the time of many ticks, use the big system loop.

https://www.dropbox.com/s/unqxqpinyhii0 ... .capx?dl=0
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

Post » Tue May 09, 2017 7:16 pm

Message: user5487 can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
99Instances2Go wrote:I should daily file a bug report, claiming that 'wait' is a bug, adding every project where i see improper use of 'wait'.

Plz. I beg you (again). Do not use 'wait' (unless the logic flow does not depend on the delayed actions). Especially, do not use wait in loops.

Loops are meant/designed to happen inside 1 tick. Using 'wait' to force a loop to happen in the time of several ticks will bring you into problems. If you want something to happen over the time of many ticks, use the big system loop.

https://www.dropbox.com/s/unqxqpinyhii0 ... .capx?dl=0


THANK YOU ALOT
B
5
S
1
Posts: 14
Reputation: 403


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 37 guests