Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Racoon on Sun 08/11/2020 19:31:24

Title: Images after import to AGS unclean (SOLVED)
Post by: Racoon on Sun 08/11/2020 19:31:24
Hello again,

I started making a new game with the updated AGS and with many images that I import I have the problem that they look unclean (as colour runs over the lines). In my drawing program they look perfectly fine. Is the updated AGS more sensitive? I can´t remember having this problem as much with the old version. Is there anything I can do besides tidying up everything really good before importing it?
Title: Re: Images after import to AGS unclean
Post by: Crimson Wizard on Sun 08/11/2020 19:44:42
Please give more details about your images: format, colour depth, do they have alpha channel etc, and which import settings do you use?
One thing to double check is that if your images have alpha channel, the import settings should be "import alpha channel" and "transparent color: leave as is".
Title: Re: Images after import to AGS unclean
Post by: Olleh19 on Sun 08/11/2020 20:12:42
Quote from: Racoon on Sun 08/11/2020 19:31:24
Hello again,

I started making a new game with the updated AGS and with many images that I import I have the problem that they look unclean (as colour runs over the lines). In my drawing program they look perfectly fine. Is the updated AGS more sensitive? I can´t remember having this problem as much with the old version. Is there anything I can do besides tidying up everything really good before importing it?

If you have many layers in Photoshop make sure ALL LAYERS have the exact same transparent colors placed at the same spots or else this can happen that you describe. It's happened too me. Just because you have a green bakground in one image, doesnt mean its there in the layer behind (it's weird i know.)
I lean towards that is the issue. Forexample if you resize the canvas you have to redraw green all BG layers with green. Even if you export only a image with "one layer" active, for unknown reason the other layers can interfere.

If it's not that, but it sounds like it. Have you tried the different import settings like top bottom left, or such? It's most likely to do with your transparent colors being off, perhaps antialiased pencils were used and that messed things up.
Make sure you have antialiasing turned off and then use the buckettool for your BG/Transparent color in the sprites!
Title: Re: Images after import to AGS unclean
Post by: Gilbert on Mon 09/11/2020 01:25:12
Also, make sure you DIDN'T save the image files in JPEG format. Artifacts from lossy compression are responsible in ruining clarity of images.
As AGS converts the images internally it WON'T help in reducing the size of your game if you save them as JPEGs.
Title: Re: Images after import to AGS unclean (SOLVED)
Post by: Racoon on Mon 09/11/2020 21:22:42
Hey, thanks for your replies! I just found my mistake. The colour depth was set to 16bit, after setting it to 32bit and reimporting everything it looks fine. Sorry that I did not think about that earlier. I feel like almost everytime I post a problem, it turns out to be embarrassingly easy in the end, so thanks for putting up with me  (roll)
Title: Re: Images after import to AGS unclean (SOLVED)
Post by: Monsieur OUXX on Tue 10/11/2020 13:05:18
Quote from: Racoon on Mon 09/11/2020 21:22:42
Hey, thanks for your replies! I just found my mistake. The colour depth was set to 16bit

16 bits should be banned. It's 99% of sprite import issues.