Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upGraphics.Collage doesn't allow to offset the texture #511
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
evancz
May 11, 2016
Member
Sorry for the slow reply, it has been a busy time! All the Graphics.* modules live in evancz/elm-graphics now, so it makes sense to move issues like this there.
|
Sorry for the slow reply, it has been a busy time! All the |
evancz
closed this
May 11, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
w0rm commentedFeb 26, 2016
I found out that the DOM is a wrong engine to render my HTML5 game due to performance, and wanted to use the canvas, however I discovered that
Collage.textureddoesn't allow to offset the texture, that I need to render animation strips.Also, waiting for
img.onloadand redrawing the whole canvas is bad, because its uncontrolled. A task to load an image would be a much better approach. elm-webgl uses the same approach to load textures.