Responsive Menu

Discussion in 'Technical Discussion' started by ababab5, Jan 3, 2017.

  1. ababab5

    ababab5 Boxer

    Joined:
    Nov 21, 2016
    Messages:
    19
    Likes Received:
    4
    Hi all!

    I have an issue with my menus.

    Here with images:

    Project_Settings.png
    on iPhone 5 Preview_et_SuperDogTales.png
    on ipad:

    Preview_et_SuperDogTales.png



    and now with:
    Project_Settings.png
    iPhone 5 :

    Preview_et_SuperDogTales.png

    and ipad:
    Preview_et_Project_Settings_et_SuperDogTales.png


    and to finish with:
    Project_Settings.png

    iphone5 :

    Preview_et_SuperDogTales.png

    ipad :

    Preview.png


    What Can I do? I'm totally lost.

    On Unity I can link UI Object together and depends of corners of the screen.

    Is there something similar here?

    Thanks a lot!

    Best regards,

    GAN
     
  2. tanvir8955

    tanvir8955 Avid Boxer

    Joined:
    Apr 26, 2016
    Messages:
    140
    Likes Received:
    76
    Fit to Height/Width also affects your game field view. Here's what I use for 'Landscape' mode game
    - Fit to Width
    - uncheck the stick to edge option of every UI button.
    Play with these, that should work. :)
     
    Christoph likes this.
  3. Andy

    Andy Miniboss Boxer

    Joined:
    Sep 24, 2015
    Messages:
    2,152
    Likes Received:
    1,546
    Fit to Height/Width should be set based on what is best for your gameplay. Then as @tanvir8955 mentions you need to check or uncheck stick to edge as needed for your UI. In your case you want to uncheck it in most cases except for maybe the "!" and "$" buttons.

    If not using Fit to Width, you might still have a problem though as you are really cramming images horizontally. The iPad is shorter (horizontally) than the iPhone... so most likely you really want to just have this menu display 3 across instead of four... or modify the graphics. They just simply won't fit on the iPad.
     
    Last edited: Jan 3, 2017
    tanvir8955 likes this.
  4. ababab5

    ababab5 Boxer

    Joined:
    Nov 21, 2016
    Messages:
    19
    Likes Received:
    4
    Hi,

    Thanks a lot!

    :)

    Now it's the game who is not responsive (on iPad ... )

    :))

    Thanks!!
     
  5. Jaky1

    Jaky1 Serious Boxer

    Joined:
    Aug 22, 2016
    Messages:
    523
    Likes Received:
    142
    You have to Uncheck, Stick to edge. It really messes up everything...And it should be removed from default.
     

Share This Page