Jump to content

create a mask for a sprite(.bmp)?

Recommended Posts

Hi PDN fans this is my 1st post and i was wondering if this can be done in my favourite image editor...?

I need a easy way to mask a .bmp(sprite) image like this...


to this a sprite with mask...


I was just wondering is there is any plug-in to achieve this ? The reason why is im trying to make a game in Just BASIC and i would love to do all sprites in PDN.


evol <--Spell it backwards ;)

Edited by evol
Link to comment
Share on other sites

As far as creating the mask itself I think would be relatively easy. Open the image in PDN, then invert it. Since you would have an inverted smiley in the center, use the paintbucket to fill in the eyes and smile so the color will match with the circle, then with the magic wand select the outer perimeter of the circle, then grab the eraser and erase the area so it will be transparent. Then save it. I think using this method would probably be the quickest as you won't be messing around with resizing things. The center will be the same size as the smiley which is what you are probably wanting.

Also, you may wish to take a look at the plugin here:


Edited by jim100361
Link to comment
Share on other sites

if all of your bitmaps will have black backgrounds, I would use threshold, then clean up with the paintbrush or pencil. (invert colors if necessary)

No, Paint.NET is not spyware...but, installing it is an IQ test. ~BoltBait

Blend modes are like the filling in your sandwich. It's the filling that can change your experience of the sandwich. ~Ego Eram Reputo

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...