GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Buttons display below the screen

pmbanugopmbanugo Posts: 4Member, PRO

I'm testing my game on a HTC phone(android). The buttons which are supposed to be used to control the hero is below the screen of the phone. I thought it's supposed to display correctly irrespective of the phone. How can I fix this?

Comments

  • zweg25zweg25 Posts: 738Member

    are you changing the y position of the buttons in the actors? Alternatively are they ever moving, or is there gravity?

  • SocksSocks London, UK.Posts: 12,822Member

    @pmbanugo said:
    I'm testing my game on a HTC phone(android). The buttons which are supposed to be used to control the hero is below the screen of the phone. I thought it's supposed to display correctly irrespective of the phone. How can I fix this?

    Does the aspect ratio of your GameSalad project match the aspect ratio of the HTC ?

  • pmbanugopmbanugo Posts: 4Member, PRO

    I think is the aspect ratio. I'm using iPad project settings.

  • SocksSocks London, UK.Posts: 12,822Member
    edited January 2015

    @pmbanugo said:
    I think is the aspect ratio. I'm using iPad project settings.

    The iPad screen and the HTC screen are different shapes.

    iPad = 4:3 aspect ratio

    HTC = 16:9 aspect ratio

    You need to detect the screen shape (width divided by the height will give you the ratio) then move the buttons approprately.

  • BBEnkBBEnk Posts: 1,764Member

    Sounds like you published using overscan try using stretch. You can also search the forums for Universal Builds.

  • pmbanugopmbanugo Posts: 4Member, PRO

    when publishing i can't find option for stretch. just overscan and letterbox

  • pmbanugopmbanugo Posts: 4Member, PRO
    edited January 2015

    I copied rules from this http://forums.gamesalad.com/discussion/72604/universal-build-flexible-aspect-ratio-stretch-trick-with-video-and-template for non-scrolling and yet it doesn't work. I'm using overscan while publishing, because i cant find option for stretch

Sign In or Register to comment.