Grid Sage Forums

Grid Sage Forums

  • April 27, 2024, 11:21:31 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

LINKS: Website | Steam | Wiki

Author Topic: Change all occurrences of a color  (Read 1351 times)

Eagoth

  • Unaware
  • *
  • Posts: 6
    • View Profile
    • La Motosierra de Ockham
Change all occurrences of a color
« on: November 13, 2019, 02:20:54 PM »

Hi, guys.

This should be easy, but I don't find how to do it. I want to change all glyphs of an image of the same color to another color (let's say, turn every red glyph to blue). Kind of what Fill does, but without the need of them being connected.

The manual says something about Color Shifting, but it's not the same.

Thanks!
Logged

Kyzrati

  • Administrator
  • True Cogmind
  • *****
  • Posts: 4315
    • View Profile
    • Cogmind
Re: Change all occurrences of a color
« Reply #1 on: November 13, 2019, 06:34:43 PM »

Hey Eagoth, what you're looking for is in the section prior to Color Shifting, "Palette Swapping." It's a subfeature of that, since both colors you want to swap must be in the current palette (you can temporarily put them there if they're not in there already).

From the manual:
Quote
To swap all instances of a single color throughout an image (foreground and background, all layers) with another in the same palette, Shift-LMB on the first color and then Shift-LMB on the color you want to change it to.
Logged
Josh Ge, Developer - Dev Blog | @GridSageGames | Patreon