Page 1 of 1

I have a question...how do add a tint on a live composite

Posted: Tue Jan 09, 2018 3:42 pm
by BurningTamashi
Trying to add a tint on a live composite. In order to make the sprite have the same lighting as the background. but it keeps tell me "IOError: Couldn't find file 'sherly big confused'."

Code: Select all

    image sherly big confused = LiveComposite(
        (881, 1875),
        (0, 0), "images/characters/SHERLY-SPRITES/BIG_SHERLY/SHERLY_CASUAL_BASE_POSE1.png",
        (0, 0), "sherly big eyes 2",
        (0, 0), "images/characters/SHERLY-SPRITES/BIG_SHERLY/SHERLY_BROW_5.png",
        (0, 0), WhileSpeaking("Sherly", "sherly big mouth 2", "images/characters/SHERLY-SPRITES/BIG_SHERLY/SHERLY_MOUTH_02.png"),
        )
    
    image sherly sunset big confused = im.MatrixColor("sherly big confused", im.matrix.tint(0.9, 0.5, 0.5))
    

Re: I have a question...how do add a tint on a live composite

Posted: Thu Jan 11, 2018 3:30 am
by philat
You can't. Image manipulators only take images, not general displayables. Possible workaround: viewtopic.php?p=442479