Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PatternSprite not repeating properly in iPad1 #118

Open
accidentalrebel opened this issue May 15, 2013 · 6 comments
Open

PatternSprite not repeating properly in iPad1 #118

accidentalrebel opened this issue May 15, 2013 · 6 comments

Comments

@accidentalrebel
Copy link

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.

@aduros
Copy link
Owner

aduros commented May 15, 2013

Hmm, that's odd. Can you describe what it ends up looking like or post a screenshot/test case?

@accidentalrebel
Copy link
Author

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.

@accidentalrebel
Copy link
Author

Here's a screenshot just in case you do not have an iPad in reach.
https://dl.dropboxusercontent.com/u/2122500/PatternSpriteTest/sc.PNG

@accidentalrebel
Copy link
Author

The problem also appears on the iPad3.

@aduros
Copy link
Owner

aduros commented Jul 29, 2013

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?

@accidentalrebel
Copy link
Author

I shall give it another look and will post my findings here. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants