Search Unity

Resolved Sprite sheet animation

Discussion in 'Entity Component System' started by KANIYO, Jun 2, 2023.

  1. KANIYO

    KANIYO

    Joined:
    Nov 12, 2020
    Posts:
    28
    Is there a way to implement Sprite animations in Entities 1.0.10 or later?
     
  2. FaithlessOne

    FaithlessOne

    Joined:
    Jun 19, 2017
    Posts:
    315
    Tony_Max and KANIYO like this.
  3. KANIYO

    KANIYO

    Joined:
    Nov 12, 2020
    Posts:
    28
    Thanks for the reply.
    I had passed on NSprite because it was not available in Entities 1.0.10, but now I will take a closer look at the contents and try to use it. Thanks.

    Also, I'm looking forward to the official standard support.
     
  4. Tony_Max

    Tony_Max

    Joined:
    Feb 7, 2017
    Posts:
    352
    Kinda surprisingly for me, because I've read Entities changelog and haven't find anything that can potentially break NSprites. Will check it and update if necessary.
     
    KANIYO likes this.
  5. KANIYO

    KANIYO

    Joined:
    Nov 12, 2020
    Posts:
    28
    Thank you!
     
  6. Tony_Max

    Tony_Max

    Joined:
    Feb 7, 2017
    Posts:
    352
    I've checked NSprites compatibility with entities v1.0.10 and there was no issues. But NSprites-Foundation package and Age-of-Sprites project which used previous one was broken because entities now ban using nested methods inside
    Entities.ForEach
    API.

    However I've fix all problems and all repos works.

    The whole work splitted up to 3 repos
    * NSprites itself which is very pure solution and its rarely hit by entities updates
    * NSprites-Foundation which brings you most common solutions but leaves you a possibility to implement your own
    * Age-of-Sprites as sample project with some simple mechanics which uses previous package
     
    KANIYO likes this.