Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Might and Magic: Switching to landscape mode screws up text #184

Closed
namandixit opened this issue Mar 3, 2018 · 13 comments
Closed

Might and Magic: Switching to landscape mode screws up text #184

namandixit opened this issue Mar 3, 2018 · 13 comments
Labels

Comments

@namandixit
Copy link

namandixit commented Mar 3, 2018

Emulator version: 1.2.7.8-play

Game version: 1.0.0

Game resolution: 240x320

Device: Moto G4

Android version: 7.0

Description of the issue: While the text renders correctly in portrait mode; as soon as devoce is rotated to switch to landscape mode, the text size increases by a large factor. If the device is rotated back to portrait mode, the increased text size persist.

Initial Portrait:

Portrait

After switching to Landscape:

Landscape

After switching back to portrait:

Portrait again

@namandixit
Copy link
Author

namandixit commented Mar 3, 2018

Added: Simply starting the game in Landscape mode (as opposed to starting in portrait and then switching to landscape) has the same problem. Also, toggling Immediate Mode does not fix the problem.

@oatmeal01
Copy link

have you tried adjusting the font

@namandixit
Copy link
Author

@oatmeal01 I tried all the all four options in Presets under Font options, none of them fixed the problem. Is that what you meant by "adjusting the font"?

@oatmeal01
Copy link

oatmeal01 commented Mar 3, 2018

Here's the solution/fix:

Run the game in 128x128 font preset.

@namandixit
Copy link
Author

namandixit commented Mar 3, 2018

@oatmeal01 No, it does not seem to have fixed the problem (the font size is a bit smaller than before but the size is still too much)

128x128 with values in scaled pixels

@namandixit
Copy link
Author

namandixit commented Mar 3, 2018

@oatmeal01 That is what I did in above screenshot. To be sure, are you running 240x320 version of the game. (Maybe different versions do things differently)

EDIT: Okay, so playing around with font settings don't really change anything substantially (either in the normal portrait mode, screwed up landscape mode or screwed up portrait mode).

@oatmeal01
Copy link

oatmeal01 commented Mar 3, 2018

Reso: 240x320

Game without tweaking font

run the game in 128x128 font preset without checking scaled pixel.

@namandixit
Copy link
Author

namandixit commented Mar 3, 2018

@oatmeal01 In your fixed screenshot, the line © 2004 Gameloft takes up more that half the width but in my original unscrewed potrait screenshot, it only take only ⅓ of the screen width. I think that while it feels like it got fixed on your device (probably because your phone has a different resolution than mine), the problem is still there - it's only more easily detectable on my device.

@namandixit
Copy link
Author

namandixit commented Mar 3, 2018

Wait, if I switch off the virtual keyboard in game settings, the problem fixes itself (of course, I can't play the game anymore without a keyboard). This is one weird bug.

EDIT: This keyboard layout works:

screenshot_20180303-142725

And this does not:

screenshot_20180303-142754

This game however required the1 key which is not available in the first layout (up-left does not work).

@oatmeal01
Copy link

Font tweaking works fine. Sample image below.
240x400 COC: Red Alert
without tweaking font

font preset 128x160

@namandixit
Copy link
Author

@oatmeal01 It does not on my device (Moto G4 with Android 7.0). Also, check my last comment, it's most probably an emulator bug.

@nikita36078 nikita36078 added the bug label Mar 3, 2018
@nikita36078
Copy link
Owner

Yes, it is a virtual keyboard bug, I will fix it soon.

@nikita36078
Copy link
Owner

Fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants