Scale for mobile screen

  • Hi

    Ive done my grapichs for screen 480x960

    BUT how do I use this to scale it down

    windowWidth / 2 and windowHeight / 2

    Regards

    flemmig

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Try using the 'set layer scale' action.

  • HI

    Yes I see that I can set the layer scale

    but wonder if there is another way..

    I mean shouldnt I first somehow detect the mobile screen size

    <img src="smileys/smiley1.gif" border="0" align="middle" />

  • I think most mobile screens use a similar standard... Look up the tutorial for creating mobile games with Construct.

  • thanks but there a quite a difference in screen sizes

    in the tutorial it stops when coming to that issue:

    """"

    This makes your app take up the entire screen, no matter how big it is, rather than using a fixed size.

    Now, you'll need to set up some events to reposition and resize objects depending on the size of the screen. You can get the current size of the screen with the WindowWidth and WindowHeight system expressions. We'll leave this down to you. It will take some tweaking and testing. We're hoping to add some features to make this step easier in future - we'll update this tutorial once they're available! In the mean time, you'll have to make some events to handle this yourself. """"

    So if anyone have a Idear in how to use WindowWidth and WindowHeight

    please let me know

    Regards

    flemmig

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