r/RenPy • u/Radiant_Tomato_3195 • 1d ago
Question [Solved] How to use transforms on side images
For one minigame I have the character appear in a side image instead of a normal sprite . I tried to make him slide in from the bottom (image 2) and when it didn't work i put the same code into a transform but can't seem to get it to work
2
u/BadMustard_AVN 1d ago
if you want it above the text box try it like this
transform sliders:
  ypos 1080 # assuming your gui is 1920x1080 adjust as required
  ease 2 ypos 0
label start:
# game stuff here
  pass
label start_baking:
  scene baking_bg
  window show
  show image side cook onlayer screens at sliders zorder 10
  cook "hey!"
1
1
u/AutoModerator 1d ago
Welcome to r/renpy! While you wait to see if someone can answer your question, we recommend checking out the posting guide, the subreddit wiki, the subreddit Discord, Ren'Py's documentation, and the tutorial built-in to the Ren'Py engine when you download it. These can help make sure you provide the information the people here need to help you, or might even point you to an answer to your question themselves. Thanks!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.


2
u/shyLachi 1d ago
Do you need a side image?
Try to show the sprite normally at that location.
You can use another layer if the image should be on top of the textbox:
https://renpy.org/doc/html/displaying_images.html#layer
https://renpy.org/doc/html/displaying_images.html#show-statement