To elaborate question:
Assume I have a 128x128px texture that I want to fill entire screen with. I want a tiled pattern, not a stretch.
One way would be to create a number of display.newImage objects and tile these textured rectangles, but obviously it is a performance-wise very much an inferior solution to creating a one textured rectangle the size of the screen and setting it’s top/right and bottom/right UV coordinates to more than (1,1).
As far as I know, Corona >>UNFORTUNATELY!<< doesn’t give us access over UV coordinates (although it would be extremely useful for many purposes), but I think I have seen somewhere on forum there was a trick to image tiling (might be wrong).
Also, the API page for displayObject.width property shows a comment that changing .width and .height of the image crops the image. I tried it with daily build 811 and obviously the “bug” was fixed (unfortunately).
Anyway, wanted to see if anyone found out some tricks or hidden features that would allow us to manipulate tiling/ UV coordinates of a texture quad.
Thanks
Nenad [import]uid: 80100 topic_id: 26287 reply_id: 326287[/import]
