Closed mnordine closed 1 year ago
Hi, there is an example for HiDPI images: https://github.com/bp74/StageXL_Samples/tree/master/example/basic/bitmap_data_hidpi
you have to load the @1x images in your application, and the runtime will automatically load the @2x images as needed.
You can also specify the available pixel ratios for the HiDPI images:
StageXL.bitmapDataLoadOptions.pixelRatios =
Yeah, in that example, you've used MaxRects
algorithm. Test that baby out at @2x with Polygon
algo.
@bp74 Were you able to reproduce with Polygon
@2x?
The images on stage look roughly double the size, and are offset on x and y axis (to the right and down)
@1x works fine.