Tint the screen without im.matrix.tint?
Posted: Tue Mar 18, 2014 8:18 pm
Hello
I came to a small problem here.
Pretty much all backgrounds in my game are image maps and most maps have a light switch.
I would love to have the player be able to switch the light on and off by clicking on the switch.
I tried putting a transparent blue layer on it, but since it seems to be impossible to somehow make a layer in Ren'Py additional or multiply (like Photoshop), it looks just greyish and dull.
Tinting the backgrounds by hand or im.matrix.tint also seems impossible, because I am already at 25 background images now and I only have finished four rooms (of presumably 21). It would increase the size of the graphics folder OR it would probably slow down the engine that needs to make a dark copy of all the images.
So my question would be, if there is maybe a command that would put tint over the whole screen (figures, background, etc).
No idea, something like $ color = darkblue or show tint on multiply or whatever.
If it would be one command that only needs to be put at the end of the light switch hotspot commands would make it so much easier.
But going through the Ren'Py cookbook, Tutorial and so on didn't help me.
I found out about user_layer, but not about how to actual do something with it. I found the im.matrix.tint, but - like I said - that would be extreme to tint hundred pictures by it (not to mention that it will surely eat my nerves to put every single image into that code).
Thanks in advance!
I came to a small problem here.
Pretty much all backgrounds in my game are image maps and most maps have a light switch.
I would love to have the player be able to switch the light on and off by clicking on the switch.
I tried putting a transparent blue layer on it, but since it seems to be impossible to somehow make a layer in Ren'Py additional or multiply (like Photoshop), it looks just greyish and dull.
Tinting the backgrounds by hand or im.matrix.tint also seems impossible, because I am already at 25 background images now and I only have finished four rooms (of presumably 21). It would increase the size of the graphics folder OR it would probably slow down the engine that needs to make a dark copy of all the images.
So my question would be, if there is maybe a command that would put tint over the whole screen (figures, background, etc).
No idea, something like $ color = darkblue or show tint on multiply or whatever.
If it would be one command that only needs to be put at the end of the light switch hotspot commands would make it so much easier.
But going through the Ren'Py cookbook, Tutorial and so on didn't help me.
I found out about user_layer, but not about how to actual do something with it. I found the im.matrix.tint, but - like I said - that would be extreme to tint hundred pictures by it (not to mention that it will surely eat my nerves to put every single image into that code).
Thanks in advance!