Good job!lubomyr wrote:my attempt to create port to android
builded with crystaX ndk & pelya SDL-lib
http://anddev.at.ua/load/openttd_1_0_4/1-1-0-4
Runs great on my orange Boston.
Really difficult to control because of very small buttons!
Moderator: OpenTTD Developers
Good job!lubomyr wrote:my attempt to create port to android
builded with crystaX ndk & pelya SDL-lib
http://anddev.at.ua/load/openttd_1_0_4/1-1-0-4
It downloads them from https://sourceforge.net/projects/libsdl ... a/OpenTTD/ - unzip it to /sdcard/app-data/org.openttd.sdl/ on your phone.Zephyris wrote:Where does it look for the data files? So I can save 20Mb of internet usage
That sounds like a solution, I'll try to make an optional download from it next week.Zephyris wrote:Sad but true, this app is only suitable for any device with 640x480 or more screen resolution. You might also want to consider including my big GUI grf...
I think that move the cursor with keys/trackball will be more accurate than now with touchscreen.pelya wrote:I think the cursor keys/trackball should be used to move mouse cursor, not to slide terrain, what do you think?
My HTC Hero had Android 1.6 (now I updated to 2.1) and had multitouch functions, I think it depend on devices not Android version. Anyway, could you use the trackball pushbutton as click emulation?pelya wrote:Also you may think out some better mouse click emulation - now it's multitouch/pressure, multitouch is not present on devices with Android 1.6.
I will add that.SHADOW-XIII wrote:Many thanks for the update!
Trackball, although usually slow in movement could be used as more precise mouse (but leaving able to use touchscreen as mouse as well) and should be clickable.
You can already configure such behavior, through "Change device config" menuSHADOW-XIII wrote: Other ideas:
- 2 fingers on screen = Right mouse button (press & hold to move screen), on 1.6 use MENU button?
Currently it's Escape - it also closes some windows when pressed. Also Menu, when not used for mouse clicks, returns Delete - also closes some windows.SHADOW-XIII wrote: - Back button works as Backspace (close a window)
Search/Call/Trackball center buttons are all mapped to Enter. Can the game work without Enter key? If so I'll remap them to Pause.SHADOW-XIII wrote: - Search button as PAUSE ?
Another nice feature, I'll make such gesture to return KP_PLUS and KP_MINUS on SDL side.SHADOW-XIII wrote: - pinch to zoom or zoom in/out using 2 fingers sliding together or away from each other?
Most modern touchscreen devices have only 4 usable hardware buttons - Menu, Back and Volume Up/Down. Many devices have Search button, but not all of them (Chinese Android touch tablets usually lack it). Also there are more limitations - you cannot hold Menu or Back or Search and touch screen simultaneously on HTC Evo, because those buttons are just extension of screen touch panel, so the touch is not recognized.SHADOW-XIII wrote: - not following OTTD on this field but how much CTRL key is used in any combination? If there are some combinations without GUI for that so you need a CTRL key to access some things we could map it to SEARCH/MENU button
Users browsing this forum: No registered users and 52 guests