Forum

> > CS2D > Mods > White outline for Transparency Alpha skin
Forums overviewCS2D overview Mods overviewLog in to reply

English White outline for Transparency Alpha skin

7 replies
To the start Previous 1 Next To the start

old White outline for Transparency Alpha skin

Skyframe
User Off Offline

Quote
I have some problems with transparency alpha in my cs2d skinning project. This is how it happens:

I made a drop skin for XXX skin. But in game, when the image rotated, the outline of the skin has a bit of whitish. When I rotate it in Paint.Net with a in game background, it seems fine. What should I do to conquer this problem?

old Re: White outline for Transparency Alpha skin

Pagyra
User Off Offline

Quote
All skins images should be oriented upwards.

In order to avoid white edges, you can go two ways:
1st - fill background for your skin with black color with transparency -99%
2nd - or make outline around of your skin with black color edging with transparency -99%

Also, between your skin image and edge of image should be a small distance of at least 1 pixel.

For example, my skins of Tactical Shield from file cs2d CSO Buymenu images (3D&Flat Style)
IMG:https://s48.radikal.ru/i119/1603/7b/5905b090ad73.png
IMG:https://s017.radikal.ru/i401/1603/35/14d5f1872892.png

Standart edition - IMG:https://s61.radikal.ru/i174/1603/18/a0d2c1b67fab.png
IMG:https://s48.radikal.ru/i119/1603/81/bf7af9566d8e.png

Enegy shield - IMG:https://s002.radikal.ru/i198/1603/aa/a9f51907249e.png
IMG:https://s018.radikal.ru/i523/1603/89/0f67674a0ce0.png
edited 1×, last 26.03.16 12:11:21 pm

old Re: White outline for Transparency Alpha skin

J192
User Off Offline

Quote
In Paint.NET, set the current color to transparent black (0 Red, 0 Blue, 0 Green, and 0 Opacity).
Then click the Erlenmeyer flask icon at the top and switch from "Normal Blending" to "Overwrite".
Next, use the bucket tool to fill up the background, just spam clicks at the background.
Make sure the image is flatenned (single layer), BTW.
To the start Previous 1 Next To the start
Log in to reply Mods overviewCS2D overviewForums overview