How to play text and image effect at the same time?
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.
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.
-
- Newbie
- Posts: 7
- Joined: Wed Aug 08, 2007 11:13 am
- Contact:
How to play text and image effect at the same time?
I'm porting Narcussu to Ren'Py but I can't find any substitute command in Ren'Py for erasetextwindow in ONScripter.
http://nscripter.insani.org/reference/m ... window.htm
Well, Sorry about my bad English again, Hope you understand what I'm try to say.
http://nscripter.insani.org/reference/m ... window.htm
Well, Sorry about my bad English again, Hope you understand what I'm try to say.
- 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: How to play text and image effect at the same time?
Can you describe what you're trying to accomplish? I think you can do it by setting _window_during_transitions to True (or False, depending), but I'm not 100% sure what you want.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
-
- Newbie
- Posts: 7
- Joined: Wed Aug 08, 2007 11:13 am
- Contact:
Re: How to play text and image effect at the same time?
The thing is I'm trying to play text narration and image transition at the same time.
Re: How to play text and image effect at the same time?
I think it's just like what I asked at some point : have the text window remain at all times, even if other things are changed (show, hide, transitions...)
- 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: How to play text and image effect at the same time?
So that's done by
Code: Select all
$ _window_during_transitions = True
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
-
- Veteran
- Posts: 373
- Joined: Tue Jul 10, 2007 2:54 am
- Projects: Starlight Ep0, Ep1
- Location: San Fransisco
- Contact:
Re: How to play text and image effect at the same time?
Nifty...
But the text still dissapears, only the text window stays in place.
I'd like a way to do a shake transition, like an hpunch, while keeping the text and window up, possibly even shaking the text filled window along with the scene. Any chance of that being possible?
But the text still dissapears, only the text window stays in place.
I'd like a way to do a shake transition, like an hpunch, while keeping the text and window up, possibly even shaking the text filled window along with the scene. Any chance of that being possible?
- 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: How to play text and image effect at the same time?
Yeah, you can write:
"She hit me hard!" with hpunch
"She hit me hard!" with hpunch
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
-
- Newbie
- Posts: 7
- Joined: Wed Aug 08, 2007 11:13 am
- Contact:
Re: How to play text and image effect at the same time?
Can I change multiple background image along with text narrartion?
In above example, "sometext" is display first and we need a click to advance to the image sequence
I want to get rid of that click and let the text narration and image sequence run at the same time.
Code: Select all
n "sometext"
scene img_e_c001a with dissolve
scene img_e_c001b with dissolve
scene img_e_c001 with dissolve
scene img_e_c002 with dissolve
scene img_e_c003 with dissolve
$renpy.pause(0.7)
scene img_e_c004 with dissolve
$renpy.pause(1.0)
I want to get rid of that click and let the text narration and image sequence run at the same time.
- 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: How to play text and image effect at the same time?
What you want to do is to create an anim.TransitionAnimation, and show that.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
Re: How to play text and image effect at the same time?
Oops... I forgot there *was* a way to keep the window ^^;... At some point I imagined having the window displayed in the overlay function (maybe it could give more control as to when it's shown).
As for the last question, maybe using interact=false with the say function could also work? *ponders*
As for the last question, maybe using interact=false with the say function could also work? *ponders*
-
- Newbie
- Posts: 7
- Joined: Wed Aug 08, 2007 11:13 am
- Contact:
Re: How to play text and image effect at the same time?
I'll try that. Thank you.PyTom wrote:What you want to do is to create an anim.TransitionAnimation, and show that.
edit: And that's worked. Thanks a lot.
Who is online
Users browsing this forum: Semrush [Bot]