Ren'Py Sync

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
User avatar
Andredron
Miko-Class Veteran
Posts: 719
Joined: Thu Dec 28, 2017 2:37 pm
Location: Russia
Contact:

Ren'Py Sync

#1 Post by Andredron »

Can you please give an example of how to use Ren'Py Sync
https://www.renpy.org/doc/html/changelo ... en-py-sync

Code: Select all

                if config.has_sync:
                    if CurrentScreenName() == "save":
                        textbutton _("Upload Sync"):
                            action UploadSync()
                            xalign 0.5
                    else:
                        textbutton _("Download Sync"):
                            action DownloadSync()
                            xalign 0.5
https://www.renpy.org/doc/html/screen_a ... nc-actions

How to add news to the project, and then there is a link to information on how to do it.

User avatar
PyTom
Ren'Py Creator
Posts: 16096
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Ren'Py Sync

#2 Post by PyTom »

Other than adding the things to your game - what do you need to know? When you click the button - it should explain the feature to you.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

User avatar
komehara
Regular
Posts: 36
Joined: Fri Jan 31, 2020 10:08 pm
Projects: Spirit Link
Tumblr: hsandt
Deviantart: hsandt
Github: hsandt
itch: komehara
Contact:

Re: Ren'Py Sync

#3 Post by komehara »

Erm, I'm not sure if I understand the OP's request as they give the example themselves, but in my case I know I had a hard time finding how to use the new Renpy Sync feature. Searching "upload sync" on search engine gave no example, I had to search manually on Lemmasoft to find this page which is the only one that contained an actual example.

So my request would be to put this example (and more if you have an even better canonical example) on some official Renpy doc page.

Currently https://sync.renpy.org/ shows no code and links to Renpy homepage. It would be great if it linked to a dedicated Renpy doc page which contains both the explanations on its workings and examples how to to integrate it on the Save/Load or some other screen.

I suppose the two other pages:
https://www.renpy.org/doc/html/changelo ... en-py-sync
https://www.renpy.org/doc/html/screen_a ... nc-actions

could also link to that new page, but I suppose once it's created it will become number 1 result on search engine as long as it's hyperlinked somewhere eg from the table of contents? (not sure how SEO works on doc pages, but at least it will exist and be searchable from doc)

Post Reply

Who is online

Users browsing this forum: Google [Bot], LuckyT