igortyhon's Forum Posts

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

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

  • Hi, I'm not quite sure what the problem is. I haven't noticed any issues.

    If you're exporting to the web, you'll need a web key. if you're exporting a build for Android, you'll need an Android key.

    You create both keys for a single app, and when you export, you use the appropriate one.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You do not have permission to view this post

  • You do not have permission to view this post

  • Hi. Create a group in your events and add any suspicious events to it. The profiler shows the load for each individual group.

    I use this as a life hack.

  • Hi.

    I don't know exactly what the game's requirements are, since the inventory is designed around the player's needs in the game.

    I like to use an array as the main data source for the inventory. that way, it’s easy to change the graphics or decide where to display it.

    I’ve implemented drag-and-drop and added comments. I removed some things to make the example easier to understand.

    After all, it’s also important to remember that the player might not land on an empty slot when dragging.

    fex.net/s/tmrs9xc

  • Hi.

    If you could provide a *c3p file and describe exactly what the problem is, we'll be better able to help.

    We can't guess what you've created in your project.