flambe
flambe copied to clipboard
PatternSprite not repeating properly in iPad1
There is a problem with PatternSprite where it does not display the provided image properly using the iPad 1. On later iPads it works fine.
The problem can be seen when you want an image to repeat horizontally. Vertical repeating of the sprite works fine.
This problem is also present in iPhone 5, although I only had a chance to test it once.
Only tested using HTML5 build and not with Flash version.
Hmm, that's odd. Can you describe what it ends up looking like or post a screenshot/test case?
Hi there,
I did a test project to test this out which you can access on an iPad1 https://dl.dropboxusercontent.com/u/2122500/PatternSpriteTest/index.html and https://dl.dropboxusercontent.com/u/2122500/PatternSpriteTest/index.html?flambe=html
The first bar is the original image. The second and third bar are scaled.
You would notice that the second and third bars have certain artifacts making it seem that the pattern is not being positioned properly.
With this test I found out that the problem happens when the pattern sprite is scaled. And the problem happens on both flash and html5 versions on the iPad1.
Here's a screenshot just in case you do not have an iPad in reach. https://dl.dropboxusercontent.com/u/2122500/PatternSpriteTest/sc.PNG
The problem also appears on the iPad3.
Hmm, is this still broken? I remember verifying it on an iPad 3 a month ago, but your test case looks fine now, and I can't reproduce it in my own tests. Maybe it got fixed in an iOS patch?
I shall give it another look and will post my findings here. Thanks.