Results 1 to 3 of 3
  1. #1
    MSgt. Shooter Person
    Join Date
    Apr 2012
    Posts
    33

    Wink [HELP] Button Relative Scale

    Hello,
    I can't seem you understand as to how do I display a button at the same place for different iOS devices. For example, my button using X & Y bounds is displayed at a particular position on the iPhone 4 but when I run the same button with the same position on the iPad 2, it is placed somewhere on the left top of the screen.

    I have tried mixing the following values like 100 times but I can't seem to figure out the problem.

    Size X
    Size Y
    Relative X
    Relative Y
    Relative Size X
    Relative Size Y
    Active Size YFrom X
    Size YFrom Size X

    etc.

    Can someone please help?


  2. #2
    MSgt. Shooter Person
    Join Date
    Apr 2012
    Posts
    33

    Default

    Does anyone know?

  3. #3
    Iron Guard
    Join Date
    Nov 2009
    Location
    CA
    Posts
    528

    Default

    When using relative X and Y, it's 0.0 to 1. So something like .5X .5Y would be around the center.
    My website: http://www.dotvawxgames.com
    How I made my game: HERE

    What I am doing now: www.warmgungame.com


 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Copyright ©2009-2011 Epic Games, Inc. All Rights Reserved.
Digital Point modules: Sphinx-based search vBulletin skin by CompletevB.com.