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?
ucfa60ee86cefa52e4a08acd5132.dl.dropboxusercontent.com/cd/0/get/Ch570ueEGYA-4HsVcvIuMjjhJ9TgGBJNyteE1eLCwH063cIhAnZgpg7q-IaCzx6flrwop73D7Da8qne-UEdj53buxBB6gdj2Htv61w7ZPkb5XhqUoIHR8BSluR1OhmJSk5Y/file
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.
uc5c3af504c706948d237a8a3793.dl.dropboxusercontent.com/cd/0/get/Ch5bY5fA6_MgVrfwSsewaJhGc7ObaJF3FtohQX5H6rLOAVf4FDBh7KqQPUZuXXBrR7v_5oxe8kFMzBvn-frTaRVhYEi3Qqiv9huFhRBH5UJiCT-KAkWVrRAOf4NqqfK2k4Y/file
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.
uca8526cfd42416cec5b51574247.dl.dropboxusercontent.com/cd/0/get/Ch4YlOVVWJK2IAY-b7gAsN_tmmTk7zEuAVdFon0YrA9AKMz27IKUarsM2wRb05qdgXgLrBsjWxKFL-SWQL1ASp2fAUOYPDcOVgbT4OCG8Go0a8KhJR0d_5qq505y0Dx7cVM/file
Unless I'm missing something its just average the xy's
And then pick the farthest from there.
uca890ce14ccfb22f7e03ec0ef1a.dl.dropboxusercontent.com/cd/0/get/Ch7U1MoeyqOvKpit8j83241-5AveoxLBwKGSKCl6OGdDU7RZ5bLLrxKJ5NYt3E8p5ornGcbBD9bRCt3L2jId4FR0faxUFE_K3gSqNQnWvtsBFkWk6eh1EAl1wxnact8TgOY/file
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