Tell me, which is good for a "close my eyes" effect?

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
curry nochi rice
Miko-Class Veteran
Posts: 746
Joined: Sat Mar 27, 2010 3:12 am
Projects: Delicatessen, Whom to Notice, Start of Something, Love Sorcery
Organization: Circle Cosine
IRC Nick: Curry
Skype: after.curry.rice
itch: project-rothera
Contact:

Tell me, which is good for a "close my eyes" effect?

#1 Post by curry nochi rice »

I was wondering if someone could distinguish between dissolve and fade to stimulate a character closing his eyes (black) and opening it again (scene)

which in your own opinion works best for this one?
Personal (R-13) | Now at IndieDB | Circle Cosine's itch.io
I wanna be done.

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

Re: Tell me, which is good for a "close my eyes" effect?

#2 Post by Aleema »

... a fade is less to type? Both transitions are the same in what they do, but a fade codes the black for you. Or am I missing something? I think I'm missing something. >_>

I had an idea when trying to go for the eye closing effect to get the top and bottom part of the screen to close to black, but it never worked out/looked any good. Sorry.

IceD
Veteran
Posts: 433
Joined: Sun Feb 01, 2009 6:15 pm
Contact:

Re: Tell me, which is good for a "close my eyes" effect?

#3 Post by IceD »

Normal dissolve is the best if we're talking about two sprites changing one over another, unless you're going to add some additional effects. I don't know what exactly do you have in mind, though ^^

Other than that, wouldn't it be better to have them blink their eyes in realtime (http://www.renpy.org/wiki/renpy/doc/coo ... d_Lip_Flap)? It's quite simple to implement and looks much better, if you're going for fancy effects/more realism in your game.

User avatar
curry nochi rice
Miko-Class Veteran
Posts: 746
Joined: Sat Mar 27, 2010 3:12 am
Projects: Delicatessen, Whom to Notice, Start of Something, Love Sorcery
Organization: Circle Cosine
IRC Nick: Curry
Skype: after.curry.rice
itch: project-rothera
Contact:

Re: Tell me, which is good for a "close my eyes" effect?

#4 Post by curry nochi rice »

so they are the same....?

currently, I'm using "fade" for the player's close eye effect....
and "fade"... i didn't use it yet with sprites...but normally, you use "dissolve" most of the time right?
Personal (R-13) | Now at IndieDB | Circle Cosine's itch.io
I wanna be done.

IceD
Veteran
Posts: 433
Joined: Sun Feb 01, 2009 6:15 pm
Contact:

Re: Tell me, which is good for a "close my eyes" effect?

#5 Post by IceD »

Fade goes from and to black, while dissolve changes display smoothly from one graphic into another. I'd rather use dissolve, because fade is only good with certain effects.

User avatar
PyTom
Ren'Py Creator
Posts: 16097
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: Tell me, which is good for a "close my eyes" effect?

#6 Post by PyTom »

Assuming you're talking about the POV character opening and closing his eyes - why not consider using an ImageDissolve? With the right image, you could have the top and the bottom dissolve to black first, and then the center - simulating an eye-close. Reverse that, and the center will become visible first, then the top and bottom - simulating an eye open.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

User avatar
Snowflower
Bishie Fangirl
Posts: 814
Joined: Sat Jan 01, 2011 11:24 pm
Completed: Idol Crush
Projects: Shugojin!, RockRobin (openmodewriter), your highness
Soundcloud: jenna-yeon
Location: Orange County, CA
Contact:

Re: Tell me, which is good for a "close my eyes" effect?

#7 Post by Snowflower »

PyTom wrote:Assuming you're talking about the POV character opening and closing his eyes - why not consider using an ImageDissolve? With the right image, you could have the top and the bottom dissolve to black first, and then the center - simulating an eye-close. Reverse that, and the center will become visible first, then the top and bottom - simulating an eye open.
Eh?
I looked at the tutorial game, hoping that would be on there.
However, no such luck finding the right effect.
Do you mind explaining here how that's done?
Image
Completed: Idol Crush | WIP: your highness | Hiatus: Shugojin!| Follow Me on Twitter | Subscribe to YouTube
your highness @ 102k as of 2/13

Megaman Z
Miko-Class Veteran
Posts: 829
Joined: Sun Feb 20, 2005 8:45 pm
Projects: NaNoRenO 2016, Ren'Py tutorial series
Location: USA
Contact:

Re: Tell me, which is good for a "close my eyes" effect?

#8 Post by Megaman Z »

An imagedissolve uses an image to control the transition from one scene to another (in your scenario, from wherever you're at to a scene that's entirely black). It requires a grayscale image (I think - never tried it with a color image) which determines which pixels fade when.

A vertical gradient with the black in the center and white at the top and bottom edges is probably what you'd want as far as an image, and it's fairly easy to do in Gimp/Paint.NET/etc.
~Kitsune Zeta

User avatar
Snowflower
Bishie Fangirl
Posts: 814
Joined: Sat Jan 01, 2011 11:24 pm
Completed: Idol Crush
Projects: Shugojin!, RockRobin (openmodewriter), your highness
Soundcloud: jenna-yeon
Location: Orange County, CA
Contact:

Re: Tell me, which is good for a "close my eyes" effect?

#9 Post by Snowflower »

But in the tutorial's imagedissolve, all the effects are done to a color image...
Image
Completed: Idol Crush | WIP: your highness | Hiatus: Shugojin!| Follow Me on Twitter | Subscribe to YouTube
your highness @ 102k as of 2/13

User avatar
PyTom
Ren'Py Creator
Posts: 16097
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: Tell me, which is good for a "close my eyes" effect?

#10 Post by PyTom »

An imagedissolve use a black and white image (really, the red channel of an image) to dissolve between two displayables. So while the end result is in color, a black and white image is used to control it.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

Post Reply

Who is online

Users browsing this forum: Bing [Bot]