I've got a few questions here. I'm working on a new game, it is a beat em' up. I am using Spine for my characters which is really great for creating the bones and animating the different move sets for my fighters! However I wasn't quite expecting the performance to take such a massive hit when using it. My computer is pretty good, I'm running a i7 7700 with a GTX 1060 6gb video card. With my game I've decided to create it at 60 fps as it looks a bit smoother than the normal 30fps I create at. With just over 30 of my spine fighters on screen, my game begins to dip to around 40-50 fps.
My spine skeleton isn't anything crazy, just a normal human figure with the normal human like bone structure. 14 bones to be exact. Is this type of low performance to be expected when using a skeleton animation such as Spine or DragonBones? Cause ouch, that really chews up performance REAL quick. And that's on my PC which is pretty top of the line, I can't image running on something weaker. If that's the case, I'd only be able to generate about 10 fighters on screen to be "safe". I was thinking that it'd be able to handle a few hundred, but I could totally be wrong.
I guess my second question would be about masks. Maybe I should just avoid masks at ALL costs. I wanted to create a nice circular health bar for my game. It will consist of a health bar, a "chi" bar, and an XP bar. The HP and chi bar would scale depending on your health/chi. Also, the bars themselves would be able to increase as your TOTAL HP and chi increase as well. To do all of this I use a multiple masks. It works and looks great! However it's really a performance killer and increasing my overall CPU/GPU usage in Scout by about 25%.
Here is a sample of my UI:
I guess I could ditch the whole circular health bar idea, but I really liked it and I'm not sure of any other way of doing it.
Lastly, I've been developing flash games for years now. But this all has me a bit confused on how the heck some of these 3D Triple A games do what they do. How am I having such low FPS with only 30 2D skeleton figures on screen, and also the mask performance issue? Some of these amazing graphics 3D games have tons of animating 3D players on screen while running flawlessly. I've also seen the circular health thing done on a PS2 game, a system hundreds of times slower than my current gen PC.
Thanks for any info!