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.
I would like move this if/else logic to a separate function and make calculations more complex. Like compute xalign using one of provided screen parameters as input. How to do that?
Last edited by Regis on Tue Feb 28, 2017 4:40 pm, edited 1 time in total.