Object bounds' values fluctuation - to Corona Labs team

Dear creators,
I wanted to use object bounds and yMin and such properties of object to place it on screen. However, I noticed object wasn’t still but was ‘oscillating’. So I printed used properties of display object on enterFrame and what I saw was that these values were fluctuating. Why was that if I wasn’t moving it?

It might be helpful if you posted some code that exhibits what you’re describing.

  • Andrew

Just created sprite and tried to assess bounds properites.

Hi @piotrz55,

Can you show some code, or perhaps describe the sprite in detail? Is it using different sized frames from a sheet? Have you explored the guide on image sheet trimming? I believe I included that in a post you were subscribed to just a few minutes ago, but here it is again:

http://docs.coronalabs.com/guide/media/imageSheets/index.html

Maybe this will shed some light on the issue (I hope!).

Brent

Will check tomorrow and paste code (have 1 am here)

It might be helpful if you posted some code that exhibits what you’re describing.

  • Andrew

Just created sprite and tried to assess bounds properites.

Hi @piotrz55,

Can you show some code, or perhaps describe the sprite in detail? Is it using different sized frames from a sheet? Have you explored the guide on image sheet trimming? I believe I included that in a post you were subscribed to just a few minutes ago, but here it is again:

http://docs.coronalabs.com/guide/media/imageSheets/index.html

Maybe this will shed some light on the issue (I hope!).

Brent

Will check tomorrow and paste code (have 1 am here)