HowToAddCreaturesStendhal: Difference between revisions
Content deleted Content added
imported>Oslsachem m →Add GFX |
imported>Kymara →Add GFX: explained how to make clear background |
||
Line 72:
Most RPGMaker 2000 sprites works for stendhal. But they are in 24x32 size.
We need to scale it using scale2x to get the best quality possible to 48x64.
Either use [http://scale2x.sourceforge.net/ scale2x] or send us the original sprite and we will scale it.
Once you have scale2x, the command to type is ''scalex -k 2 old.png new.png''
If the images have a coloured background like those from Charas, it needs to be made transparent. Here's how to do that in [http://www.gimp.org/ GIMP]:
* Open your png
* Convert it to RGB mode with Image -> Mode -> RGB
* Select the coloured background (green from Charas) By doing Select -> by colour and clicking on the green bit. make sure the 'threshold' is set to 0 which means it will only select exactly that green colour. that's on the gimp menu.
* remove the green background by pressing Ctrl-x (or Edit-> Cut)
* again do select by colour on the white background
* Now make it transparent with 'Layer -> Transparency -> Colour to Alpha' and click 'OK'
* Save your changes
That's it. Now, you might see that if there was any pure white on the monster itself, like on their eyes, they'll now be transparent. You'll need to paint them on white, using the pencil tool with a one pixel brush and the colour white. Then save again.
You can change the background to clear before you change the scale or send it to someone to change it. The order doesn't matter.
Now place the sprite in the folder '''data/sprites/monsters/<class>/<subclass>.png'''
| |||