Hey, newbie here.
I'm struggling with a game for android.
I'm trying to make this game in that portrait format, so I've set the resolution to:
Init python:
gui.init (390, 700)
That gave the screen format I wanted, but I had to adjust some things.
The text length so that it would be limited to that screen, the in-game menus had to be limited too. Same with the names of the characters...
I was able to do that.
But the load/save button doesn't apear to me I can't find a way to configure it into my screen 390-700
Is there a GUI and screen code ready for portrait games?
I have in mind games like these:
https://play.google.com/store/apps/deta ... L&hl=pt-br
https://play.google.com/store/apps/deta ... n&hl=pt-br
Is that what I really have to do? Is there an easier way?
Rodrigo
Portrait Android games
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.
Portrait Android games
Last edited by Saiffyros on Mon May 22, 2017 11:49 am, edited 1 time in total.
- Divona
- Miko-Class Veteran
- Posts: 678
- Joined: Sun Jun 05, 2016 8:29 pm
- Completed: The Falconers: Moonlight
- Organization: Bionic Penguin
- itch: bionicpenguin
- Contact:
Re: Portrait Android games
All the screen menu haven't been made to fit portrait size of the mobile, I'm afraid. You could show only "screen navigation" first, and then Save, Load, and other screens after the interaction. If it's me, I probably just wipe all the default UI screens and do a redesign of the UI that would work better on mobile devices.
EDIT: Wondering if Legacy UI would work better in mobile portrait mode, though.
EDIT: Wondering if Legacy UI would work better in mobile portrait mode, though.
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3792
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: Portrait Android games
I did just this (in 720x1280, but it will scale) for my project.
I'll give you the screens code later after I get out of work. Shoot me a PM if I don't reply within 2 days - I probably forgot.
For an approximate example, follow the Cooking with RWBY link in my signature.
You probably could just copy what I have in the 0.05a PC versionand modify it to suit your needs as its not archived.
I'll give you the screens code later after I get out of work. Shoot me a PM if I don't reply within 2 days - I probably forgot.
For an approximate example, follow the Cooking with RWBY link in my signature.
You probably could just copy what I have in the 0.05a PC versionand modify it to suit your needs as its not archived.
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
- Taleweaver
- Writing Maniac
- Posts: 3428
- Joined: Tue Nov 11, 2003 8:51 am
- Completed: Metropolitan Blues, The Loyal Kinsman, Daemonophilia, The Dreaming, The Thirteenth Year, Adrift, Bionic Heart 2, Secrets of the Wolf, The Photographer
- Projects: The Pilgrim's Path, Elspeth's Garden, Secret Adventure Game!
- Organization: Tall Tales Productions
- Location: Germany
- Contact:
Re: Portrait Android games
Moved to Ren'Py Questions.
Scriptwriter and producer of Metropolitan Blues
Creator of The Loyal Kinsman
Scriptwriter and director of DaemonophiliaScriptwriter and director of The Dreaming
Scriptwriter of Zenith ChroniclesScriptwriter and director of The Thirteenth Year
Scriptwriter and director of Romance is DeadScriptwriter and producer of Adrift
More about me in my blog"Adrift - Like Ever17, but without the Deus Ex Machina" - HigurashiKira
Re: Portrait Android games
Hey. Amazing. I've download your game and I think it's exactly what I need.Imperf3kt wrote:I did just this (in 720x1280, but it will scale) for my project.
I'll give you the screens code later after I get out of work. Shoot me a PM if I don't reply within 2 days - I probably forgot.
For an approximate example, follow the Cooking with RWBY link in my signature.
You probably could just copy what I have in the 0.05a PC versionand modify it to suit your needs as its not archived.
I really appreciate your help. I'll PM you for sure.
Re: Portrait Android games
Hey,Divona wrote:All the screen menu haven't been made to fit portrait size of the mobile, I'm afraid. You could show only "screen navigation" first, and then Save, Load, and other screens after the interaction. If it's me, I probably just wipe all the default UI screens and do a redesign of the UI that would work better on mobile devices.
EDIT: Wondering if Legacy UI would work better in mobile portrait mode, though.
You're right. Using the Legacy UI you just have to change this under the options.rpy:
## These control the width and height of the screen.
config.screen_width = 720
config.screen_height = 1280
It scales all the rest for you. Not the same with the new GUI.
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3792
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: Portrait Android games
I was writing a how-to on duplicating the gui I suggested, but I ran out of enthusiasm.
I plan to make the gui publicly available as a boilerplate once finished anyway.
Do feel free to contact me if you want help adjusting it to suit.
I plan to make the gui publicly available as a boilerplate once finished anyway.
Do feel free to contact me if you want help adjusting it to suit.
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
Who is online
Users browsing this forum: bananamilk, Google [Bot]