Resolution of images

Discussion in 'How Can I...?' started by srivee11, Dec 21, 2015.

  1. srivee11

    srivee11 Boxer

    Joined:
    Nov 16, 2015
    Messages:
    51
    Likes Received:
    1
    Hi. FOR EXAMPLE IF I'M IMPORTING A SMALL BALL IMAGE (PNG) SHOULD IT'S RESOLUTION BE 1080 PIXELS FOR GOOD QUALITY ON ALL DEVICES?
     
  2. Christoph

    Christoph Miniboss Boxer

    Joined:
    Oct 4, 2015
    Messages:
    2,807
    Likes Received:
    2,309
    72dpi and RGB color space. The resolution must be a 1x1 ratio exactly the way you want to make it appear in your game. If it is small then it can be something like 32x32px or 64x64px, if it is big then it is something like 256x256px or 512x512px. 1080 pixels would almost cover the entire screen since the native resolution of BB retina screen output is 1136x640 pixels. Hope that helps.
     
  3. jcalle

    jcalle Miniboss Boxer

    Joined:
    Sep 25, 2015
    Messages:
    1,193
    Likes Received:
    541
    Hello, for character and enemies, the best resolution is 128x128px for mobile or 256x256px for Ipad.
     
  4. srivee11

    srivee11 Boxer

    Joined:
    Nov 16, 2015
    Messages:
    51
    Likes Received:
    1
    THANKS A LOT!!!:)
     
  5. srivee11

    srivee11 Boxer

    Joined:
    Nov 16, 2015
    Messages:
    51
    Likes Received:
    1
    Yes.Thanks
     
  6. srivee11

    srivee11 Boxer

    Joined:
    Nov 16, 2015
    Messages:
    51
    Likes Received:
    1
    If my image consists only of one color and if its resolution is 1px/cm will its quality be good on all devices?
     
  7. netkomm

    netkomm Avid Boxer

    Joined:
    Nov 23, 2015
    Messages:
    274
    Likes Received:
    143
    Since the resolution of the canvas automatically resizes according to the device, the best approach shoulb be somwthing along this line:

    - work with the lowest resolution screens when you create the character since they will keep their resolution (will look smaller on bigger displays but not streched out like other engines do)

    - work with the highest resolution screens in mind when you plan your backgrounds so that they visualise correctly on big and small screens alike (will show partial area on small screens)
     
    hoangtuanm likes this.
  8. nthen778

    nthen778 Boxer

    Joined:
    Sep 25, 2015
    Messages:
    47
    Likes Received:
    10
    So, if the images have been resized in Build Box, will it lose it's resolution?
     
  9. jcalle

    jcalle Miniboss Boxer

    Joined:
    Sep 25, 2015
    Messages:
    1,193
    Likes Received:
    541
    Although it is resized in Buildbox, in Atlasses it is the original size
    The size has to change before passing it to BB
     
    Last edited: Dec 23, 2015

Share This Page