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.

Where do I change to default colors (1-7)? I cant find the script that has it

Yeah, There is no black defualt that i see, so I need to know where the default colors for text are in the standard scripts, i forgot where they are, so i can change one of them to black.
 

poccil

Sponsor

In the default scripts for RPG Maker XP, the colors are found in the script Window_Base (the "text_color"  method).

RPG Maker VX's scripts derive the color from the windowskin itself (Graphics/System/Window.png; check the Resource Manager).  Window colors are placed on the lower right corner of the windowskin.
 

khmp

Sponsor

WildCard":12r012ia said:
Wait, what color is black? I tried 0,0,0,0 and 0,0,0,255, and they are both grey, is something wrong?

The last parameter is opacity. Setting it to 0 means you shouldn't see anything. Color.new(0, 0, 0, 255) will give you black with full opacity. However if the opacity is going to be 255 you can omit the last parameter. Which means you can get away with just saying Color.new(0, 0, 0). The only reason it would come out gray is if a different color were being used.
 

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