- Home /
PNG graphics for a 2D game
Hey guys. So I've been planning on trying my hand on creating a 2D game using one of the toolkits you can get in the asset store ("2D Toolkit" it's called). Although before I want to actually make the purchase, I wanted to try some things first. The first being making sure imported 2D graphics looked okay. I plan to be making them all in illustrator, and I exported a few test ones as a png. But for whatever reason the quality was always, well kind of bad. And so, here is my question:
What settings do I have to change to make them look at higher quality? Should i export them as a different file type? I was just sticking them on a cube and playing with the cube's size. I should also note that the PNGs I used were created in high quality and were very large.
I spent 45 minutes or so looking for answers online, but only found a few png issues that were in the context of GUI stuff, and didn't seem of much help.
Any advice is much appreciated
Answer by whydoidoit · Sep 22, 2012 at 07:36 AM
Illustrator is what I use to make 2D game art and 2D ToolKit is a fantastic product - if you are normally importing it before buying 2D Toolkit then you need to make sure that you sent the import type of the file in Unity to GUITexture - which will give you the pixel perfect unlit look that you will get automatically form 2D toolkit. Otherwise it is expected to go on a mesh and Unity wants it to be square in that case + the shader will play with the lighting etc etc etc.
Bottom line - using 2D toolkit and Illustrator you graphics will look exactly the same as they do in Illustrator. You should output as PNG that's just fine - you should output the graphics at the size you want them to be.
Ah, so you even get it automatically with 2D toolkit, that's good to hear. I don't really have any reason for it to work otherwise. Anyways, thanks for the information, I look forward to getting started with this project now.
Your answer
Follow this Question
Related Questions
Is there a fix for UI/png assets being aliased when using IOS platform for build setting. 0 Answers
2D graphic problem with tilemap and resolution 0 Answers
Problems with Clamping Player to Screen 1 Answer
Can I Get Unity to draw simple shapes instead of me using Sprite images 0 Answers
Best way to draw an ECG trace. 2 Answers