0 Favourites

Traditional Sprite sheets or Spriter SCML file?

  • Are there any advantages to using one over the other? Performance? File size?

  • It depends on the effect you are after.... Spriter permits blending between different animations and give a smoother animation effect than sprite sheets can (in most situations), so the final animation appears of a high standard but uses up only a small amount of memory. However, Spriter has a performance overhead - you can't have a large number of Spriter objects running even on desktop without performance being impacted. There is also an instantiate time for Spriter objects, so that they might appear up to a second after the layout starts (work arounds are possible, though, by delaying fade-in etc). The best thing to do is give Spriter a try and see if you like what it can do.

  • Construct 3

    Buy Construct 3

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

    Buy Now Construct 3 users don't see these ads
  • It depends on the effect you are after.... Spriter permits blending between different animations and give a smoother animation effect than sprite sheets can (in most situations), so the final animation appears of a high standard but uses up only a small amount of memory. However, Spriter has a performance overhead - you can't have a large number of Spriter objects running even on desktop without performance being impacted. There is also an instantiate time for Spriter objects, so that they might appear up to a second after the layout starts (work arounds are possible, though, by delaying fade-in etc). The best thing to do is give Spriter a try and see if you like what it can do.

    Thank you for your informative response.

  • It depends on the effect you are after.... Spriter permits blending between different animations and give a smoother animation effect than sprite sheets can (in most situations), so the final animation appears of a high standard but uses up only a small amount of memory. However, Spriter has a performance overhead - you can't have a large number of Spriter objects running even on desktop without performance being impacted. There is also an instantiate time for Spriter objects, so that they might appear up to a second after the layout starts (work arounds are possible, though, by delaying fade-in etc). The best thing to do is give Spriter a try and see if you like what it can do.

    To remove the instantiate time for Spriter objects, just create the first instance for all of them in the first layout during your game intro using an out of screen coordinate.

    Remember to stagger their creation to avoid any bugs.

    You will find any further creation and usage of all Spriter objects in the game to be super fast and have no issue whatsoever.

    For a demonstration of what I just said, just play my game demo and see for yourself.

  • Sethmaster - good point - from my experimenting it appears that the instantiate time only applies to the first instance that is created using events. I wish I'd realised this during my creation of Umbra.... Never too old to learn lol.

  • so Sethmaster - all your street posse characters are made using Spriter then? Apart from the workaround for instantiate time, have you noticed any performance overhead issues like Colludium? I'm thinking that maybe, since your animations are instant instead of tweened, that might cut down on some resources. Is that the case?

    (sorry to high-jack this post..)

  • so Sethmaster - all your street posse characters are made using Spriter then? Apart from the workaround for instantiate time, have you noticed any performance overhead issues like Colludium? I'm thinking that maybe, since your animations are instant instead of tweened, that might cut down on some resources. Is that the case?

    (sorry to high-jack this post..)

    Yes. all of it is made from Spriter.

    Regarding overhead, I do know that the last time I created over 10,000 Spriter objects at one time (because I tried use Spriter haphazardly for everything including tiles), there is a lag. The reason so many is created at once is because most of the tile Spriter instances have around 50 objects in them due to my mistake in creating a unique for each different tile in Spriter despite the fact that tiles usually don't have animations and this amount can be reduced to merely one via charactermaps.

    By using charactermaps not just for the characters but also for other objects as well, I manage to reduce the amount of objects present at any time significantly. Though for the tiles, I am still not using Spriter for them due to aversion after the last mistake.

    Yeah, all the animations are instant and not tweened due to the pixel art. So my experience might differ from others who used tweening. I recommend you try Spriter yourself to see whether the performance ovehead affect your game or not.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)
Similar Topics Posts Views Last Post
Unread hot topic
0 Favourites
Spriter/C2 - Spriter 2 Teaser!
1,800 322,356
tarek2's avatar
tarek2
Unread hot topic
0 Favourites
Sprite Font Generator - v3
368 112,397
RetroDaddy's avatar
RetroDaddy
Unread hot topic
59 7,405
lucid's avatar
lucid