Multiple Sprites into One Random Array?

0 favourites
  • 4 posts
From the Asset Store
Supports 1D, 2D, 3D arrays. Import and export arrays in JSON format
  • Hi,

    I've worked through the tutorial on how to pull animations from a single sprite into a random array here: construct.net/en

    I'm wondering if, using the same steps as demo'd in the tutorial linked above, if it's possible to randomly display various animations from MULTIPLE sprites in a single array - instead of animations from just a single sprite?

    Thanks.

  • Easier: use a single sprite, inside that sprite store Several animations, in each animation you can store different images.

  • or use families i.e. "Enemies: call random animation"

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Much thanks for the information. I'm going the families route since I need to track each sprite that is touched independently. It's working - but - of the 4 sprites I have, the randomly generated array is mostly (not completely) displaying the first animation from each of the 4 sprites and not all animations from the 4 sprites equally. The array will randomly display 2 or 3 other animations from each sprite but about 90% of the array is made up of only the first animation from each sprite. Any ideas why?

    Thanks again.

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