0 Favourites

How do I change screen resolution to mobile device res

  • hey guys,

    i wanted to know how to change the entire game size to the mobile device screen res

    For example i'm making a game for an iphone, but i don't have an iphone right now, so i'm testing on android...

    i'm using a high res for iphone 5 now, but i will need to change the graphics according to the screen size later, also on android i would like to make it "adaptive".

    PS:

    You know, i'm trying to preview some text, a couple of rectangles and random movement con CocoonJS over wifi and it's running at 5 fps on S3 Mini

    any suggestion?

  • I'm trying to figure-out the same thing. So many posts, and I've tried many, yet I'm not seeing the right result on my S3. I'm using Intel XDK to compile. thx

  • Try this tutorial, don't aim to resolution, better aim to aspect ratio.

  • I'm trying to figure-out the same thing. So many posts, and I've tried many, yet I'm not seeing the right result on my S3. I'm using Intel XDK to compile. thx

    Is it slow for you too?, i don't understand why it doesn't work, also i don't even know how to install crosswalk so without CocoonJS i'm dead.

    Sisyphus

    Thanks for the link, i'll try to use it

  • You don't need to instal crosswalk - you export it from C2

    I have S3 and never have any performance issues with crosswalk and XDK - unless guys from intel break some stuff.

    What exactly are you trying to do with this "adaptive"?

  • I'm not having issue viewing html, but when I export it to Android, I cant seem to get the layout right. There is the layout # and the Window size. What are you all using.

  • Construct 3

    Buy Construct 3

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

    Buy Now Construct 3 users don't see these ads
  • Yes because you are previewing html on your desktop and mobiles are quite different in almost every aspect.

    Layout size - Size of let's called this "area" where your game happens - think of it as a level size

    Windows size - Size of your game window. How big, in pixels your game will be on preview and after export. For example 1280x720 pixels means that your game window in browser,mobile or desktop will have 1280 pixels wide and 720 pixels tall.

    I'm always testing it on my S3 with Window Size 1280x720 (layout size does not matter) and I'm using "Unbounded scrolling" with Scale outer.

    But you need to do some manual sizing and positioning for your objects to work correct.

  • So, guys,

    now i'm having another problem...

    I want to preview over wifi this game with CocoonJS Launcher and it laggs like hell, it's based on the runner template offered in construct...

    I attached it , if anyone has the same problem please comment...

    It runs at 5 fps!!

    I'm using an S3 Mini, i can run Asphalt8 so this shouldn't be a problem...

  • I don't have an access to wifi, so can't help with that.

    But it runs smoothly while testing it over USB and XDK.

    Edit:

    Forgot to say, I was testing it on S3

  • Can someone help me? i can't make it work smoothly with CocoonJS

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