load images from url with more instance

Get help using Construct 2

Post » Tue Feb 24, 2015 9:52 am

I'm trying to load more image from url with different instance, like this:

for each avatar > load " FriendsScore.At(self.IID,3)"

but with this, the all sprite will load just the last image (the last IID), another example is in the screenshot...

Image

I try a lot of combination, nothing, I can't get work

Thank you
B
21
S
9
Posts: 298
Reputation: 2,967

Post » Thu Feb 26, 2015 11:34 pm

The only way I found to do this was to use TiledBackground objects instead of Sprites, and resize the TiledBackground to the size of the loaded image.
B
11
S
3
G
3
Posts: 206
Reputation: 2,379

Post » Sat Feb 28, 2015 2:26 pm

Kan wrote:The only way I found to do this was to use TiledBackground objects instead of Sprites, and resize the TiledBackground to the size of the loaded image.


thanks for the reply, I solved this with a lot of frame... one sprite, with 200 frame (so, they are the same...so, doesn't change the memory of the sprite)

with this is ok, because I can set a limit for the score of the player... 200 it's enough :D

and the frame it's = to the IID of the obj
B
21
S
9
Posts: 298
Reputation: 2,967

Post » Sat Feb 28, 2015 2:53 pm

@Ribis

rojo 's canvas plugin + rex_canvas_ext behavior (Load image from URL)
B
108
S
26
G
259
Posts: 4,430
Reputation: 145,679

Post » Mon Mar 02, 2015 6:24 pm

rexrainbow wrote:@Ribis

rojo 's canvas plugin + rex_canvas_ext behavior (Load image from URL)


thank you, I will try it :D
B
21
S
9
Posts: 298
Reputation: 2,967


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 5 guests