Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: dbuske on Wed 23/02/2011 14:24:50

Title: How to make a character for AGS
Post by: dbuske on Wed 23/02/2011 14:24:50
I thought this thread might help newbies to get started making characters for use in an AGS game.
I am also a relative newbie, so I am hoping the resident experts will chime in with corrections and helpful tips.
Let's keep this post to making characters only.
Here goes:

What I have learned to do is use a PNG photo, or you could use a drawing and make it a .png file. I use Gimp painting program.
First I scale the photo up to a much bigger size.  This makes getting the transparency right up to the edge of the character itself easier.
I use layer transparency (looks like small chess board squares) to cover the background for transparency.
Once that is done, I resize the photo to the size I want it for use in my game.
Then I use filter-enhance-sharpen to make the image as clear as possible.
I then use antialias, which doesn't seem to really do anything, but I use it anyway.
I save the file in .png format.

Then I go into AGS and import the image.  I tell AGS to use the alpha channel.
Then choose either top-left Pixel, bottom-left, top-right, bottom-right, leave as is, or no transparency.
Choose the one above where there is no image, but only background.
Once the character is imported, set the resolution to 320x200 320x240. AGS will scale the character size up if needed.
If you edit the image again, AGS will set the resolution to 640x480.  You will have to hand reset it back to 320x200 320x240
Title: Re: How to make a character for AGS
Post by: Arjunaz78 on Sat 10/09/2011 19:27:16
sorry...i'm new here...

how you import the character in .png format?because u need .chr & .cha format to make a character to be import?how to change it to .chr & .cha format?
Title: Re: How to make a character for AGS
Post by: NickyNyce on Sat 10/09/2011 19:51:42
check out densmings videos on you tube.

Type in how to use AGS part 1, there are around 43 videos.

This should help all newbies get off to a flying start.

Quote from: Arjunaz78 on Sat 10/09/2011 19:27:16
sorry...i'm new here...

how you import the character in .png format?becauseyou need .chr & .cha format to make a character to be import?how to change it to .chr & .cha format?

All I do is draw my art using whatever program, save it using a PNG format and import them into AGS.
Title: Re: How to make a character for AGS
Post by: steptoe on Sun 11/09/2011 04:18:26
When you import ready-made characters into AGS they are in chr / cha format.

These formats hold character information such as views of the character etc.

If making a new character you have to make a character with views with a paint program first and png is a great format to save them as. Simply import into AGS.

Once you have done this you may then save them as a single cha /chr file for future use.



Title: Re: How to make a character for AGS
Post by: monkey0506 on Sun 11/09/2011 04:55:51
To be clear, PNG images are imported into AGS as Sprites, which can then be assigned into a View, which can then be used by a Character.

All of this is explained in the Beginner's FAQ, which is actually one of the rules to read before posting.