Game Scaled perfect for phone buy not Ipad...what settings do you use?

0 favourites
  • 3 posts
From the Asset Store
2D fighting template based in the game that defined the fighting games genre.
  • These are the settings I have for fullscreen. On a Phone it scales perfectly, even with reward ads. But on Ipad it's scaled incorrectly. Do I have to create two different versions for Iphone/Ipad?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Check out this tutorial

    construct.net/en/tutorials/supporting-multiple-screen-17

    Most common solution is to use Scale Outer mode, but you might need to make some changes to your game - bigger backgrounds, use Anchor for UI objects etc.

  • Update: I rebuilt the game changing the positions for ALL the sprites using this:

    ViewportLeft(0)+ , ViewportRight(0)- , (ViewportLeft(0) + ViewportRight(0)) / 2 , etc.

    And Also for the sprite alignment

    I set up a "Wall" background with Image Points for all the sprites to align with.

    I used this in combination with the above code :

    Wall.ImagePointX(1) , Wall.ImagePointY(1) , etc.

    On Start of layout I FIRST set the "Wall" width and height to viewport width and height. Wait 0.1 and THEN set sprite positions to the Image Points.

    And It's working great! I'm testing on Xcode and it scales perfectly on the different Ipad simulators.

    I also realized that you can upload 2 versions of you game to the App Store.

    One for Ipad and One for Iphone. Once I understood this, it all made a lot more sense.

    Thanks for your help dop2000

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)