Portrait mode

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
trajano
Regular
Posts: 60
Joined: Sun Jun 16, 2019 7:59 pm
Github: trajano
Contact:

Portrait mode

#1 Post by trajano » Sat Jul 06, 2019 12:34 am

Is there a good starting point for making Ren'py work with a Portrait mode for small devices?

So far I made the following attempt. https://pasteboard.co/ImFALNq.png

I also changed the game resolution to 360 x 640 so 1px == 1dp. Given that I set the font sizes to match the typical typography sizes (i.e. 16px for default). I took out all the variant "small" stuff for my sample so far

User avatar
Kia
Eileen-Class Veteran
Posts: 1011
Joined: Fri Aug 01, 2014 7:49 am
Deviantart: KiaAzad
Discord: Kia#6810
Contact:

Re: Portrait mode

#2 Post by Kia » Mon Jul 08, 2019 9:19 am

it's pretty much resizing the screen and bigger fonts, you have to make a different version of the game for small screens with modified sizes

trajano
Regular
Posts: 60
Joined: Sun Jun 16, 2019 7:59 pm
Github: trajano
Contact:

Re: Portrait mode

#3 Post by trajano » Tue Jul 09, 2019 2:04 am

Its actually a bit of layouting too because the preferences load and save screens are not designed to be portrait.

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

Re: Portrait mode

#4 Post by Imperf3kt » Tue Jul 09, 2019 4:02 am

This (and the post two later) may be of interest to you.
viewtopic.php?f=8&t=51677&hilit=Portrait#p495092

Note that it is old and has been updated a small amount, particularly the quick menu, since the post (same link used)

There are more updates to apply, general cleaning and tidying, but I have not had time to work on it for a few months.

Here is an example of it in its latest state, a Rock, Paper Scissors game I still need to finish :P (note that no side image was used for this project)
https://i.imgur.com/0aiLmIg.png


EDIT

I have gone ahead and finished up the GUI. Its not as polished as the GUI in my RPS game, but thats more specialised so not that easy to just copy.
You can find the project files here:
https://mega.nz/#!Vd8wAAib!SQD_KBPuo1CB ... k3rAwkL2kg
Note that NVL mode is somewhat rough, and may require more work.
I'll put this in the cookbook, I think.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Current project: GGD Mentor
Free Android GUI - Updated occasionally
Twitter
Imperf3kt Blackjack - a WIP blackjack game for Android made using Ren'Py

trajano
Regular
Posts: 60
Joined: Sun Jun 16, 2019 7:59 pm
Github: trajano
Contact:

Re: Portrait mode

#5 Post by trajano » Wed Jul 10, 2019 8:55 pm

I haven't gone too far in the deep end yet, but what's NVL mode?

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

Re: Portrait mode

#6 Post by Imperf3kt » Wed Jul 10, 2019 9:31 pm

NoVeL mode.
It's an alternative way of presenting a visual novel where the say window covers the entire screen and previous dialogue remains onscreen until cleared, similar to the history screen, or as the name implies, just like reading a novel.


By the way, this prompted me to post this, which is more updated and standardised and includes an example
viewtopic.php?f=52&t=56021
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Current project: GGD Mentor
Free Android GUI - Updated occasionally
Twitter
Imperf3kt Blackjack - a WIP blackjack game for Android made using Ren'Py

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], minyan