Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit) (+2)

Hey, If you still need help with making an android version, here's the main steps you'd need to follow:


1) Download RAPT from renpy's website for the renpy version you use, in the public release you used 7.4.9, so the link is: https://www.renpy.org/dl/7.4.9/renpy-7.4.9-rapt.zip

2) Download version 8 of the Adoptium JDK: https://adoptium.net/en-GB/temurin/archive/?version=8

3) Launch Renpy, and Click on 'Android' in the actions category, underneath build distributions. Then install the SDK and create keys. Keep the keys you create safe.

4) Go back to the `Android` section, and click `Configure`, and follow the prompts.

This sets up your environment to build android versions, but there are some code changes needed for the full experience. Basically any graphical changes you've made, need to have a mobile variant declared. To do this, you copy the style, and add `variant "small"` or `variant "touch"`, depending on the context, to it.


Things that need to be changed:

-The textbox needs the new sprite. You can just remove the `phone/` part in the `style window`, under mobile variants.


-Choices menu needs to be changed. They currently go way to the right. Duplicate the choice screen, add 

variant "touch"

Then you can replace the area parameter with 

ysize 0.6
align (0.5, 0.5)

This gives a more scalable, and less hard coded variant for mobile.

-You'll probably want to add a 'Hide' button for mobile users, as they can't middle mouse button. Adding this code to `screen quick_menu` will add it:
`textbutton _("Hide") action HideInterface()`

I don't know if there's any other screens that don't work on mobile, but these are the main ones.

After this, you can build the android version. You'll want to build a universal apk, not the playstore version. It'll take a while, but afterwards, you'll have an apk. You can install this on your phone to test, or with an android emulator.


Edit: Sorry for the wall of text lol. Let me know if you need any more help, or if I was unclear with something.

(1 edit)

Thank you so much for your comment and helpful instructions!! I will try my best to create an android port right after I release my new update in a couple days!! Thank you for the help! I apologise that I haven't made one yet - because I'm new to android ports, I'm a bit scared to even attempt... but with your instructions, I'll give it a go and see what happens!! Thank you so much! I appreciate the effort you have gone through to help me out <3