igortyhon's Forum Posts

  • Hi.

    At the beginning of the game, where you have data loading, you can add a block like this.

    Typically, the platform’s guidelines or documentation specify which workarounds they recommend to bypass the built-in capabilities of the browser’s control buttons.

    // Disable unwanted page scroll.
    window.addEventListener("wheel", (event) => event.preventDefault(), {
     passive: false,
    });
    
    // Disable unwanted key events and spacebar scrolling.
    window.addEventListener("keydown", (event) => {
     if (["ArrowUp", "ArrowDown", ""].includes(event.key)) {
     event.preventDefault();
     }
    });
    
    // This is a fix for handling visibility change
    // on webview, it's for an issue reported for Samsung App.
    document.addEventListener("visibilitychange", () => {
     if (document.visibilityState) {
     if (document.visibilityState === "hidden") {
     application.publishEvent("OnWebDocumentPause", "True");
     } else if (document.visibilityState === "visible") {
     application.publishEvent("OnWebDocumentPause", "False");
     }
     }
    });
    
    // Disable context menu appearing after right click outside of the canvas.
    document.addEventListener("contextmenu", (event) => event.preventDefault());
    
  • I asked Gemini if it could create a shader for me - every attempt failed, so after about 10 iterations, I handed the project over to ChatGPT and it fixed it in 3 attempts.

    If anyone's interest, it's here:

    https://drive.google.com/file/d/1zE1s13RzZPtttzZrjiOLmEyAa1NL8Av_/view?usp=sharing

    Three parameters - radius, width and height (you need to set the latter two to the size of the sprite).

    Thanks for everyone's help.

    That's an awesome result-now that's what I call putting AI to good use!

    Not only did you solve the problem, but you also shared the solution with the community!

  • ...

    Any ideas?

    ...

    fex.net/s/4amtbay

    Hi, there's also an option using an HTML element, where you can round the corners using CSS.

    But it offers fewer customization options than a sprite.

  • If you never include this plugin packaging option in your projects, then you'll need to search for this plugin online.

    construct.net/en/forum/construct-3/how-do-i-8/solved-fix-mysterious-tile-188262

    Perhaps one of your colleagues on the forum has such a plugin.

  • Hi. Open the LTS version of the editor via this link.

    editor.construct.net/r449-4

    This version has long-term support through the end of 2026.

    Delete your plugin and save.

    You will then be able to open the project in newer versions.

    Or contact the plugin developer and ask them to update the version to v2.

  • ..

    I was just using click on object. Nothing special. How would adding another 3D object change the fact that I can't click on it?

    I was referring to a 2D hidden collider.

  • Never use the model's hitbox for collisions or other interactions; instead, create an invisible sprite and attach the model to it.

    This isn't just specific to Construct 3—it's generally good practice to use a separate invisible collider in the shape of a square, capsule, or circle.

    If you still need the model itself to handle collisions, enable the bounding box around the model and use that as a guide.

  • I like this asset too, but unfortunately the developer has gone missing.

    You can add a sine wave to the example you already have.

    Here's a simple example I made.

    github.com/igortyhon/Construct3-Simple-Examples/blob/main/Water-Sinus-wave_r476-3.c3p

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Please enable this option when saving this example.

  • ....

    Has anyone else experienced this problem?

    Can someone confirm this behavior?

    ....

    How can we verify this without having the image file?

  • You do not have permission to view this post

  • If you upload the *.c3p file, I'll be able to take a closer look.

  • Either increase the size of the text box or decrease the font size.

  • Hierarchies are a great thing—before they existed, we had to use a lot of shortcuts.

    You can select several objects, and then, without deselecting them, right-click on one of them, and there

    or via events

    And the best part is that you can prepare ready-made spawn templates in the repository.