is it possible to make a sprite out of canvas contents at runtime?
basically, I want to be able to use distort map on something drawn on the canvas
There doesn't seem to be. The Image Manipulator can copy to and from sprites, but there doesn't appear to be any way to grab the canvas with it.
The "Copy from sprite" action in the image manipulator object can grab the image from a canvas, but it's pretty slow. It probably wouldn't work well enough for realtime applications.
It does? Huh. I tried a test before posting my reply and I couldn't get it to work. I made the event in Start of Layout.
Copying from something in start of layout may not work, as the image has not yet been drawn to copy.
sorry to raise this thread from the dead, but I need it again
is it possible to use image manipulator to copy from canvas?
when I try to paste it, it crashes everytime
Do you have a .cap I can check quickly?
Develop games in your browser. Powerful, performant & highly capable.
left click copies from canvas
right click copies to sprite
not to be a pain, but...uh
is copying contents of canvas with image manipulator supposed to work or not?
It's fixed in the next version.
thank you rich
you rock
Haha, I was actually the one that fixed this bug (sorry to steal Rich's thunder)
oh, you rock, too, ashley... I just meant for actually responding to my thread though