Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Layer's Image Being Blur
-
Dear OMZ
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:
http://db.tt/gWhIjGLb
(add image as _Image_11) -
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.