I want to download an image I've made at runtime at a specific size, but all the methods I've tried alter the image scale.
Is there a bullet proof way to get the size I want?
dropbox.com/s/sbdrjlba5tkxqgj/rubberband.c3p
The trampoline part would be a bit more complicated.
You do not have permission to view this post
A suggestion has been made of the platform for a work around for the issue of the Drawing Canvas going blank when it gets resized. This suggestion is based on Ashley's idea of what could be done.
construct3-21h2.ideas.aha.io/ideas/C321H2-I-226
Obviously it wouldn't be a perfect solution, but the addition would extend DC's use tremendously.
Please Vote, and Share.
dropbox.com/s/apv49zqadv9rotn/easystartilemove.c3p
Well mostly for the editor. A billboard function specifically. I mean sure a 2x2 is easy but bigger mesh are just not feasible for in editor.
Really wish we had some basic stuff like matrix transforms.
tutorialspoint.com/computer_graphics/2d_transformation.htm
Develop games in your browser. Powerful, performant & highly capable.
X = (xmax+xmin)/2
Y = (ymax+ymin)/2
Oh, I'll have to try that.
Here's another method that tries to get the points like the other examples.
Seems there are some corner cases though.
dropbox.com/s/qkjd7y67zox7c3m/testricky.c3p
Unless I'm missing something its just average the xy's
And then pick the farthest from there.
dropbox.com/s/s92d2aiems56og5/DrawCircleAroundBoxes.c3p
Offset with the half the square if you want it inside.
Maybe purchase a license?
There is no grid movement in Construct 2.
Also this is Construct 3. 👆
The easiest method for grid snapping with Drag and Drop:
On Drop: sprite set position to int(sprite.x/gridSize)*gridSize, sprite set y to int(sprite.y/gridSize)*gridSize