importing a new player character

Started by pandabearlove, Tue 15/01/2008 20:27:07

Previous topic - Next topic

pandabearlove

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...

Ghost

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  ;)

pandabearlove

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...?

Ghost

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.

pandabearlove

I must have missed that part
Thanks :)

SMF spam blocked by CleanTalk