PC to Android conversion=>Text background no show and povname variable not working

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
Linwelyn
Newbie
Posts: 2
Joined: Mon Jan 15, 2018 10:32 am
Contact:

PC to Android conversion=>Text background no show and povname variable not working

#1 Post by Linwelyn »

Hi there!
Am having 2 issues with my novel that I would like to pack for Android,
Thanks very much in advance if you have a few minutes to help me :D

DynamicCharacter variable does not work
First of all, I'm using this variable to ask the player's name in the PC version:
init:
$ povname = ""
$ pov = DynamicCharacter( "povname" , color="#14DBCC",show_two_window=False )


Which does work fine on the PC version,
but does not work at all on the Android version.
As a result, a big part of the novel just doesn't show up and I'm jumping straight to the next label,
plus losing the interactivity with the player soooo...Nope, I need this variable.

Background no show for the "text choices"
Second of all, the "choices text" background does not show up on the Android version,
and as my police is as white as my background,
I just can't see the choices.
In the PC version, I'm using both the basic text background which comes with the initial package,
called "choice_idle_background.png" and "choice_hover_background.png".
What's funny is that this issue happens under the phone emulation,
but not under the Tablet emulation...

So, here I am! :wink:
Anyone to help please?
Thanks!

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

Re: PC to Android conversion=>Text background no show and povname variable not working

#2 Post by Imperf3kt »

Don't know about the first problem, never experienced it.

As to the second problem, this is caused by a few other variables found in screens.rpy and I think gui.rpy
Look for all instances of 'if renpy.variant=small' and adjust as necessary.
In most cases, it is perfectly fine to entirely remove the variant, but you may still want to keep a slightly larger text size.
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

Linwelyn
Newbie
Posts: 2
Joined: Mon Jan 15, 2018 10:32 am
Contact:

Re: PC to Android conversion=>Text background no show and povname variable not working

#3 Post by Linwelyn »

Thank you very much, I'll have a look at those variables, see what's going on there,
Have a nice day! :-)

Post Reply

Who is online

Users browsing this forum: Google [Bot]