Search Unity

Need help with Asset Bundle and general Sprite loading workflow

Discussion in 'Asset Bundles' started by FinalBoss69, May 9, 2019.

  1. FinalBoss69

    FinalBoss69

    Joined:
    Feb 12, 2016
    Posts:
    32
    Hey Everyone,

    I'm working on my first game. I have all graphics as prototypes right now on the scene and I want to change to the real graphics. But I just got stuck and I don't even know where to begin.

    My game is a simple Match 3 board game where each tile is a block of some type.
    Each Block is a 2D sprite (now it's just a simple sprite should be animation).
    After pulling a block from the pool it's type (color/boost) gets randomized.

    I bought a pack of sprites from the asset store which has many types of animal blocks.
    The creator organized it in folders like this:
    - Rabbit (folder)
    - Idle (sprite..)
    - Eyes Open
    - Eyes Closed
    - Bear (folder)
    - Idle (sprite..)
    - Eyes Open
    - Eyes Closed

    x20 other animals etc...

    Problem 1:
    I made a bundle with this entire folder but because bundles are flattened out I can't get specific animal when I load Assets from the bundle.

    Problem 2:
    I want to animate between the sprites without making Animation Clip for each animal and use only one Animation controller.