Hello everyone, I'm still somewhat new to the Renpy scripter language.
I want to be able to reuse the same image and have the image be displayed at both 0 degrees of rotation and 90 degrees of rotation without the rotation animation.
Sorry if that seems like a very obvious thing on Renpy, but I haven't found out how to do that yet!
How can I display an image Pre-rotated?
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.
Re: How can I display an image Pre-rotated?
You can declare a new image which contains your original image and a transform (rotation).
You would benefit yourself by reading the renpy documentation. It's already included when you download your Renpy SDK.
Code: Select all
image eileenrotate:
"images/eileen.png"
rotate 90
My avatar is courtesy of Mellanthe
Re: How can I display an image Pre-rotated?
Ah I see. I did read the documentation but I was under the impression that rotate would cause the animation of rotating 90 deg to happen. Thanks for clearing that up for me!
Who is online
Users browsing this forum: Lucyper, Majestic-12 [Bot]