Load image from file, without change all objects images

0 favourites
  • 5 posts
From the Asset Store
Simplistic hyper-casual game with nature elements. Tap to switch between the 4 elements and reach a better score.
  • The objective is create a function to make a button and set an image.

    The 1st object load image correct.

    When the 2nd object load the image, the 1st object change the image.

    What's the problem?

    I can't load an image for only 1 instance of the object?

    Thanks

  • You need to pick the object and in this case you could use Pick nth instance where 0 is the first button, 1 is the second button. This is essentially picking by the object's IID which is the order in which the buttons were created. Currently you are just applying to all button objects.

  • You need to pick the object and in this case you could use Pick nth instance where 0 is the first button, 1 is the second button. This is essentially picking by the object's IID which is the order in which the buttons were created. Currently you are just applying to all button objects.

    I try it, and don't work.

    Pick nth instance, overlapping point, ....

    With or without "wait" (between create and load image).

    When I load an image, all instances change it.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The setting applies for all instances indeed, I think a way is to use the paster plugin rather than a sprite (that or having enough animation frames maybe)

  • Oh yeah, load image ignores picking for some reason. Oops.

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