m_Waters[0].Water.Create("drop.png", 0, 0, 10);
m_Waters[0].alive = 0;
m_Waters[0].Water.SetOffset(1, 1);
m_Waters[0].Water.SetShape(1);
m_Waters[0].Water.SetPositionByOffset(-200, -200);
for (int i=1; i<m_iWaterCount; i++)
{
m_Waters[i].Water.Clone(m_Waters[0].Water.GetID());
m_Waters[i].alive = 0;
}
I created 100 sprite, and then turn on physics, the fps fell down to 15. Are 100 too much? then I reduced sprite number to 10, then fps can keep 60. otherwise , it can't be.
another one: when I use SetSpriteShape(3), it don't take effect. the actually is like using SetSpriteShape(2).
following is the picture:
The Miracrea Games