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 »

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: 3791
Joined: Mon Dec 14, 2015 5:05 am
itch: Imperf3kt
Location: Your monitor
Contact:

Re: Textbox not showing on emulated android phone

#2 Post by Imperf3kt »

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.

Current project: GGD Mentor

Twitter

User avatar
isobellesophia
Miko-Class Veteran
Posts: 979
Joined: Mon Jan 07, 2019 2:55 am
Completed: None
Projects: Maddox and Friends! (AI Teacher friend), Friendly Universities! (Soon)
Organization: Friendly Teachers series
Deviantart: SophBelle
itch: Child Creation
Location: Philippines, Mindanao
Contact:

Re: Textbox not showing on emulated android phone

#3 Post by isobellesophia »

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.


Image

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 »

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: 979
Joined: Mon Jan 07, 2019 2:55 am
Completed: None
Projects: Maddox and Friends! (AI Teacher friend), Friendly Universities! (Soon)
Organization: Friendly Teachers series
Deviantart: SophBelle
itch: Child Creation
Location: Philippines, Mindanao
Contact:

Re: Textbox not showing on emulated android phone

#5 Post by isobellesophia »

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.


Image

Image


Post Reply

Who is online

Users browsing this forum: Google [Bot]