How would I pan an image from right to left? [Solved]
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.
How would I pan an image from right to left? [Solved]
Please forgive me if its a dumb question, but I was wondering how I would be able to pan the image from...and I was wondering if I go by the white guidelines as a crop guide would it look alright or would I need to make it wider? I'm very new to ren'py and I didn't quite get where the code was supposed to go to do that
- Attachments
-
- Captured.PNG
- (7.21 KiB) Not downloaded yet
Last edited by Reyes16 on Tue Apr 25, 2017 7:51 am, edited 1 time in total.
- IrinaLazareva
- Veteran
- Posts: 399
- Joined: Wed Jun 08, 2016 1:49 pm
- Projects: Legacy
- Organization: SunShI
- Location: St.Petersburg, Russia
- Contact:
Re: How would I pan an image from right to left?
here example with 1870X768 image for resolution 1024x768
Read this https://www.renpy.org/doc/html/atl.html
https://www.renpy.org/doc/html/transforms.html
Code: Select all
image testimg = "image.png"
transform dimeh:
xpos -846 # initial position: (1870 - 1024 = 846)
2 # 2 seconds pause (optional)
linear 20 xpos 0 #go to end position with 20 seconds delay
label start:
scene testimg at dimeh
"look to the left"
https://www.renpy.org/doc/html/transforms.html
Re: How would I pan an image from right to left?
Thank you so much! This helped me greatly!!
I appreciate your help )
I appreciate your help )
Who is online
Users browsing this forum: Bing [Bot], Google [Bot]