Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: pandabearlove on Tue 15/01/2008 20:27:07

Title: importing a new player character
Post by: pandabearlove on Tue 15/01/2008 20:27:07
how do I import a new player character to replace the one that comes with the default game?
I drew one in paint and saved it as a bmp...
Title: Re: importing a new player character
Post by: on Tue 15/01/2008 21:00:38
You cannot import bitmaps (or any other type of image file) as characters, because bitmaps (and any other type of image file) are only, well, images to be used in VIEWS.

Characters can be saved as .cha files, and you can import such a file to add a character to your game. The AGS resource pages have a few, I believe. But where is the fun in that, having someone else's character run around in your game world?

But you can easily set up and create your own new char if you already drew pictures.
* import the images
* put them into a view
* make a new character
* give him the newly made view
* presto!

BTW.: This is all covered in the manual  ;)
Title: Re: importing a new player character
Post by: pandabearlove on Tue 15/01/2008 22:11:55
okay I did it
but for some reason AGS interprets the white parts of my charcater as transparent
and I can see through the character...?
Title: Re: importing a new player character
Post by: on Tue 15/01/2008 22:24:26
Manual again, but:
When you import a sprite you are allowed to select a transparent colour (because otherwise you would always have a rectangular solid image)- by default that is the top-left colour of the image. For best results, draw your character on a background colour that is NOT used anywhere in the character image.
Title: Re: importing a new player character
Post by: pandabearlove on Sat 19/01/2008 22:39:28
I must have missed that part
Thanks :)