Android stuff.

9thCrux

--Waifu maker--
Game Developer
Oct 22, 2017
844
3,232
Hey there,

I have been working on porting my game to Android, I have never done anything for Android I'm a complete noob about it, and I managed to make a working apk; is massive but it works.

My apk ended up being more than 300 MB, even after resizing the images, tested the build in a virtual device and IT WORKS!... but I had some issues:

The app icon is the default Ren'Py icon:
You don't have permission to view the spoiler content. Log in or register now.

My textbox and side images are nowhere to be found:
You don't have permission to view the spoiler content. Log in or register now.

The loading screen is the default Ren'Py screen:
You don't have permission to view the spoiler content. Log in or register now.

So... I'm trying to figure it out how to downsize the apk, how to display my textbox and side images, and how to change the loading screen.
I guess some stuff can be changed in Android Studio but I'm not sure about it.

Can someone with Android porting experience please help me out?
 

phantasmove

New Member
Game Developer
Aug 12, 2019
7
32
To decrease the size of your game, convert the assets to the following formats:

- webp (images).
- ogg (audios).
- webm (videos).

To change the base assets in the mobile version, modify the files that are located in the gui/phone folder. Regarding side images, in the default project they are not displayed in mobile. You will have to make changes to the say screen if you want to use them.

The android icon can be customized by adding two 432x432 images to the project folder ("android-icon_foreground.png" and "android-icon_background.png"). The loading screen can be customized by adding the file "renpy-presplash.jpg" (930x580 with monocolored border) to the project folder.
 
Last edited:
  • Like
Reactions: KFeing and 9thCrux

9thCrux

--Waifu maker--
Game Developer
Oct 22, 2017
844
3,232
To decrease the size of your game, convert the assets to the following formats:

- webp (images).
- ogg (audios).
- webm (videos).

To change the base assets in the mobile version, modify the files that are located in the gui/phone folder. Regarding side images, in the default project they are not displayed in mobile. You will have to make changes to the say screen if you want to use them.

The android icon can be customized by adding two 432x432 images to the project folder ("android-icon_foreground.png" and "android-icon_background.png"). The loading screen can be customized by adding the file "renpy-presplash.jpg" (930x580 with monocolored border) to the project folder.
Thanks a lot for your reply, is very helpful information for me.
I had a general idea of what to do to downsize the apk but all my attention has been on making scenes and renders for the upcoming update for my game.
You're pointing out some new information for me...
Appreciate it.

Edit:
Managed to use my textbox, side images, and downsized the APK to about half of it's original size...
A lot of messing around with scrip files and image converters. Yay, go me! :ROFLMAO:
 
Last edited: