Graphics, Characters, Text & Rooms: Difference between revisions

Line 205: Line 205:


==White lines around character sprites==
==White lines around character sprites==
''For some reason my characters' sprites have a white border around them. I can't see this outline in the actual image I made of him/her. The same is true of all my sprites. What is the problem?''
This occurs if you draw your images with any anti-aliasing tool. In other words, if you used paintbrush tools and fill tools that smoothen the edges of whatever you draw, then outlines that are the colour of your background will appear. Why? Because when AGS imports images, it allows you to set a specific colour to use as a transparency. However, AGS doesn't detect a range of these colours; it only detects the exact colour. So because you have anti-aliasing (smooth edges) in your images, AGS will leave out the colours closer to the edges, because they are not the exact colour that is in the rest of the background.
The solution? Simply edit your images and make sure that what you think is the background of your images is all the same '''exact''' colour. Or, simply re-draw the affected images with tools that will not smoothen or blur the edges. This is especally true of images created in advanced programs such as Jasc Paint Shop Pro or Adobe PhotoShop. Good ol' Microsoft Paint will not anti-alias anything, so that's your best bet, unless you can use PSP/PS at its simplest operation.
Also, bear in mind that you didn't save the images as JPEG or any other lossy formats during a step in the creation of them, since those lossy compressions will alter your images so '''flat''' colours may not be flat anymore.
==Disabling diagonal walking altogether (only walk up/down/sideways)==
==Disabling diagonal walking altogether (only walk up/down/sideways)==
==Animating your background images==
==Animating your background images==