Change sprite's image at runtime ?

0 favourites
  • 3 posts
From the Asset Store
Simplistic hyper-casual game with nature elements. Tap to switch between the 4 elements and reach a better score.
  • Hi all,

    could I have some help on that please : When my app starts, uses a visible sprite which already I have given an image to display.

    Also the app has some other non-visible sprites - I use them only to keep their respective images. Now, what I want is to be able to load the image of any of the non-visible sprites, to the visible one, by keeping the other visible sprite's properties (name etc).

    I tried to make use of load image from URI but could not figure out how it works.

    Is it possible to do what I describe ? Thank you in advance.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Why do you have to retrieve the image from a different object?

    making an image appear is often the case of simply creating that sprite which already contains the image in it's animation/frames.

  • It sounds like you want to keep actually swop out the object, not just the image during runtime, so that all the object properties, events etc move with the image. Did I understand correctly. I think if you look at families in the manual it might solve your problem combined with what keepee suggested. Be aware you need a personal license to use families.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)