Hello!
I have a question about building for Android. My game is configured for 800x600. I've tested the game in a smartphone and it works well, but in another one that has a bigger screen doesn't fill the whole screen.
Is it there any option so that the game resize the according to the smartphone screen?
Thanks!
Resize screen in 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.
- PyTom
- Ren'Py Creator
- Posts: 15893
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: Resize screen in Android
It should automatically resize to fill the smartphone screen (it may leave letterboxes or pillarboxes as appropriate). Can you use a camera to take a picture of the problem?
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom
Re: Resize screen in Android
Hello!
Here I put a couple of images. As you said, it leave pillarboxes, but I don't know why or how to solve it... The presplash screen fills the screen, maybe it's because is a bigger image? Shouldn't it to fill the whole screen anyway?
But now I have two more questions. I hope you could help me
-The first one is that the game works perfect at the pc, but when I build the game for Android there is a little... bug, I think, in one imagemap. As you can see at the second image, there is always an imagemap button always selected. Every imagemap button works good, so I don't know why it's always selected :S
The second question is about the Android build process. When I run rapt and build the game, it creates the .apk. But the cmd seems like paused at the end and do not seem to do anything. In fact, I have always to close it. But it creates the .apk, so I don't know if this is a problem or what.
I attach another image so that you can see when happens this.
Thanks PyTom!
Here I put a couple of images. As you said, it leave pillarboxes, but I don't know why or how to solve it... The presplash screen fills the screen, maybe it's because is a bigger image? Shouldn't it to fill the whole screen anyway?
But now I have two more questions. I hope you could help me
-The first one is that the game works perfect at the pc, but when I build the game for Android there is a little... bug, I think, in one imagemap. As you can see at the second image, there is always an imagemap button always selected. Every imagemap button works good, so I don't know why it's always selected :S
The second question is about the Android build process. When I run rapt and build the game, it creates the .apk. But the cmd seems like paused at the end and do not seem to do anything. In fact, I have always to close it. But it creates the .apk, so I don't know if this is a problem or what.
I attach another image so that you can see when happens this.
Thanks PyTom!
Who is online
Users browsing this forum: Bing [Bot], Google [Bot]