Android Screen Size

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
KuroNoUser
Newbie
Posts: 2
Joined: Wed Oct 22, 2014 5:36 am
Contact:

Android Screen Size

#1 Post by KuroNoUser »

Hi, I just ported my VN to my android device but it doesn't fill the screen. What's the best way to make my VN stretch to screen on any resolution?

User avatar
PyTom
Ren'Py Creator
Posts: 16096
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: Android Screen Size

#2 Post by PyTom »

There isn't an answer to that. Android devices come in all aspect ratios.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

User avatar
jack_norton
Lemma-Class Veteran
Posts: 4084
Joined: Mon Jul 21, 2008 5:41 pm
Completed: Too many! See my homepage
Projects: A lot! See www.winterwolves.com
Tumblr: winterwolvesgames
Contact:

Re: Android Screen Size

#3 Post by jack_norton »

I think the safest bet is to use any 16:9 resolution. Personally now I use 1280x720. Of course as Tom said there isn't ONE resolution, but at least it should be the most common :)
follow me on Image Image Image
computer games

User avatar
PyTom
Ren'Py Creator
Posts: 16096
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: Android Screen Size

#4 Post by PyTom »

Yes, at least until the 4:3 nexus 9 comes out. 16:10 (1.60) might be a reasonable compromise between 16:9 (1.77) and 4:3 (1.33).

I think 6.19 will have better support for variable aspect ratio games. There's already some support in 6.18. but I need to make it easier to use.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

Post Reply

Who is online

Users browsing this forum: Sugar_and_rice