Hey,
I've set the following code for my side image:
image side rodrigo = "side_rodrigo.png"
define a = Character('Aline', color="#c8ffc8")
define r = Character('Rodrigo', color="#c8c8ff")
define e = Character('[firstname]', color="#c8c8ff", image = "rodrigo", window_left_padding=200,)
it's working for pc. But when I try android emulation it's not showing:
Any clue?
Side image not showing on Android
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.
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.
- papiersam
- Veteran
- Posts: 231
- Joined: Fri Aug 12, 2016 2:24 pm
- Completed: Gem Hunt Beta, 1/Probably, Animunch
- Projects: The Panda Who Dreamed
- Contact:
Re: Side image not showing on Android
It could be that Android can't parse the image (size, type, resolution, etc), but I'm thinking that maybe it's just the emulator. Try exporting what you have to an Android app and see the results.
Re: Side image not showing on Android
I found a solution. Side images are not usually showed in phones, so if you want them to be showed you have to hashtag this in screens:r_sami wrote:It could be that Android can't parse the image (size, type, resolution, etc), but I'm thinking that maybe it's just the emulator. Try exporting what you have to an Android app and see the results.
## If there's a side image, display it above the text. Do not display on the
## phone variant - there's no room.
if not renpy.variant("small"):
add SideImage() xalign 0.0 yalign 1.0
Last edited by Saiffyros on Mon May 29, 2017 12:38 am, edited 1 time in total.
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3785
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: Side image not showing on Android
You found it, but yeah, comment out that line as it is not needed / incorrect.
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
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Re: Side image not showing on Android
Imperf3kt have you found the correct sentence?? I have the same problem
Re: Side image not showing on Android
The solution is changin "small" for "medium"
Who is online
Users browsing this forum: No registered users