Help! SpriteBatchNodes bug!

Hi, I have tested my application on samsung galaxy mini 2 (HVGA 320x480) and the CCLabelBMFont texts, are cropped.
If i have a string 123456789012345678901234567890 every string wrote 12345678901234567890123456789; so every string have 29 characters max!
With Kindle the app works fine.

Galaxy mini 2 have 2.3.6 OS and the game is compiled with SDK 13.
and I use cocos2d-x 2.1.0 and I have the same problem with cocos2d-x 2.1.4

Someone have a idea for this issue? Please :frowning:

Thanks!

Stefano Campodall’Orto wrote:

Hi, I have tested my application on samsung galaxy mini 2 (HVGA 320x480) and the CCLabelBMFont texts, are cropped.
If i have a string 123456789012345678901234567890 every string wrote 12345678901234567890123456789; so every string have 29 characters max!
With Kindle the app works fine.
>
>
Galaxy mini 2 have 2.3.6 OS and the game is compiled with SDK 13.
and I use cocos2d-x 2.1.0 and I have the same problem with cocos2d-x 2.1.4
>
Someone have a idea for this issue? Please :frowning:
>
Thanks!

I have resolved the issue, increasing the value of kDefaultSpriteBatchCapacity… but WHY, I don’t have this problem with other devices? (Samsung Next Turbo, Kindle, Smasung tab2 …)

Thanks!

Stefano Campodall’Orto wrote:

Stefano Campodall’Orto wrote:
> Hi, I have tested my application on samsung galaxy mini 2 (HVGA 320x480) and the CCLabelBMFont texts, are cropped.
> If i have a string 123456789012345678901234567890 every string wrote 12345678901234567890123456789; so every string have 29 characters max!
> With Kindle the app works fine.
>
>
> Galaxy mini 2 have 2.3.6 OS and the game is compiled with SDK 13.
> and I use cocos2d-x 2.1.0 and I have the same problem with cocos2d-x 2.1.4
>
> Someone have a idea for this issue? Please :frowning:
>
> Thanks!
>
I have resolved the issue, increasing the value of kDefaultSpriteBatchCapacity… but WHY, I don’t have this problem with other devices? (Samsung Next Turbo, Kindle, Smasung tab2 …)
>
Thanks!

The problems is present in every classes where uses SpriteBatchNodes… is as if the engine don’t increases in automatic mode the size of batch buffer… some ideas?

thanks.