Image resolution

0 favourites
  • 7 posts
From the Asset Store
A template that lets your project to support any device, mobile or desktop, and be free of Pixel Art artefacts
  • If I have png files that are 256 color. Will it have improved performance in my game?

    I am going through the Beginner Tutorial. Excellent so far, but I noticed that sometimes it's a bit jumpy and the scrolling is not butter smooth. I understand that this is a limitation of HTML5 canvas, so it's not Construct 2.

    I was wondering, if lower image resolutions can make a difference in the long run, or do the images have a standard conversion they gor through. I use IE9 and I have 16GB memory, so I have plenty to work with as far as the browser is concerned.

  • This blog article about image compression in C2 is probably an appropriate ressource for you to check.

    Let us know if you still have doubts afterward ?

    Also the jumpyness you experiment is probably due to the fact that IE9 does not support webGL and thus only renders in canvas as you mentionned.

    I suggest you to also install and try chrome and firefox (as secondary browsers) to test your games. You might be surprised in the end by the results. <img src="smileys/smiley1.gif" border="0" align="middle">

    Also make sure that your graphic card drivers are up to date.

  • Oh wow, I did not know about webGL. I will try chrome immediately. Thanks.

  • Yes, no jumping in Chrome.

    To recap my first question then, will 256 color images also make a difference?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It wont change the the jumping, etc. The main use is to reduce the size of the file.

  • Newt's right, file size of the image wont have any noticeable impact on performance at all. All it does is mean the game will load faster. 256 colour PNGs (AKA PNG8) usually will come out very small in file size as Construct 2 uses PNGOut.

    Filesize is an important consideration if making a game for mobiles for example as they are usually on much slower networks than you would find on a PC.

  • Just to recap, all images are basically decompressed to bitmap in memory for rendering, so the image format/size has no effect on performance.

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