Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: dbuske on Sun 06/02/2011 19:11:14

Title: Character editing handling in AGS
Post by: dbuske on Sun 06/02/2011 19:11:14
I noticed AGS doesn't handle character editing well.
Examples: one imports a png image and find that artifacts occur.  When edited more artifacts can be created.
Include loss of image quality.
I thnk AGS needs an editor for character sprites, one that helps to prevent artifacts and loss of quality.
The transparency seems to act funky. Especially using photos rather than drawings.
Title: Re: Character editing handling in AGS
Post by: Khris on Sun 06/02/2011 19:16:00
Sprites are stored lossless; if a character sprite has artifacts in-game, they were there before the import.

What would be the benefit of being able to edit sprites in AGS? Or rather, the point?
What's wrong with creating them in Photoshop or whatever, then importing the finished sprite?

If you're using alpha-channel transparency, set the game to 32bit before importing the sprites and there you go.
Title: Re: Character editing handling in AGS
Post by: dbuske on Sun 06/02/2011 19:20:12
Afraid I always work in 32bit.  I still run into problems.
It is after importing from my paint program that the artifacts and transparency get funky.
I use Gimp.
Title: Re: Character editing handling in AGS
Post by: monkey0506 on Sun 06/02/2011 20:23:47
When you're talking about "artifacts" it sounds to me like you're talking about an area in your alpha channel where you want it to be completely transparent, and to the naked eye appears to be so, but in fact the alpha channel does not have the proper opacity at that location to give the desired transparency.

That and/or possibly the same issue as regarding the "funky"ness of the transparency..

In the editor, alpha channels aren't applied. The images will appear flattened in the editor. In-game however I can assure you that the problems you're describing do not exist.
Title: Re: Character editing handling in AGS
Post by: Knox on Sun 06/02/2011 23:17:18
Especially if you're using a certain color for transparency, if that color isnt 100% "pure" in all areas where you want transparency, those areas will create "artifacts". Use a color picker with info to make sure all transparent pixels have the same value (I used to make that mistake often).
Title: Re: Character editing handling in AGS
Post by: dbuske on Tue 08/02/2011 19:12:44
Quote from: general_knox on Sun 06/02/2011 23:17:18
Especially if you're using a certain color for transparency, if that color isnt 100% "pure" in all areas where you want transparency, those areas will create "artifacts". Use a color picker with info to make sure all transparent pixels have the same value (I used to make that mistake often).

How do you process your characters?
Title: Re: Character editing handling in AGS
Post by: Calin Leafshade on Tue 08/02/2011 19:49:02
give us an example of an image that you are loading into AGS and we'll show you why you are getting artifacts