aliens

Author Topic: [Request][UI] Open door button  (Read 12908 times)

Offline ufomesh

  • Squaddie
  • *
  • Posts: 7
    • View Profile
Re: [Request][UI] Open door button
« Reply #15 on: July 26, 2014, 08:00:19 pm »
Quite frankly, I think the Android version just needs a new UI entirely. The buttons are entirely too small for a finger on 4 or 5 inch screens. There's been a few mockups in the old Android port thread.

I think the best place to start though would be if UI layouts and such were externalized. Then they could simply be handled by mods.

I'm playing on my 7' tablet and feeling comfortable. I think playing openXcom on phones won't be comfortable at all. In case of small screens you need to enlage buttons. Enlarging them you greatly reduce battlescape size.
Anyway my miserable attempts of at least changing background picture with buttons failed.

I wrote something like this but had no effect.
Spoiler:
layout:
  - name: icons
    order: 1
    type: InteractiveSurface
    width: 320
    height: 56
    hAlign: center
    vAlign: bottom
    relX: -160
    relY: -56
    singleImage: true
    files:
      120: Resources/UI/newIcons.png
      crop:
        x: 0
        y: 144
        w: 320
        h: 56
    hidden: false
    handlers:
      onMouseIn: mouseInIcons
      onMouseOut: mouseOutIcons

Maybe if I catch luck and get understanding with all this coding I think about 4'-5' version..