2x Graphics for HD Devices?

0 favourites
  • 9 posts
From the Asset Store
Photoreal planets rendered over transparent. Five different resolutions and phases for each planet. Also includes Space
  • Hi guys

    I'm considering using Construct 2 to start porting some of my games to devices.

    However, there is one missing feature that is very important to me.

    • The automatic loading of HD images on devices

    if a device is of a certain resolution (e.g. 2x the size of 480x320) it all load images with the suffix etc.

    Corona / Gideros SDK both support this and I was wondering whether there was a way to handle this in Construct or one of the wrappers used to take it to mobiles?

    Thank you for your help!

  • I don't think that it's quite possible to do in Construct 2, however if you're looking at Android you can upload different APKs for each device configuration. This means you would have to maintain two versions of your game, but its something to look at

    http://developer.android.com/google/play/publishing/multiple-apks.html

  • Basically, you can store the sprites in the pool layout, each one sprite has 2 different sizes such as SD and HD.

    Then, compare width and height of device, if is less than HD resolution, you do actions to create sprites with SD resolution, otherwise using else you may create sprites with HD resolution.

  • Android devices cover all manner of pixel ratios. Just a handful of devices in our office cover 1.0, 1.3, 1.5, 2.0, 2.24, and 3.0. Surely you're not going to create different artwork for every possible value? I'd recommend just designing for the highest resolution you want and let C2 scale it.

  • Hi Ashley

    That's actually the standard way of dealing with different ratios and pixel densities. Don't get me wrong, I absolutely love construct, but I really think this is a very important missing feature.

    Most of the top SDK's handle loading assets this way - Corona/Gideros/Stencyl, even Gamesalad as a resolution independence feature that allows you to load HD assets.

    You wouldn't necessarily worry about creating 1.2, 1.5, 1.7x assets etc, but you should definitely worry about loading low res graphics on low powered/lo-res devices and loading hi-res assets on high powered/hi-res devices.

    So, having at least 2 sets of assets - one SD and one HD would definitely be the way to go.

    Trying to run a game designed for 1920x1080 on a 480x320 Android device might not be optimal as far as speed goes and neither would the opposite, as the graphics would look very blurry/pixelated.

    The other bonus is that if you decide to update your apps in the future ( as resolutions get higher ) you can just upload higher resolution graphics with a (for example) suffix and the engine will take care of the rest ( only use those graphics if the device is a very high definition TV or tablet ).

    If you design your graphics as vectors, then exporting different sets of assets is no issue at all :)

    I really think that this would a really good feature for Construct 2 to add as it is currently the best/only way to make sure you graphics look good across a range of devices (short of using vector graphics).

  • So you mean some sort of automatic storage in the image editor that lets you store different quality variants for each frame?

  • Basically, let's say you have an image of a cat at 128x128 pixels.

    This will be the standard lowest version of your asset.

    In your images fodder you also include - version (256x256 pixels)

    If the device is over a certain resolution ratio, the graphics gets loaded instead of the standard one

    (The base device resolution is considered to be 320x480 or 480x320)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Joannesalfa's solution above works well for this.

  • Hi Thank you guys for that!

    I was just reading through the topic and trying to understand it :)

    Would you guys be able to possibly take a simple screenshot or guide on how I would load a single graphic - SD and HD?

    I'm still new to Construct and experimenting, so no really sure how to do the above.

    Thank you heaps in advance!

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