help with custom object graphics

Started by undercover_monkey, Thu 22/01/2004 02:06:57

Previous topic - Next topic

undercover_monkey

It's kind of a stupid question, but how do you use something you drew in paint to be the picture for an object?

Darth Mandarb

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[

Akumayo

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
"Power is not a means - it is an end."

undercover_monkey

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?

Darth Mandarb

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[

SMF spam blocked by CleanTalk