separating Script?

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.
Post Reply
Message
Author
wulfsaga
Regular
Posts: 29
Joined: Thu Feb 05, 2009 9:40 am
Contact:

separating Script?

#1 Post by wulfsaga »

Can anyone tell me how to separate script (in script editor)?
For example in my game there is 5 chapter, and each chapter has very long script so in order not to get confused and more manageable i planning to separate it into 5 script.
So far i failed to find any refrence or tutorial on this, anyone can help?
Image

User avatar
EwanG
Miko-Class Veteran
Posts: 711
Joined: Thu Oct 26, 2006 5:37 pm
Location: San Antonio, TX
Contact:

Re: separating Script?

#2 Post by EwanG »

RenPy will consider any .rpy in your game directory to be part of your script. So you can have each chapter be it's own .rpy, as long as your jumps can be found either in that .rpy or one of the other .rpy files in the directory.

FWIW...
Working on something... might even be something good :D

wulfsaga
Regular
Posts: 29
Joined: Thu Feb 05, 2009 9:40 am
Contact:

Re: separating Script?

#3 Post by wulfsaga »

ok thx, after checking again i just realized i forgot exstension *.rpy when saving :oops:
Image

Post Reply

Who is online

Users browsing this forum: Imperf3kt