Closed Lucasvo1 closed 1 year ago
Sorry for the delay, I'm on vacation right now. Short answer is yes, I'll put together an example to show how this works.
Here's the simplest way to scale images that are loaded in as Two.Sprite
s: https://codepen.io/jonobr1/pen/ZEowwQR
How can I resize an image loaded into a sprite? Now I use the following:
var sprite = two.makeSprite('./cala-text.jpg', two.width/2, two.height/2);
The actual dimensions of the picture are 15000x150000. When I resize them on the server before it works. Is it possible to do it client-side?