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
  • 전체글: 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.
사용자 아바타
Søren

Shiu
  • 전체글: 2446

Nate

Agreed with Shiu, it really isn't much processing. Stepping through the code would give you an idea of what it is doing.
사용자 아바타
Nate

Nate
  • 전체글: 11795

Magnesus

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

Kickstarter Backer
  • 전체글: 111


다시 돌아감: Editor