How do I Load image from URL for many Sprite

Get help using Construct 2

Post » Thu Jul 14, 2016 10:44 am

Hello,
I created a SpriteObject. Then created following eventsheet
Image

after i run, it's change all SpriteObject image.
I was expected that all Sprite display difference images.
B
7
S
1
Posts: 8
Reputation: 391

Post » Thu Jul 14, 2016 4:16 pm

You can't have different textures and have animations, unless the different textures are animations.
You can add blank frames to an animation, and set it that way, but obviously you must set the frame at the same time.
The system does not always react well to doing that in a single tick.
I believe Rex has a plug for doing that.
Also localhost is for preview only, use ajax to be sure.
Image ImageImage
B
169
S
50
G
169
Posts: 8,286
Reputation: 108,216

Post » Thu Jul 14, 2016 7:55 pm

Use a For Each event instead.
B
8
S
1
Posts: 21
Reputation: 488

Post » Mon Jul 18, 2016 4:04 am

If 1 Sprite call Load image from URL, it affect all other Sprite.
I changed to TitledBackground and it work.
B
7
S
1
Posts: 8
Reputation: 391


Return to How do I....?

Who is online

Users browsing this forum: tarek2, Yahoo [Bot] and 14 guests