matter-js icon indicating copy to clipboard operation
matter-js copied to clipboard

On the issue of texture cropping

Open MLH-AIDS opened this issue 1 year ago • 1 comments

The texture here uses image links, but I only want to use a small portion of the large image instead of using PS to cut it separately. Cutting and drawing images using local JavaScript is easy, but it doesn't seem to work here. I spent an hour and a half asking many questions, and finally found out that the "drawImage" in the engine only had 5 parameters, so I modified the local engine file. I hope to include the cutting feature in the next update because I don't know how to compress files

MLH-AIDS avatar Apr 29 '23 18:04 MLH-AIDS

Screenshot_2023-05-13-13-03-30-72.png Screenshot_2023-05-13-13-06-04-22.png

MLH-AIDS avatar May 13 '23 05:05 MLH-AIDS