float-diagonal Posted January 23, 2018 Share Posted January 23, 2018 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 More sharing options...
float-diagonal Posted January 23, 2018 Author Share Posted January 23, 2018 Figured it out. I was looking for the "pxielArt" flag in the Game config object. Link to comment Share on other sites More sharing options...
Recommended Posts