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

drawPattern issues #334

Open
markknol opened this issue Mar 30, 2015 · 0 comments
Open

drawPattern issues #334

markknol opened this issue Mar 30, 2015 · 0 comments

Comments

@markknol
Copy link
Contributor

See http://projects.stroep.nl/flambe-patternsprite-issue/ (source project included) or check out source of main class here https://gist.github.com/markknol/9aaaa5e88287fd308cf8

I have a custom pattern sprite where you can define the offset of the pattern using a left/top animatedFloat value.

 g.drawPattern(texture, left._ % width._, top._ % height._, width._, height._);

What I see

  • Canvas seems to wipe the content like a mask
  • WebGL seems to move the content
  • Flash seems to act as the WebGL version
  • I don't see any repetition/pattern

The problems

  • The rendering differs per target
  • Both does not seem to repeat when the destX or destY change.

Probably related to #118

I see this behavior in Chrome and Firefox

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

1 participant