No longer active
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.
No longer active
No longer active
Last edited by sil3nt600 on Sat Dec 24, 2016 9:17 am, edited 2 times in total.
- Kato
- Miko-Class Veteran
- Posts: 649
- Joined: Tue Jan 15, 2013 4:45 am
- Projects: Memories of Summer Winds
- Organization: Blue Sphere Group
- Location: Perth, Western Australia
- Contact:
Re: Hiding content in released game
You can archive information to stop people copying your files (though if they really want in, they'll get in regardless what you do).
Copied from RenPy.org
Copied from RenPy.org
Hope this helps!Ren'Py supports combining files into a simple archive format. While not very secure, this protects files from casual copying.
By default, all files classified into the "archive" file list will be placed in an archive.rpa archive, which is included in the all file list.
By calling build.archive, it's possible to declare a new archives and the file lists they will be included in. (It's rare to use anything but the all file list, however.) To use an archive, classify files into a list with its name.
For example, the following code will archive images in images.rpa, and game scripts into scripts.rpa:If an archive file is empty, it will not be built.Code: Select all
# Declare two archives. build.archive("scripts", "all") build.archive("images", "all") # Put script files into the scripts archive. renpy.classify("game/**.rpy", "scripts") renpy.classify("game/**.rpyc", "scripts") # Put images into the images archive. renpy.classify("game/**.jpg", "images") renpy.classify("game/**.png", "images")
Please think twice about archiving your game. Keeping files open will help others run your game on future platforms - platforms that may not exist until after you're gone.
-
- Veteran
- Posts: 356
- Joined: Mon Mar 11, 2013 11:03 pm
- Contact:
Re: Hiding content in released game
[deleted] Kato beat me there. Also, users would be able to grab screenshots (or record audio etc.) off the game itself anyways.
Don't forget to include some sort of note that your works are not to be modified/distributed in any form.
Don't forget to include some sort of note that your works are not to be modified/distributed in any form.
No longer active
No longer active
Last edited by sil3nt600 on Sat Dec 24, 2016 9:17 am, edited 1 time in total.
-
- Veteran
- Posts: 356
- Joined: Mon Mar 11, 2013 11:03 pm
- Contact:
Re: Hiding content in released game
* http://lemmasoft.renai.us/forums/viewto ... 64#p266495pwisaguacate wrote:Clarification
You If you haven't yet, click on "Build Distributions" and hit yes when it asks you if you would like to add build information to the end of options.rpy. Then add whatever lines needed at the bottom of options.rpy:The exact above code will exclude .rpy files from the built distributions, and archive.rpa will be built with all .png .jpg .ogg files in your game folder stored in it.Code: Select all
## Classify files as None to exclude them from the built distributions. build.classify('**.rpy', None) build.classify('**~', None) build.classify('**.bak', None) build.classify('**/.**', None) build.classify('**/#**', None) build.classify('**/thumbs.db', None) ## To archive files, classify them as 'archive'. build.classify('game/**.png', 'archive') build.classify('game/**.jpg', 'archive') build.classify('game/**.ogg', 'archive')
So yes, it's located at the bottom of options.rpy.
No longer active
No longer active
Last edited by sil3nt600 on Sat Dec 24, 2016 9:17 am, edited 1 time in total.
-
- Veteran
- Posts: 356
- Joined: Mon Mar 11, 2013 11:03 pm
- Contact:
Re: Couple of questions
It's not very clear what you're asking, but it looks like a routing thing. Use variables, for example:TakahiUshio wrote:But I want the Yes option to to apply to other labels as well.
Code: Select all
menu:
"Accept invitation.":
jump accept
"Decline invitation.":
jump decline
label accept:
$ accept = True
...
label decline:
$ accept = False
...
label chapter2
...
if accept:
Do something.
else:
Do something else.
...
Who is online
Users browsing this forum: No registered users