Create same sprite with diferent loaded images

Get help using Construct 2

Post » Thu Sep 15, 2016 8:36 pm

Hi all. I have made a File Chooser buton that creates a sprite with the selected file image at a random position. The first sprite is all good, but if I get a new file it creates the second one AND changes the image of the first one. I need them to remain diferent. I did try with family behavior and global variables as the CAPX show. Anyone have an idea to make this work?

CAPX HERE

Image
B
20
S
6
Posts: 35
Reputation: 1,313

Post » Thu Sep 15, 2016 8:49 pm

Need x times empty frames in the animation. (animation speed = zero) Set frame to next frame before loading image (event 2).
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

Post » Thu Sep 15, 2016 10:04 pm

Thanks for reply.

I added some empaty frames to the Sprite and tried to do what you told me, the result was the same
Image
B
20
S
6
Posts: 35
Reputation: 1,313

Post » Thu Sep 15, 2016 10:15 pm

Sorry, I'm really tired. Go it working:

Image
B
20
S
6
Posts: 35
Reputation: 1,313


Return to How do I....?

Who is online

Users browsing this forum: batto and 27 guests