igortyhon's Forum Posts

  • That's how all kinds of spyware and hacking programs work. The developers of operating systems and browsers themselves don't want your game or program to know anything about the user's actions outside of your game.

    Of course, there are all kinds of services that legally monitor your mouse or keyboard in the background all the time, but that's a whole different story.

  • Hi.

    There's no loop set in your animation settings.

    Of course, once the animation ends, you'll need to run it again.

    As for the wait you're adding, it's just a workaround—it simply forces the instructions below it to execute on the next frame.

  • Try Construct 3

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

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

    You were close. You just need to place the spawn at the start of the layout.

    I only have Construct 3, so here's a screenshot of your code.

  • Hi.

    If you just need to check for duplicates in an array, you do it the same way as in other programming languages—using temporary variables and a loop.

    But I see that you’ve included a choice of three rewards, just like in modern roguelikes.

    We’ve already discussed this here and even provided examples—but in this case, you need not only to detect duplicates but also to award new bonuses or increase the level of existing ones.

    I can’t find that thread, but I’ll give you the examples I’ve saved.

    fex.net/uk/s/t3cyssb

  • .... Think it will eventually happen over time?

    bsky.app/profile/construct.net/post/3mh6qn6ptis27

  • hello,

    I'm trying just to establish a basic system of saving a few variables. It's just some numbers, really. Originally the plan was an Array file, parses to an object, gets edited and then written back to the file. Apparently, however, Construct 3 lacks the ability to write to any files...

    howtoconstructdemos.com/saving-and-loading-system-with-multiple-save-slots

    editor.construct.net

    github.com/igortyhon/c3example-SaveGame-to-local-storage

  • I don’t fully understand the code yet. Why does it suddenly work even though I did not set the second event to Invert? Does Else automatically make the next event the negative condition, or how exactly does that work?

    Here is an example where this problem is solved in two different ways; you need to select the solution you prefer.

    fex.net/s/2be0lvk

  • Hi.

    I'd suggest you put these objects into a group to get rid of all those “or”s.

    I'd also recommend moving your “else” condition somewhere else.

    Here's an example in the screenshot.

  • ... Could someone help me?

    If you provide the “*.c3p” file where the problem occurs, we'll have a chance to identify the issue.

  • ...

    I do have one external question though: I saw that there were problems with the Steam extension and I read a bit about it, but it seems to be fixed now, according to Ashlay, right?

    I publish games for the web and mobile devices. I’m not qualified to answer your question.

    But I know we have people here who do that and are always discussing it; I don’t think they’ll notice your question about Steam here.

    It might be better to check out the latest threads about Steam or create a separate question.

  • ...

    igortyhon Thanks, but WackyToaster helped me solve the animation issue. Can you help with something else though? I have a function counting how many sprite are overlapping, but once you overlap the sprites and then remove them, the count never goes back to 0. What am I doing wrong?

    OverlapFunction.c3p

    I noticed you like tanks a lot. If you don't mind me asking, were you once a tanker?

    Construct3 offers many ways to achieve this.

    That’s why I’ve created two versions: one runs and checks continuously, while the other runs only when something happens.

    You can uncomment the desired group to test it.

    fex.net/s/sxn9cmc

    P.S. No, fortunately I’ve never been a tank driver; I draw tanks and make games with them because my son is into it, and he draws them much more often.

  • ...

    My question is:

    How can I calculate the distance from a card to the nearest object in a family, when there are multiple objects in that family?

    Is there a recommended way to do this in Construct 3?

    I’m still new to Construct 3, so any tips would really help.

    Thanks a lot!

    Thorsten

    Hello,

    If you have several objects on the stage, you need to specify which one you want to select. In your case, you can select the one closest to the Card. Once we have selected the object, we can determine the distance to it.

    Here is a simple example.

    fex.net/s/zorpvbe

  • Can anyone please help me with this. When the Pineapple is overlapping the Flame, it should trigger a "Cooking" sprite animation and when it's not, it should play the "NotCooking" animation once and then stop. The problem is that the "NotCooking" animation loops, even though looping is not enabled for the sprite. I don't want it to loop.

    Edit: Updated Screenshot

    I've tried many ways to fix it. I tried Trigger Once, For each, Picking UID, Nesting, Else, On animation finished, and I'm not doing it right. I don't know why the animation loops when it's not set to loop.

    Hello.

    Please upload *.c3p and I will make it work stably and efficiently with comments.

    It is inconvenient to write in text, and it is not certain that I will be able to explain it in text..

  • Hello.

    The lighting looks great and is exactly what 3D models are currently lacking.

    Does it only work with your model plugin (Mesh)?

    Do you not illuminate built-in models (3D models) because you don't have the technical capability to do so, or for some other reason?