Hey Community!
Now that everybody thinks that the iPad 3 will have twice the resolution, it’ll be time to consider making Apps even slimmer.
Instead of having huge Images, it would be great to set Images as Patterns and repeat them horizontally and vertically!
This would allow us to make nice GFX, with less Code to achieve the same effect (and hey isn’t that Coronas slogan?).
It could look like this:
[lua]-- newImageRect(src,width,height,repeatX,repeatY)
display.newImageRect(“pattern01.png”,display.contentWidth,50,true,false)[/lua]
Thanks for reading!
Chris [import]uid: 13097 topic_id: 22491 reply_id: 322491[/import]