Stage sprite clipping, bugged?

If I am not wrong, NME stops to render the sprites that are outside the stage, at least it seems so. However I have noticed that the sprites are clipped too early, that means the sprites are clipped before they are completely off the stage when they move …

  • Forums
  • »
  • Bugs
  • »
  • Stage sprite clipping, bugged?
Viewing 1 to 3 (3 Total)
Stage sprite clipping, bugged?

sebas

sebas
Total Posts: 8
Joined: February 02, 2012

If I am not wrong, NME stops to render the sprites that are outside the stage, at least it seems so. However I have noticed that the sprites are clipped too early, that means the sprites are clipped before they are completely off the stage when they move outside the upper and left side of it.
It is like the sprite has 0 width and height, while instead it contains a bitmap and so the width and height are correctly set.
This bug is slowing me down, is it possible it is actually a NME bug?

Tags:
Posted on March 30, 2012 at 6:40 AM

singmajesty

singmajesty
Total Posts: 2147
Joined: August 25, 2011

Re: Stage sprite clipping, bugged?

There were issues with masking/clipping which were resolved in 3.2 and 3.3. In general, I haven't found issues with how it is working now, but there is a chance there may be improper clipping when you have only one or two objects on stage. If you have enough graphics to cover the full screen, it should work fine. I don't have any evidence that masking may get off when you have only one object on screen, but it might be a possibility.

Would it be possible to create super simple project that illustrates the problem? It would make it much easier to replicate and code against. You could either post it here, or if you open an issue at haxenme.atlassian.net, it would be even easier to handle.

Thank you!

Posted on March 31, 2012 at 11:46 AM

sebas

sebas
Total Posts: 8
Joined: February 02, 2012

Re: Stage sprite clipping, bugged?

I forgot to write it, but eventually it was my bad smiling

Posted on April 17, 2012 at 2:09 PM