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.

[RESOLVED] PNG & Transparent color

And now feedling with the RMVX autotiles...

As I am trying to use custom autotiles in RMVX, using some free & easy-to-use tools (Paint, PhotoFiltre), I encouter the following problem: every time I open a .PNG file, its transparent color is replaced with a king of white. 'till then, I may not really a problem, because you always can declare this white-color to be the transparent colorwhen imprting image in the Ressource Manager. Just..... this same color is used as real-colors by some autotiles in the file, like coastal borders in TileA1, snow fields in TileA2, etc..., and therfore some part of thesz tiles also become transparent.

How could I manage this annoying phenomena, and whit what (free & easy-to-use) tool ?
 
Not THAT user-friendly, but at last, this is a workable solution.

Thanks.

And if someone has a good explanation on the what-and-how of the PNG files and their transparent colore, please tell us. Perhaps this may help on using our prefered image editors.
 
Some image editors (e.g. Pre-Vista / Win 7 MS-Paint, et.al.) do not support transparency. they replace fully transparent pixels with the current background color, or an arbitrary white, black, or green when you open an image. Get a better image editor (Gimp, PS, PSP, Graphics Gale, ...) or Flood fill the white background with a color that's not used in your image & use the import transparency in RM.
 
Brewmeister":227ns5ad said:
Some image editors (e.g. Pre-Vista / Win 7 MS-Paint, et.al.) do not support transparency. they replace fully transparent pixels with the current background color, or an arbitrary white, black, or green when you open an image. Get a better image editor (Gimp, PS, PSP, Graphics Gale, ...) or Flood fill the white background with a color that's not used in your image & use the import transparency in RM.

That last solution isn't nearly as pretty, though. I say that because, when you import a PNG with transparency, RMXP uses the full range of transparency, as opposed to the transparent/opaque offered by the import function.
 
As someone asked for a PNG reference, there's one written by me a few years ago that you can find here. It doesn't hold everything there is to know (man, by know I would've filled pages with my PNG knowledge probably XD ), but it should give you starting ideas... I just edited out a few minor things that were a tad wrong or less clear than they should be. ^^
 

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