igortyhon's Forum Posts

  • It works now, but it kinda ruins my background, because it doesn’t cover the entire screen. Do you know how to fix it?

    That's not a problem-just stretch the background, or move the portal away from the edge, and then you won't need to check that box, and nothing will pop out.

    Why do you keep moving the background behind the character every tick? Put the background on the bottommost layer and set the parallax to 0%.

  • Try turning this on.

  • Hi, my console showed an issue with one image; I replaced it and everything opened up.

    I saved this project and everything opened up.

    It's better to use a single-file save; it's much faster and more reliable.

    And don't forget to create different save files every day.

    file fex.net/s/7yol5st

  • It doesn't get any smaller; you can see in the video how you hit it with a bullet, which means the collision is the same, but something happened with the rendering.

  • Here's an example of switching to full-screen mode and back.

    construct.net/en/forum/construct-3/how-do-i-8/properly-set-cameras-location-188514

    But if you've already minimized the game window, it has lost focus in your operating system, and you'll need to hover over it and maximize it yourself.

  • Hi!

    You uploaded the file with the error, which helped speed up the process.

    I took a few screenshots to explain my point.

    First, I removed all the extra bee objects and left just one; this lets us change its settings, and whenever it spawns somewhere, those settings will always be the same.

    I changed one parameter on the bee, and it flew away.

    But I don’t like your spawn function—it’s a total clunker. Any looping function should happen instantly in a single frame; the fact that you added a delay simply interrupts it and restarts it. This isn’t standard practice—it’s a workaround that’s been around since Construct 2.

    But we need a reliable solution, and we shouldn’t use any delays in the looping action.

    I created a new function, and as you can see, during spawning, we configure the bee and start a timer.

    Then, when each bee’s timer expires, it will find its path and start moving.

    This is just one of the possible ways to spawn a wave of mobs.

    Download the project file

    fex.net/s/0ex1myf

  • You do not have permission to view this post

  • I've never used these before (Viewport and lerp), where can I read more about them? Could you also explain what you do with lerp? Thank you.

    In Construct 3, everything is designed very intuitively; even if you don’t know a specific term, you can select any object and see what options it offers. I’ve marked them in green.

    “Lerp” is simply interpolation; if I were to just jump the scale every 0.3 points, it would look choppy, like a frieze, but this function makes it smooth.

    Basically, this does the same thing but more smoothly.

    Try commenting out one of them and you’ll see the difference.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Here's a simple example of zooming with the mouse wheel.

    You can adjust the zoom level yourself.

    I recommend building the user interface on layers that don't scroll and aligning them to the desired edge of the layout when they appear—as I showed in the example.

    fex.net/s/b2palxd

  • If you want to scale from the edge of the layout, the camera view will stop at the edge. To prevent this from happening, enable this option.

    It's great that you provided an example; usually, that's all it takes to understand how to help.

  • Hi.

    It's not clear what you want to happen with the camera.

    There's an error in the code you provided. I've highlighted it in orange in the screenshot.

    You need to place these screen extension requests in the middle. otherwise, they'll be executed 60 times per second after the first tap.

  • Hi. I don't know how to add a special character.

    But here's another way.

    You can replace the space with a transparent icon sprite.

  • How can we help you without your code?

    Please attach the *.c3p file; this will make it easier for us to resolve the issue.