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.
I've looked through some other topics, but none seem to answer my question. My code isn't complicated, but I don't want the scene to retransition when I add a new image.
# Set the background to space
scene bg space with fade
# Display spaceship info
"In the cold darkness of space, Captain [player_name]'s ship, the [ship_name], hurtled through the cosmos"
# Display spaceship hurtling through space
show spaceship at center with fade
"In an instant of cosmic karma, their will was about to be tested."
and this is what happens.
I just want the spaceship to fade in on top of the background, and not have the background fade in again. Is there any way to do this?
Last edited by murosakiiro on Sat Nov 25, 2023 9:58 pm, edited 1 time in total.
Fade is by definition — screen to black, then to new scene.
If you do not want whole screen turning black, use another transition. dissolve looks like it would be most fitting there.
okay, i didn't know that.
I also have the same issue with moveinleft and moveinright. would I just need to write my own transition to stop that from happening?
murosakiiro wrote: ↑Sat Nov 25, 2023 5:27 am
I also have the same issue with moveinleft and moveinright.
Those are specifically designed to move / transition a whole "scene" (meaning all images on the layer), yes. You just need simple transforms to pull in some characters.
Ocelot wrote: ↑Sat Nov 25, 2023 6:22 am
What issue do you have and what is the code of scene? Movein* transitions should move only new images onto screen.
it's not quite the same issue, but it still redraws the background, when I just want the new image to appear over it.
here's the code for the cutscene:
label Cut5:
show VasDroid at right
va "That-"
va "That's not possible, Babe."
va "Nothing that strong can come through unless-"
show SanBat at left
sn "The Gate is weakening again."
sn "Good, I've missed a real fight."
hide SanBat
va "Sanavi!"
$ Location = Local3
jump TutBoss
murosakiiro wrote: ↑Sat Nov 25, 2023 5:27 am
I also have the same issue with moveinleft and moveinright.
Those are specifically designed to move / transition a whole "scene" (meaning all images on the layer), yes. You just need simple transforms to pull in some characters.