Textbox not showing on emulated android phone

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
Panchoman777
Newbie
Posts: 11
Joined: Thu Aug 29, 2019 6:19 pm
Contact:

Textbox not showing on emulated android phone

#1 Post by Panchoman777 » Thu Nov 14, 2019 4:47 pm

Everything works fine in the pc and tablet version but when I try the phone version it just show a black square instead of my custom textbox. Does anybody know what is happening?

Heres an image of the problem.

Image

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

Re: Textbox not showing on emulated android phone

#2 Post by Imperf3kt » Thu Nov 14, 2019 5:15 pm

Look for a section called mobile variants on both gui.rpy and screens.rpy


You get that image instead of what you expect because renpy forcefully creates a different look for Android/iOS devices in an attempt to keep things easily readable/interactable on the relatively small size of a mobile phone screen.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Todo list:
Actually finish a project

User avatar
isobellesophia
Miko-Class Veteran
Posts: 697
Joined: Mon Jan 07, 2019 2:55 am
Projects: Maddox's Everyday Talk! (13+ Unreal version), Maddox Everyday Talk! (3+ Real-Friendly version)(Upcoming 2020)
Organization: Friendly Teachers series
itch: .......
Location: Philippines, Mindanao
Contact:

Re: Textbox not showing on emulated android phone

#3 Post by isobellesophia » Thu Nov 14, 2019 9:36 pm

Look for the phone folder, here is the path..

nameoftheprject/gui/phone/


That is where you find the another textbox for mobile phone.
I am a friendly user, please respect and have a good day..


Working on a talking simulation game for everyone, except children.

Maddox Everyday Talk!
Is my very very main project, not contain 13 below.

Main project here viewtopic.php?f=43&t=56564
Image

Panchoman777
Newbie
Posts: 11
Joined: Thu Aug 29, 2019 6:19 pm
Contact:

Re: Textbox not showing on emulated android phone

#4 Post by Panchoman777 » Thu Nov 14, 2019 11:48 pm

Imperf3kt wrote:
Thu Nov 14, 2019 5:15 pm
Look for a section called mobile variants on both gui.rpy and screens.rpy


You get that image instead of what you expect because renpy forcefully creates a different look for Android/iOS devices in an attempt to keep things easily readable/interactable on the relatively small size of a mobile phone screen.
Ok, thanks to you I fixed that issue... but now the namebox doesn't show, its behind the textbox and from the gui file, phone section I can only modify its X position, but Im unable to move it up and down.

Image

User avatar
isobellesophia
Miko-Class Veteran
Posts: 697
Joined: Mon Jan 07, 2019 2:55 am
Projects: Maddox's Everyday Talk! (13+ Unreal version), Maddox Everyday Talk! (3+ Real-Friendly version)(Upcoming 2020)
Organization: Friendly Teachers series
itch: .......
Location: Philippines, Mindanao
Contact:

Re: Textbox not showing on emulated android phone

#5 Post by isobellesophia » Fri Nov 15, 2019 6:45 am

You can add a ypos and xpos, then put it to the top of the textbox.
I am a friendly user, please respect and have a good day..


Working on a talking simulation game for everyone, except children.

Maddox Everyday Talk!
Is my very very main project, not contain 13 below.

Main project here viewtopic.php?f=43&t=56564
Image

Post Reply

Who is online

Users browsing this forum: Bing [Bot]