Blurry PNG's!! D:

Hello Corona Community!

I am helping Samuel Goshen (creator of ‘Domino Dog’) with his art on his brand new release ‘Domino Dog Worlds’

For some reason when Samuel brings my png files into the project the images turn out blurry… D:

If you look at this picture here:

Image and video hosting by TinyPic

You can see the platform is coming out a little blurry… Also the Ice balls are coming out blurry as well…He does not think the ice balls are blurry… Just seeing if anybody else thinks they look blurry and how we can fix this blurriness… Thanks for any suggestions!! [import]uid: 51459 topic_id: 24809 reply_id: 324809[/import]

Here is a better picture of the ice balls.

Image and video hosting by TinyPic

Any suggestions on who to fix this issue would be AWESOME!! Thanks!! (: [import]uid: 51459 topic_id: 24809 reply_id: 100603[/import]

Hi Jake:

This may or may not be helpful, but I have two thoughts:

  1. I see that you’re using the iPad Retina skin…are your art assets sized properly for a canvas that big? It could be that the blurriness is on account of the scaling-up of non-retina assets.

  2. Check the height & width on your PNG files. Corona sometimes has a hard time displaying PNGs with odd-numbered pixel widths and/or heights crisply. I’ve experienced this in the past, and bumping up the PNG’s canvas size by 1 pixel to get an even-numbered height & width yields great results.

Hope this helps!

-Jason [import]uid: 27636 topic_id: 24809 reply_id: 100609[/import]

I think this may could be an “issue” in the png file. Has Samuel resized your png? Other wise make sure to use the “Nerest Neighbour” option when rescaling pictures in photoshop. Because otherwise the images will be blurry. :stuck_out_tongue:

If he hasnt touched your png file, Im not sure what can be the error. [import]uid: 119384 topic_id: 24809 reply_id: 100610[/import]

@jason The image sizes for the ice balls are 20x20

@Baronen He has not messed with my image sizes… He just needs them to be really small like 8x8 or something like that… Last night he came to the conclusion that I can give him a bigger size and he will reduce the size in code… Really not sure what is going on [import]uid: 51459 topic_id: 24809 reply_id: 100616[/import]

Oh i see, then the issue is in the code :stuck_out_tongue:
When I’m making my apps im always try to make use the “correct” image size from the beginning, not edit the size in my code. I think its much easier that way:P [import]uid: 119384 topic_id: 24809 reply_id: 100617[/import]

Cool thanks for the help!! [import]uid: 51459 topic_id: 24809 reply_id: 100618[/import]

Whenever you adjust size using the code, it will change the quality.
Always cut images for exact size you will use in the game. If your ice ball image is 20x20, make sure it’s 20x20 in the code. If you want it to be 8x8 in the game, create an image in 8x8.
By the way, creating an image and reducing it down in the code will waste valuable disk space thus creating a larger game file (not good on the mobile platform).
Also, if you don’t need transparency, use JPG instead of PNG. JPG’s much smaller in size. [import]uid: 39031 topic_id: 24809 reply_id: 100645[/import]