I’ve found that rendering image with odd width or/and height blur the image, in case of inserting the image into group with reset transform the image renders properly
– good
local group1 = display.newGroup()
local image1 = display.newImage (“image.png”) – image.png any image with odd width or/and height
group1:insert( image1, true )
– bad (blur)
local group2 = display.newGroup()
local image2 = display.newImage (“image.png”) – image.png any image with odd width or/and height
group2:insert( cat2, false )
– or just
local image3 = display.newImage (“image.png”) – image.png any image with odd width or/and height
This is the fix (for image dimentions like 47x101 px)
image2.x = image2.width*0.5 - 0.5
image2.y = image2.height*0.5 - 0.5
with this code the image renders properly, but this is not proper solution for that problem.
To Ansca Team: is this possible to be fixed in the near future or this is just a feature?
[import]uid: 9058 topic_id: 6722 reply_id: 306722[/import]