Change texture wrapping on TiledBackgrounds

0 favourites
  • 1 posts
From the Asset Store
High quality sound effect pack, in the following categories: Dark, Mystical, Peaceful
  • I think we should be able to configure texture wrapping on TiledBackgrounds. Why?

    I'm working on a project that uses a large screen resolution and needs to be downscaled on most computers. When a TiledBackground is downscaled, filtering is applied to the texture to make it look nicer. However, it is not always desirable to tile in all directions, and this filtering can cause 'texture bleed' on the non-tiling edges. For example:

    <img src="http://img197.imageshack.us/img197/8857/5d7l.png" border="0" />

    This image tiles nicely to the left and right, but not up and down. And, when downscaled, the black border on the top bleeds through on the bottom, due to the filtering. In OpenGL, this problem can be solved with the use of the GL_TEXTURE_WRAP_S and GL_TEXTURE_WRAP_T texture flags. Allowing Construct to change these flags would make TiledBackgrounds much more useful. As it stands now, I have to mis-use 9-Patches to work around this problem.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)