Renpy modloader on android

In this forum we discuss the future of Ren'Py, both bug fixes and longer-term development. Pre-releases are announced and discussed here.
Post Reply
Message
Author
Beastx
Newbie
Posts: 1
Joined: Sun Oct 07, 2018 4:19 am
Contact:

Renpy modloader on android

#1 Post by Beastx » Sun Oct 07, 2018 4:32 am

Hi all, I just want to apologize for my possibly bad English, I have to use a translator. let's get right to the point. I have a visual novel that I added the ability to read .rpy scripts from the directory with the game.in the code it looks like this

Code: Select all

python early:
    mods = {}

screen modselector:
    tag menu
    text "modloader Android Test":
        xalign 0.5 yalign 0.5

    textbutton _("Back"):
        xpos 25 ypos 50
        action [Hide("modselector"), Show("main_menu")]

    vbox:
        for lbl, name in sorted(mods.items()):
                textbutton name xpos 500 ypos 50 action  Start(lbl)
but there is another problem, when porting the novel to mobile devices, this code does not work. that is, the game starts, but .rpy scripts are not loaded. and to be honest, I do not understand why this happens, because on the PC the same code works fine. Thanks in advance to all who respond.

Post Reply

Who is online

Users browsing this forum: No registered users