Menu choices missing boxes in Android builds

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
skip bittman
Newbie
Posts: 5
Joined: Mon Jul 02, 2018 5:38 pm
Contact:

Menu choices missing boxes in Android builds

#1 Post by skip bittman »

I know I'm missing something obvious in screens.rpy, but I've been up for far too long!

In any case, in Windows builds the menu choices appear just fine with the text boxes behind them -- but in the Android builds I'm just getting white text which is hard to read against these backgrounds. What should I be tweaking to have both builds look the same ?

User avatar
Kia
Eileen-Class Veteran
Posts: 1040
Joined: Fri Aug 01, 2014 7:49 am
Deviantart: KiaAzad
Discord: Kia#6810
Contact:

Re: Menu choices missing boxes in Android builds

#2 Post by Kia »

the screens for mobile are different, check the Mobile Variants at the end of your screens.rpy

skip bittman
Newbie
Posts: 5
Joined: Mon Jul 02, 2018 5:38 pm
Contact:

Re: Menu choices missing boxes in Android builds

#3 Post by skip bittman »

I'm picking up last year's project and finishing it up, a nice lengthy, meta-deranged piece of work! It's looking great on PC but definitely needs tweaks for mobile.

Thanks so much for the blindingly obvious and totally missed info. What sort of setting would I need to get the similar black strips behind the menu choices? Would cutting and pasting similar gui element script work or does android require something strange and esoteric?

User avatar
Kia
Eileen-Class Veteran
Posts: 1040
Joined: Fri Aug 01, 2014 7:49 am
Deviantart: KiaAzad
Discord: Kia#6810
Contact:

Re: Menu choices missing boxes in Android builds

#4 Post by Kia »

you can copy paste the elements from PC GUI to mobile variations, there's no difference there.
just keep in mind that some buttons are removed because they don't work on android and help button is removed because it contains information for PC users.

User avatar
Imperf3kt
Lemma-Class Veteran
Posts: 3791
Joined: Mon Dec 14, 2015 5:05 am
itch: Imperf3kt
Location: Your monitor
Contact:

Re: Menu choices missing boxes in Android builds

#5 Post by Imperf3kt »

The choice button backgrounds for mobile aren't defined anywhere in any renpy script I can find.


But the images are in the mobile variant folder.
Older versions of renpy had a bug where they wouldn't create the images that seems to have been fixed recently.

So just copy the files from the PC version folder, to the mobile variants folder and it should work.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Current project: GGD Mentor

Twitter

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot]