How do I make white sprite area clear

Get help using Construct 2

Post » Wed Oct 07, 2015 5:08 am

Hello;

I have some images I want to use as sprites, but they are not png files with clear backgrounds. They have solid pink or solid white backgrounds where I want them to be clear. How can I load these into sprites and turn the background transparent?

thanks for your time.
yours
winkr7
B
34
S
8
G
3
Posts: 169
Reputation: 3,305

Post » Wed Oct 07, 2015 6:30 am

Open it in an Imageeditor (Photoshop, Gimp, whatever), select the white background color (most programs have selection tools that work like the fill tool, select every pixel of the same color). After deleting the white area it should be transparent. Save the Image in .PNG or any Format that supports transparency.
Replace the Image in Construct with the new one and *BAM* transparent Background. ^^
B
20
S
7
G
2
Posts: 58
Reputation: 1,974

Post » Wed Oct 07, 2015 6:35 am

C2 image editor does allow you to fill in alpha, so if you have already imported your graphics, you could just open the graphics in the C2 editor, select the fill tool and set Alpha to 0. Click on area to set transparent.

Remember to set the Alpha back to 255 when finished.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
134
S
30
G
86
Posts: 5,418
Reputation: 59,522

Post » Wed Oct 07, 2015 11:39 am

Thankyou xxstyxx and zenox98.

I will try to fix it in the c2 editor first.

thanks lots.

yours
Winkr7
B
34
S
8
G
3
Posts: 169
Reputation: 3,305


Return to How do I....?

Who is online

Users browsing this forum: Baidu [Spider], Darknessed, FabianB and 39 guests