btw I got that code extracted. and I got what I was wanted.
why don't you answer here so other people can also know
luckyrawatlucky#2106
Develop games in your browser. Powerful, performant & highly capable.
Write your discord
what it means?
this is what I did and I got this result 1,6,8,15,28,40,45,66,84
if you play this game. then check the dropdown which showing number of pieces of image.
Try to use a custom img. you'll notice that it number of pieces are different on different image sizes. it calculates more than 5 possible number of pieces that can be done for that image. I want to know how they did calculation for that. I did inspect that page and found that particular code which does that task but problem is I'm not a programmer and don't know programming language. if anybody knows then can you please convert this into construct 3?
Thanks in advance.
Util.calcPieces = function(options) { var w = options.image.width, h = options.image.height, select = document.getElementById('set-parts'), selectedIndex = 0, option, size, cols, rows, parts; select.innerHTML = ''; for (var i = 0; i < options.options.length; i += 1) { var size = ~~Math.sqrt(w * h / options.options[i]), cols = ~~(w / size), rows = ~~(h / size); while (cols * rows < options.options[i]) { size--; cols = ~~(w / size); rows = ~~(h / size); } if (parts != cols * rows) { parts = cols * rows; option = document.createElement('option'); option.value = options.options[i]; option.innerHTML = options.template.replace('%d', parts); select.appendChild(option); if (options.options[i] === options.selected) option.selected = true; } } };
then I think whoever train chatGPT then he should share those texts which used to train chatGPT. So everybody can train chatGPT just by copy paste.
because not everybody knows how to train it properly including me.
If I train ChatGPT for Construct 3, will it retain that training indefinitely, or only for the specific chat history? If I delete that conversation, will ChatGPT forget everything it learned? If ChatGPT retains the training, is it possible for anyone in the world to ask ChatGPT about Construct 3, and ChatGPT will remember its training?
What are the chances of having something like Construct 3 + ChatGPT?
Edit: having something like Generate Events with chatGPT. If I say "make 'player' to collect "coins" and add score" then it will create events action conditions automatically for that in Construct.
I didn't heard about sandbox before I did google but still didn't understand what it is. please give me link where to get it.
but we can download and play only when app is approved until then app doesn’t available to download
I want to test google play service in preview otherwise I have to export apk then upload to playstore then wait for approval and after that I can test if its working or not. So how can I test it in construct preview?
I followed official documentation here but at the end it only displayed google login popup I want to test leaderboards and achievements too.
You do not have permission to view this post
Member since 27 Aug, 2015