Hello everyone, it’s been a while since the last time I was here.
Anyway. Lately I’ve been experimenting a bit with the canvas component and I can’t figure out if there’s a way to move a sprite (actually just a portion of it) outside the canvas boundaries.
Correct me if I’m wrong but this checkbox should do the trick, shouldn’t it?
Unfortunately it doesn’t seem to work. Whether it’s checked or not I still can’t move the sprite any further than the canvas borders.
Is there a way around that problem? (Preferably without extending the canvas outside the screen as I’m then saving the image on my device and would like to keep only the part of the canvas I can see on my screen)
That property is not for moving sprites outside a canvas. It’s for detecting moves (dragging) that start inside the canvas and move outside of it.
To simulate moving sprites outside the canvas, make the canvas bigger than the screen. That way the sprite will keep being inside the canvas but outside of the view window.
Okay this makes sense but if I make the canvas bigger than the screen is there a way to save only the portion of the canvas that I can see as an image? (And not the whole canvas)
In that case I would put the canvas inside an arrangement. Make the arrangement the size of the screen (or any size you need the image to be) and the canvas bigger. Then when saving the image, use this extension to save the arrangement, not the canvas.