stumped

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
User avatar
deliciumartis
Regular
Posts: 30
Joined: Mon Feb 09, 2015 11:32 am
Location: shadowland
Contact:

stumped

#1 Post by deliciumartis » Tue Feb 10, 2015 11:08 am

I can't find anything in the documentation for this, so I'm asking.
Is there a way, in renpy, to take a colorcoded image and change a color to only apply to that color.
For instance, having an image with rgb channels and changing the color of only the red, or the green, or the blue, or something similar along those lines?
"What bothers me is, nothin' does."
--The dixie flatline

Pyro
Newbie
Posts: 22
Joined: Tue Feb 03, 2015 6:56 am
Tumblr: daily-dragon
Contact:

Re: stumped

#2 Post by Pyro » Tue Feb 10, 2015 11:29 am

It sounds like somewhat of an advanced operation to be available out of the box.

I can only really suggest two things
1) Make versions of all the coloured copies you need and use the emotion thing maybe to call the required colour.
or
2) Get a hold of a graphics manipulation library for python and do your manipulation through that before passing it on to Ren'py

User avatar
xavimat
Eileen-Class Veteran
Posts: 1458
Joined: Sat Feb 25, 2012 8:45 pm
Completed: Yeshua, Jesus Life, Cops&Robbers
Projects: Fear&Love, unknown
Organization: Pilgrim Creations
Github: xavi-mat
itch: pilgrimcreations
Location: Spain
Contact:

Re: stumped

#3 Post by xavimat » Tue Feb 10, 2015 12:30 pm

I'm not familiar with this but maybe im.matrix can do what you need: http://renpy.org/doc/html/displayables.html#im.matrix
perhaps im.matrix.tint?
Comunidad Ren'Py en español: ¡Únete a nuestro Discord!
Rhaier Kingdom A Ren'Py Multiplayer Adventure Visual Novel.
Cops&Robbers A two-player experiment | Fear&Love Why can't we say I love you?
Honest Critique (Avatar made with Chibi Maker by ~gen8)

User avatar
deliciumartis
Regular
Posts: 30
Joined: Mon Feb 09, 2015 11:32 am
Location: shadowland
Contact:

Re: stumped

#4 Post by deliciumartis » Tue Feb 10, 2015 12:46 pm

This has potential. I'm going to play around with it see if I can get it to work the way I need to.
"What bothers me is, nothin' does."
--The dixie flatline

User avatar
SundownKid
Lemma-Class Veteran
Posts: 2299
Joined: Mon Feb 06, 2012 9:50 pm
Completed: Icebound, Selenon Rising Ep. 1-2
Projects: Selenon Rising Ep. 3-4
Organization: Fastermind Games
Deviantart: sundownkid
Location: NYC
Contact:

Re: stumped

#5 Post by SundownKid » Tue Feb 10, 2015 4:32 pm

I tried to do something like this: http://lemmasoft.renai.us/forums/viewto ... =8&t=29410

The solution they gave worked, though it wasn't R/G/B but C/Y/M.

Post Reply

Who is online

Users browsing this forum: _ticlock_