Change position of an existing screen with Use statement
Posted: Sun Jun 09, 2019 12:37 pm
Hi, I'm trying to do the following, but I can't get it.
I have created a map screen that shows many images and buttons on the right side of the game, but I have thought that sometimes it can be shown on the left but I don't know if I can use the existing screen for it or make a new one by changing the positions of the images and the buttons.
Trying and investigating I have found this https://www.renpy.org/doc/html/screens.html#use but I don't know if I can make a call of the screen with Use changing the position in this simple way. To be tested I have created a new screen "map_on_left_ with a use statement that calls the original screen map with a change in position but it doesn't work
Maybe it can be done in some similar way, but I don't know how. If anyone can help me, I thank you in advance!
I have created a map screen that shows many images and buttons on the right side of the game, but I have thought that sometimes it can be shown on the left but I don't know if I can use the existing screen for it or make a new one by changing the positions of the images and the buttons.
Trying and investigating I have found this https://www.renpy.org/doc/html/screens.html#use but I don't know if I can make a call of the screen with Use changing the position in this simple way. To be tested I have created a new screen "map_on_left_ with a use statement that calls the original screen map with a change in position but it doesn't work
Code: Select all
screen map_on_left:
use map:
xpos -500