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
10
S
3
Posts: 82
Reputation: 830

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
137
S
31
G
87
Posts: 5,564
Reputation: 60,472

Post » Fri Oct 28, 2016 3:23 pm

B
67
S
24
G
7
Posts: 1,518
Reputation: 11,072

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
10
S
3
Posts: 82
Reputation: 830


Return to How do I....?

Who is online

Users browsing this forum: Exabot [Bot], Julot135, Magistross and 23 guests