Magnesus

Do I have to worry about performance when using Spine for very simple animations?
What I have for example is a door with two animations:
1) open
2) close
Which are not looped and most of the time will just show the last frame (where the door is opened or closed).
The animations uses very few images (2-8).
The same goes for button which would have "clicked" animation that shows it pushed for a small amount of time and then draw the unpushed button for the rest of the time.

Will it be much slower than replacing the animation with static image when it finishes instead? I assume small animations don't do much "behind the scene" and my level will probably have 1-6 switches and 1-6 doors so it shouldn't affect performance much, should it?
Magnesus

Kickstarter Backer
  • Messaggi: 111

Søren

I wouldn't be worrying about performance on something simple like that. Fillrate is often where the bottleneck is on mobile platforms if that is what you are developing for.
Avatar utente
Søren

Shiu
  • Messaggi: 2452

Nate

Agreed with Shiu, it really isn't much processing. Stepping through the code would give you an idea of what it is doing.
Avatar utente
Nate

Nate
  • Messaggi: 12040

Magnesus

Ok, thanks. Animating things like that in Spine will simplify thing for me,
Magnesus

Kickstarter Backer
  • Messaggi: 111


Torna a Editor