igortyhon's Forum Posts

  • heres a video to help anyone out: youtu.be/wOM54fQDOSQ

    Hi.

    You can save this test as a *.c3p file and upload it here.

    That way, we'll be able to take a closer look at how your collisions work.

    But in platformers, this collider is always hidden, and various animations are attached to it.

  • You posted the code for the entire game- where should I look for the bug? Where exactly is it supposed to appear?

    I tried playing through the game, but I couldn't even beat the tutorial.

    Well, at least the music and graphics are nice!

  • Hi, try switching the rendering mode.

    I've also noticed some display issues in Safari/

    It might not be related, but it's worth checking.

    github.com/Scirra/Construct-bugs/issues/9087

  • 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

  • Please enable this option when saving this example.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • ....

    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