Bad selection for an Instance of spr

Get help using Construct 2

Post » Fri Oct 28, 2016 2:45 pm

Hi,

I use FileReader to load a picture n a sprite1, and i stock his base64 value in a cell of an array in Array At(0).

I have an other sprite2 with several instance.

I pick one of this instance abd i try to put inside the data of array at(0).
I set the opacity to 50 to verify the sélection of the instance.

... all the instance of the sprite2 show the picture of the sprite1 ! not only the select one !
But only the selevt instance is in opacity 50%...

Who can help me for that only the select instance show the copy of the sprite1 source ?

my capx:
https://dl.dropboxusercontent.com/u/262 ... photo.capx
(with plugins FileReader and Array)

One capture of my events:
https://dl.dropboxusercontent.com/u/262 ... events.jpg
Last edited by dahu on Fri Oct 28, 2016 5:40 pm, edited 3 times in total.
B
9
S
1
Posts: 72
Reputation: 631

Post » Fri Oct 28, 2016 3:00 pm

@dahu
This is an English forum that is moderated in English so please post in English or provide an English translation.

Thank you.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
131
S
29
G
81
Posts: 5,328
Reputation: 56,630

Post » Fri Oct 28, 2016 3:23 pm

Image
B
64
S
23
G
7
Posts: 1,482
Reputation: 10,825

Post » Fri Oct 28, 2016 5:44 pm

sorry, i have translate...

Thank's Korbaach !
It run very well.

i just don't understand the relation between Frame animation and sprite IID...

For the parameter "varFrame" how to do to not have a loop after the last IID?
B
9
S
1
Posts: 72
Reputation: 631


Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go and 6 guests