Screen filters in Ren'Py?

In this forum we discuss the future of Ren'Py, both bug fixes and longer-term development. Pre-releases are announced and discussed here.
Post Reply
Message
Author
User avatar
Greeny
Miko-Class Veteran
Posts: 921
Joined: Sun Dec 20, 2009 10:15 am
Completed: The Loop, The Madness
Projects: In Orbit, TBA
Organization: Gliese Productions
Location: Cantankerous Castle
Contact:

Screen filters in Ren'Py?

#1 Post by Greeny » Wed Jul 06, 2011 9:29 am

So, I was thinking about screen filters. You know, those things where your entire screen goes black-and-white or such.
Is there already a way to do this in Ren'Py, aside from applying the desired filter to every individual image?
And, if not, would it be worthwhile to implement this feature in a future release?
In Orbit [WIP] | Gliese is now doing weekly erratic VN reviews! The latest: Halloween Otome!
Gliese Productions | Facebook | Twitter
Image

User avatar
Aleema
Lemma-Class Veteran
Posts: 2677
Joined: Fri May 23, 2008 2:11 pm
Organization: happyB
Tumblr: happybackwards
Contact:

Re: Screen filters in Ren'Py?

#2 Post by Aleema » Wed Jul 06, 2011 4:10 pm

You can make a transparent full-screen image of a solid color, and then show it. Like, a dark purple slide that's transparent might make everything look like night.

User avatar
Greeny
Miko-Class Veteran
Posts: 921
Joined: Sun Dec 20, 2009 10:15 am
Completed: The Loop, The Madness
Projects: In Orbit, TBA
Organization: Gliese Productions
Location: Cantankerous Castle
Contact:

Re: Screen filters in Ren'Py?

#3 Post by Greeny » Thu Jul 07, 2011 5:32 am

You can't show it over your menus and textboxes, I believe (not sure). Would work, but it's not very elegant. Also, this provides no method for b/w. More than overlays this would be useful for filters that affect the image itself.

I don't think it would be too hard to implement as a new feature, and I think it would be worthwhile to implement a synthax for this, but that's what I'm putting up for discussion maybe something like:

Code: Select all

scene bg cheeseland with dissolve with black_and_white
That would make the filter affect the whole screen until the next scene statement.
or

Code: Select all

filter bloom
scene bg heaven with fade
"St. Peter" "Get outta here!"
filter none
scene bg hell with fade
Which would control some sort of internal filter class.
Something like that.
In Orbit [WIP] | Gliese is now doing weekly erratic VN reviews! The latest: Halloween Otome!
Gliese Productions | Facebook | Twitter
Image

User avatar
PyTom
Ren'Py Creator
Posts: 15893
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Screen filters in Ren'Py?

#4 Post by PyTom » Thu Jul 07, 2011 10:21 am

Allow color modification is a direction that I'd like to take Ren'Py in, but there are some issues with it - it pretty much requires a shader-based video card to get good performance at this. (So a card that supports OpenGL 2.)

It's one of those things where the situation improves the more one waits, as obsolete video cards are eventually replaced.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

Post Reply

Who is online

Users browsing this forum: No registered users