Rotating sprite in Photoshop leaves transparent pixels

Started by JackAnimated, Mon 16/12/2013 22:03:34

Previous topic - Next topic

JackAnimated

Although, I do have a question. Should the alpha detecting in AGS display half transparent pixels as half transparent, because at the momment it displays them as opaque, only displaying the fully transparent ones as transparent?

Khris

Yes, no, something's wrong.
IIRC a GUI has to use an alpha PNG as background, too for them to work on buttons.

Did you get it to work on objects?

JackAnimated

Its the same when an object. Only the fully transparent pixels are transparent in AGS. The semi-transparent ones are opaque.

JackAnimated

My latest attempt. I've found that it is saving out of photoshop without semi-transparent becuse I have the said layer set to darken blending layer. So if I manually paint the semi-transparent pixels (this is a pain) it will import like that as an object. Not for the Gui though.

Snarky

Turning some of the Photoshop layer effects/weird blend modes into plain rgba pixel data can be a pain. What sometimes works is to create another empty layer (set to regular blend) below the one that has the effect and merging them together. You could also try turning the layer into a smart object. Depending on the effect, however, either of these methods might change how it looks. In any case, you should merge your Photoshop file together into one layer (but not flattened if you want to preserve transparency) before saving as png in order to be sure that it looks the same when exported as it does in Photoshop. (Of course, make sure you don't save the PSD file in this state, or you lose all your layer information.)

For transparent shadows, I find that the best thing is to create a layer filled entirely with your shadow color (e.g. black), and give it a layer mask that you fill entirely with black (so it disappears). Then you can paint in the shadows on the mask with white, or if you've already created them in some other way that ended up not working with transparency, you can simply paste that image into the mask. Finally you can adjust the opacity of this layer to give you more or less opaque shadows.

With Photoshop there's almost always a way to do what you want, but you often have to know the application pretty well to find it.

SMF spam blocked by CleanTalk