iOS support thread

All questions/issues/feedback for the iOS version of Wesnoth belong here.

Moderator: Forum Moderators

Post Reply

Did you like the new drag/swipe control style?

Not at all. Bring back the clicks!
0
No votes
Yes, immediately!
1
50%
Yes, after some time.
0
No votes
Yes, but it needs improvements, and I'll tell you which.
0
No votes
I want the option to have both.
1
50%
 
Total votes: 2

l0csta
Posts: 4
Joined: July 5th, 2021, 2:37 am

Re: iOS support thread

Post by l0csta »

just got wesnoth for my iphone and i've noticed everything is pretty pixelated (fonts, artwork, etc.). i remember playing it on my android a year back and iirc it wasn't nearly as blurry. don't see anything related to resolution or quality in the settings. Is this normal?
User avatar
singalen
iOS Port Maintainer
Posts: 314
Joined: January 3rd, 2007, 10:18 am
Location: bay

Re: iOS support thread

Post by singalen »

No, this is not normal, except of fonts.
Sadly, fonts are too deeply embedded into rendering mechanism to use true Retina resolution.
Can you please post a screenshot?
l0csta
Posts: 4
Joined: July 5th, 2021, 2:37 am

Re: iOS support thread

Post by l0csta »

iphone screenshot: https://imgur.com/a/XQADWcU

android screenshot: https://imgur.com/a/1jph7Fz

i guess i understand the font thing because the fonts are smaller on the android app, but the image of Baran is very low-res on the iphone compared to the android.
User avatar
singalen
iOS Port Maintainer
Posts: 314
Joined: January 3rd, 2007, 10:18 am
Location: bay

Re: iOS support thread

Post by singalen »

I see it. Thank you very much.
You are right.

tl;dr: Wesnoth doesn't support HiDPI displays. As a result, fonts and sprites are upscaled from a resolution that might be twice as small.

Android image, 1920x1080, is about the largest window Wesnoth can do. You can increase the window (screen pixel size), but the fonts will never get bigger.
On iPhone, the pixel resolution is already much higher, 2532x1170, while iPhone screen, I bet, is physically smaller.

What SDL, our graphics framework, does, is it scales LoDPI applications up, in order to preserve their screen layouts and all, and Wesnoth pixels are rendered into abstract screen "units".

If we simply enable HiDPI in SDL, all the UI, text and controls, will get twice as small. This would be unusable.
There is a long-standing issue: https://github.com/wesnoth/wesnoth/issues/2219.
There were a few attempts to implement HiDPI support, but, sadly, none succeeded.
Sorry.
l0csta
Posts: 4
Joined: July 5th, 2021, 2:37 am

Re: iOS support thread

Post by l0csta »

the text and ui are actually much smaller on the Android version but its good enough for me. Not really knowledgeable on ios development, but would it be possible to add the hidpi support as an option that could be enabled or disabled depending on the users preference?
User avatar
singalen
iOS Port Maintainer
Posts: 314
Joined: January 3rd, 2007, 10:18 am
Location: bay

Re: iOS support thread

Post by singalen »

GUI has to be redesigned for HiDPI, because it was designed around 72 DPI. Now, font size is hardwired to DPI; in turn, GUI layout is handwired to font sizes.

Or, at least, our own abstraction layer needs to be developed, inside of SDL's, to take advantage of fonts and maybe scaling. As I said, a few attempts were made, but none of them went anywhere.
l0csta
Posts: 4
Joined: July 5th, 2021, 2:37 am

Re: iOS support thread

Post by l0csta »

interesting. well, thanks for the detailed responses!
Col_Orange
Posts: 1
Joined: July 29th, 2021, 8:48 am

Re: iOS support thread

Post by Col_Orange »

I’m frequently getting a “No saved games”, “there are no save files to load” message. Not all of the time, but losing all progress in a campaign is frustrating.

iOS 14.7.1
The Battle for Wesnoth app 1.14.13
Gizmet
Posts: 2
Joined: August 2nd, 2021, 7:41 pm

Re: iOS support thread

Post by Gizmet »

So I can’t figure out how to vote on the survey- but I very much don’t like the “click and drag” style movement.

It’s possible I could get used to it if dragging also moved the screen when you got to the edges- but as it currently works on my iPhone, I can’t make the movements I want on large maps with teleporting units because the screen won’t zoom out far enough to include both the unit I want to teleport and the village I want to teleport it to. Since this is using the teleport ability, I can’t really do partial movements either without wasting MP to teleport to in-between villages.
avelyn894
Posts: 1
Joined: September 13th, 2021, 5:38 pm

Re: iOS support thread

Post by avelyn894 »

Hello. I can’t move any units.
I remember playing this game long ago and had no issues with controls. Now it is impossible, there is no tap, no double tap, no drag or any menu to make a unit move.
Post Reply