Drawing an image on a canvas #6841
Unanswered
voidapex11
asked this question in
Q&A
Replies: 1 comment
-
|
I think you should take a look at the code of the Image widget for example, the function |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to make the chrome Dino game (chrome://dino) in rust. To avoid insanity in the form of manually calculating and hard coding each asset as a mesh, I would like to draw part of the sprite map (a png) on the canvas.
I think that I have tried everything, but I have made no progress. How can I do this?
Thanks in advance for helping!
Beta Was this translation helpful? Give feedback.
All reactions