luckyrawatlucky's Forum Posts

  • why don't you answer here so other people can also know

    luckyrawatlucky#2106

  • 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.

    Tagged:

  • 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

  • yes exactly,

    I think there should a library of code snippet. so we could find our answers in library like

    create object: runtime.objects.Sprite.createInstance(0, 100, 100) etc

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Did it work for you? Did you select "Yes, collected data is processed ephemerally" or No?

    Yes I did select yes

  • I did select same Installed apps.

  • hi Ashley I’m making games in construct since 2015 but still I don’t have any other programming knowledge like javascript. I’ve started reading official javascript course.

    my problem is when I write a code then to check if my code is working or not, is my code correct or incorrect I have to simply run preview but if I’m doing something wrong in code or if I don’t know how to make something in code, I have 2 ways to get it. first keep trying by changing code or keep experimenting and second way is to ask in the forum.

    Now my suggestion is (I know I’m asking silly thing) if I make something through events then is it possible to construct generate a script page out of it or I can say that convert that eventsheet into script or maybe toggle sheet between sheet and script. So if I make something through events then I can know how I can make that in script. it will help many people like me to learn code by myself.

    Thanks