Jump to content

[SOLVED] Align Rendered Objects to Pixel Grid


Recommended Posts

The camera has a property called "roundPixels" that ensures it is always scrolled to integer coordinates, even when it's following an object that is not located at an integer coordinate. I would like sprites and other display objects to render using the same strategy, but I do NOT want their physical location to round, just their display coordinates. In the new API, what is the simplest way to ensure that objects always get automatically rounded while rendering but not during physics calculations?

Link to comment
Share on other sites

  • float-diagonal changed the title to [SOLVED] Align Rendered Objects to Pixel Grid

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...