Sha256: 6ab605f644e993df708e28dd2712f2a753f9601f99cb9628cab6677bc8d96e87
Contents?: true
Size: 838 Bytes
Versions: 12
Compression:
Stored size: 838 Bytes
Contents
= Tileability Functions related to image creation accept a boolean "tileable" argument. This is a consequence of using 3D hardware acceleration. Try to notice the subtle difference between these two, overstretched images: http://www.libgosu.org/wiki_images/hard_borders.png When you draw an image with stretching factors other than 1.0 (10.0 in this case) or at odd coordinates, it will become interpolated—which, in general, is much better than getting all pixel-y. But take a look at the image's borders. The image of the left girl was created with tileable set to 'false' (the default) and the borders fade out. The image of the right girl, which was created with tileable set to 'true, does not fade out at all, but just ends on its borders. While most images should not be tileable, you should always pass true for map tiles.
Version data entries
12 entries across 12 versions & 1 rubygems