Hello Guest

Author Topic: Static Sprite Batcher actually decreasing Saved By Batching count?  (Read 3700 times)

arvz

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 21
    • View Profile
Hey,

I'm trying to use the Static Sprite Batcher to combine many many blocks into 1 big statically batched block, like this:


(I'm not using a Tilemap for a specific reason)

I've got a bunch of these in different shapes, all using the same 1 sprite which is in a sprite collection.

While I have all of them uncommitted the 'saved by batching' count in the statistics box is about 88. When I start committing the static sprite batch blocks this number starts go down instead of going up.

I would have logically expected the number to go up (The more you save the better, no?) Have I screwed something up or do I just understand this incorrectly?

edit: Oops, actually it looks like while the 'saved by batching' count goes down, the draw calls count also goes down drastically, so it appears to be working as it should?

Thanks
« Last Edit: February 12, 2014, 12:04:54 pm by arvz »

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Static Sprite Batcher actually decreasing Saved By Batching count?
« Reply #1 on: February 12, 2014, 12:24:46 pm »
Yup, thats working as it should.