Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: on Thu 22/01/2004 02:06:57

Title: help with custom object graphics
Post by: on Thu 22/01/2004 02:06:57
It's kind of a stupid question, but how do you use something you drew in paint to be the picture for an object?
Title: Re:help with custom object graphics
Post by: Darth Mandarb on Thu 22/01/2004 02:21:25
It's not a stupid question at all!  That's why it's in the Help file that comes handily bundled with AGS :)

Got to the help file and type in "Importing your own sprite graphics".

It will explain it for you!

If you still can't get it, come back as question us further!

Good luck!

Note: - remember to save as a BMP and make sure color depths match!

])]V[
Title: Re:help with custom object graphics
Post by: Akumayo on Fri 23/01/2004 01:59:12
Draw your picture in paint, save it as a .bmp
Now go to your sprite manager and right click a white area in it. Select Import New Sprite.  A window will come up, click Import From File. Go to your picture (name).bmp and open it.  You should be taken back to the window, click Import Whole Sprite and it will appear in your Sprite Manager.

When you make your object, there should be a button that says something about changing the objects sprite.  Click that button and select the sprite you imported and the object will turn into it.

Note: In paint, if you don't want your picture to be square, there should be an extremely hot pink color in the default color box, color your background this color and it will disapear in the game, removing the "Box" effect.  (This only works if you are using paint).

Luck!!! 8) :D
Title: Re:help with custom object graphics
Post by: on Fri 23/01/2004 04:03:23
Okay, thanks everyone.  I couldn't find it in the help.  However, I have another question.  Does it matter what kind of "extremely hot pink" it is?  Or can it just be any pink?
Title: Re:help with custom object graphics
Post by: Darth Mandarb on Fri 23/01/2004 05:43:13
It can be whatever color you want it to be!

Just make sure you use that color ONLY in the spots you want transparency!  If you use it (even just 1 pixel) anywhere in your graphic it'll show up as a 'hole' in the graphic in-game!

Also, if you don't want transparency effects select (From the Transparent Colour list) 'Pallette Index 0' and that'll ignore transparency.

])]V[