Array load from JSON string and next event

Get help using Construct 2

Post » Wed Sep 30, 2015 4:32 pm

Hello,

When i load Array from JSON string that takes some time...
How can i trigger next event only when loading is over and not right away becouse it messes my code?
(and i know to set wait event but thats kinda unprecise solution becouse mine data will grow and loading time with it)

thanx!!!
B
26
S
11
G
2
Posts: 669
Reputation: 5,038

Post » Wed Sep 30, 2015 4:41 pm

I was under the impression that in that case everything would stop while it loaded. At least it has every time I've used it.
B
92
S
32
G
110
Posts: 5,298
Reputation: 71,507

Post » Wed Sep 30, 2015 5:58 pm

B
66
S
24
G
7
Posts: 1,515
Reputation: 11,041

Post » Wed Sep 30, 2015 6:04 pm

@korbaach

Great tip.... im on it right away!!! :)
B
26
S
11
G
2
Posts: 669
Reputation: 5,038


Return to How do I....?

Who is online

Users browsing this forum: batto and 18 guests