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.
-
bbs3223474
- Regular
- Posts: 33
- Joined: Thu Apr 02, 2015 12:17 am
-
Contact:
-
Keinart
- Regular
- Posts: 133
- Joined: Sun May 13, 2012 8:28 pm
- Completed: One Thousand Lies
- Projects: Lotus Reverie
- Organization: Keinart Lobre
- Tumblr: keinart
- itch: keinart
- Location: Spain
-
Contact:
#2
Post
by Keinart » Tue Jan 19, 2016 1:09 pm
You are using transitions that move sprites inside the game to different positions, while what you want to do is to move the scene. In this case is pretty easy but in some other situations it's better to use
transforms.
The easier thing would be just stating the positions with "at".
Code: Select all
scene sky
scene sky at top with move
This first line should display the scene as in your screenshot, with the bottom center of the scene aligned with the bottom center of the screen. Then the second line will use the move transition to move the scene to the top as in the screenshot from the original game.
-
bbs3223474
- Regular
- Posts: 33
- Joined: Thu Apr 02, 2015 12:17 am
-
Contact:
#3
Post
by bbs3223474 » Wed Jan 20, 2016 3:03 am
Keinart wrote:You are using transitions that move sprites inside the game to different positions, while what you want to do is to move the scene. In this case is pretty easy but in some other situations it's better to use
transforms.
The easier thing would be just stating the positions with "at".
Code: Select all
scene sky
scene sky at top with move
This first line should display the scene as in your screenshot, with the bottom center of the scene aligned with the bottom center of the screen. Then the second line will use the move transition to move the scene to the top as in the screenshot from the original game.
Not so perfect but also can do. Actually I have another image before this sky image and I want to hide the previous one with dissolve when the sky shows.
Users browsing this forum: No registered users