Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Setting Tranparency problem

Is there a way to change it in the editor, because when i try to import a certain resource it wont let me change the Transparency, and I don't know how to fix it, its a png.
 
If your png file has an 'alpha' channel (transparency), the game will not ask you to select a color to map to transparent. You either need to erase that color from your image, save it without an alpha channel, or save it as a .gif or .bmp then save it again as a .png (this should remove the alpha channel). DON'T save it as a .jpg, the colors get messed up.

Be Well
 
I am using GIMP, is there any way i can set it in the editor program myself, as a semi transparent, so rmxp will recognize it as such, because the object IS semitransparent, but rmxp doesn't recognize it as such.
 
In GIMP, to erase the background:
Make sure you have an alpha channel (Layer -> Transparency -> Add Alpha Channel)
Then, erase the background. (Select regions by Color, Control-K)

To make your image semi-transparent:
Pick the Eraser tool.
Set the Opacity to less than 100% (you'll have to experiment)
"Semi-erase" your image. Hold down the mouse button, and it won't over erase.

You can also do this with a layer mask. but it's a little trickier.

Be Well
 

sanche

Member

Brewmeister;318370 said:
If your png file has an 'alpha' channel (transparency), the game will not ask you to select a color to map to transparent. You either need to erase that color from your image, save it without an alpha channel, or save it as a .gif or .bmp then save it again as a .png (this should remove the alpha channel). DON'T save it as a .jpg, the colors get messed up.

Be Well

What do you mean alpha channel? how do i erase the color when it's white?
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top