Layer's Image Being Blur
NoneNone94 last edited by
First: sorry for posting so much. I really enjoy yor app and want it to work better.
After: while I was playing with the embedded template for Scene With Layers, I encountered something: I replaced the layer's image with another one and also added the same image to Draw() to be drawn directly on the scene.
When I started the scene, the image directly drawn on the scene was ok but the same image drawn on the layer was blur. The interesting point was that while you touched the screen and layer moved, every thing became ok. And also I figured out that it was a problem just with certain images!
You can download the script and the image form:
(add image as _Image_11)
omz last edited by
I see, thanks. This is basically a rounding error that results from integer values being used instead of floats. I intend to fix this, but you can also work around this issue pretty easily by explicitly using float coordinates, i.e. <code>center.x - 64.0</code> instead of <code>center.x - 64</code> etc. Just add a <code>.0</code> to your coordinates for now and it should work.