Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

You can certainly use it to recolour any number of images, but at minimum you're going to need to show every image you want to recolour at a transform. This is how any recolouring will work unless you're using dynamic image paths and have multiple physical files in different recolours. There isn't an easy "recolour all images with this prefix" solution for in-game recolouring I'm afraid. If you declare an RGBColorize object though, you can use the transform like

define ui1 = RGBColorize(...)
define ui2 = RGBColorize(...) 
default persistent.ui = 1
init python:
    def color_ui():
        if persistent.ui == 1:
            return ui1.transform
        else:
            return ui2.transform

And then you could show your buttons etc with `at color_ui()`

Good to know, thank you!