I'm being quite lazy lately, and also busy with my job, but I've got some free time this week for OpenTTD.
Currently the biggest issue with Android port is the lack of tutorial - mobile users are impatient and don't want to read the wiki.
I've tried the tutorial scenario, and it's too wordy and limited to my taste, and also offers only two translations, so I think it's better to put several short videos to Youtube, and open them from the main screen. Like, show how to build rails/roads, how to cancel your action with two-finger tap, how to build bus/train stations, how to connect them, how to buy buses/trains, how to give orders, and how to add AI to the game (because I've had to dig through wiki to find out that AI is activated only on 3-rd year into the game).
So, what do you think?
In case anyone wants to help me with videos,
here's a tutorial - you don't need root for that, but you will need to enable "Show touches" in Android developer options, to show where you are touching the screen. I recommend using higher bit rate, because otherwise video might end buggy:
Code: Select all
adb shell screenrecord --bit-rate 10000000 --verbose /sdcard/video.mp4
And, please, no extra mods or GRFs, fresh new OpenTTD installation is preferred.
Now, on planetmaker's comments.
The toolbars on the left and right side is a good choice for the extremely wide phone screens
This feature broke the tutorial scenario, I hope no one will notice

but yeah, it's mandatory for mobile UI.
The font could be slightly bigger, given the button sizes (though it's ok, it's readable, just looks funny)
Current font sizes are:
Code: Select all
small_size = 10
medium_size = 12
large_size = 16
mono_size = 12
I think increasing font size will make some dialogs too big to fit the screen, easiest way is to release new version and wait for user complaints

you may also increase font size through game options, and see which dialogs stop working.
Current default button size is 40 pixels, the maximum. I don't want to shrink it, because it makes OpenTTD borderline playable on 5" screen with just a finger, opinions and fingers may vary though. Also, the default 854x480 resolution fits 12 vertical buttons exactly, and with 36-pixel buttons it will be 13 buttons + 12 pixels of ugly red border.
The toolbar sprites seem too small for the buttons. Twice their size would work well. Probably can profit from trunk's GUI scale feature
I'll just wait for OpenTTD 1.5 then, because I'm lazy.
The click+hold for many of OpenTTD's menus does feel extremely bad for me when using a touch device. Click should open, another click select sub-function. Or did I miss something how to do that?
It's bad indeed, but don't worry, you'll get used to it after 4 hours of playing. I wanted to fix that long time ago, but got stuck in the unfamiliar code, and then
opened a bug, which didn't work out so well, because it would break quick access feature. It would be nice to have though.
I didn't exactly enjoy placing stations or tracks either... it ended up for me rather as random placement of random track tiles

I've no real good alternative suggestion here though. And I didn't try to place with much patience every single tile. Probably we need something like adf88's polyline track building tool with a preview function before it's actually built. Or maybe generally also here a double confirmation for placing stuff....
Touching the screen with another finger will cancel current action, like putting misplaced tracks. It works rather well after you do it a few times, but I don't know how to describe that to users in a convenient way, currently it's only in the description on Play Store. I don't like to implement a confirmation dialog, it's awkward and adds a lot of ugliness to the code, although if we really have to, we can reuse some of Juanjo's patches. Polyline would be nice too, but I'll be waiting until it get merged to trunk, and released in 1.5.
I also want to hide all windows when performing an action on the map, like laying tracks or creating station or selecting destination, which is especially painful with vehicle orders window covering half of the screen.
By the way, why station_show_coverage is set to false by default? I would rather have it always enabled.