Demo v5 Hotfix Release 2


Alright, so it seems there were some lingering issues in the previous hotfix, so we're going to try this again. Based on my research into how Ren'Py handles mobile devices, I discovered that some newer phones have screens that are over 6 inches, which is the cutoff between "small" and "medium" devices in the Ren'Py code. Going off the Ren'Py documentation, I used the recommended method of making all phone GUI for the "small" variant, while these new phones are tracked as "medium" when they launch a game.

For the time being, I've set the game to automatically switch to the small variants if it can detect the device is a phone, since "phone" is also an accepted variant that Ren'Py tries to calculate when it starts up. It's a bit of a workaround, but it should resolve the issue where big phones will use the PC GUI in the wrong orientation.

Anyone who downloaded the previous hotfix should try the new one and see if that fixes the issue. I'd test it myself, but I don't have any phones with a big enough screen to run the tests. Hopefully this workaround will be a big enough band-aid until I can figure out if there is a better way to fix this (should there be one).

Files

Flowering Nightshade Demo v5 hotfix (APK) 99 MB
Mar 10, 2021

Get Flowering Nightshade

Download NowName your own price

Comments

Log in with itch.io to leave a comment.

it didnt fix it ont the samsung galaxy A20

In my frustration at this problem not being fixed, I went and created an emulator for the Galaxy A20 to try to pinpoint the problem. The issue seems to be that there is no definition for the Galaxy A20 within Ren'Py, and so it uses the default (size-based) method to determine whether the device is a phone or tablet, which comes up with "tablet" for screens larger than 6 inches. Since Ren'Py doesn't recognize the device as a phone at all, even my workaround here doesn't help.

At this point, I might have to force all Android devices to use the phone layout to make it work on the Galaxy A20 and similar phones. While I consider my options, can you try lowering the screen resolution on your device temporarily and try opening the game with that setting? It managed to trick the emulator into using the layout for phones, but I don't know if it works on real devices.

(1 edit)

i dont know how to lower resolution

could you peerhaps put an orientation option or have the option to "force phone layout"

That is actually a good idea, I'll see if I can add that in somehow.

As for phone resolution, it was under the display settings in the emulated Galaxy A20. Display size, maybe? Making the icons bigger -> lower resolution.

I'll come back later today or sometime tomorrow with the results of the config option tests.