flambe
flambe copied to clipboard
drawPattern issues
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