igortyhon's Forum Posts

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

  • I use the “glb” format with textures inside.

    To make everything look normal, I bake shadows into the textures, which makes the models less flat.

    Use low-polygon models.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You can upload images to sprite objects, and they will remain there until you close the game, so you don't need to worry about that.

    If you want the images to be saved after closing the game, then you need to additionally save the image data to local storage and then load them from there.

    I have already done a similar example, take a look.

    github.com/igortyhon/c3example-SpriteFromURL-SaveLocalStorage

  • Why do you show a banner immediately after registering the product in the store and requesting the local storage?

    You should first wait for a response from the local storage and check the status of the global variable responsible for advertising, and then decide whether to display the banner or destroy the inap button and not display the banner.

    So, if no record is found in the local storage, you can display the banner.

  • Have you seen the examples that Construct 3 has?

    Here are a few more examples.

    howtoconstructdemos.com/category/isometric

    Now you can not only make classic isometric 2D games like in the examples above.

    You can also make games using a 3D camera. You will actually be making a 2D game with a top-down view, but by slightly rotating the camera and sprites, you can make Construct 3 automatically create isometry.

    Here you can test and buy many games with source code for Construct3.

    codecanyon.net/category/html5/games

  • When you press the button, does the content of your variable exactly match the name of the layout?

    Navigating to a layout by name is a fairly popular option, and no glitches have been noticed with it.

  • There is not enough data for training, and there are very few freely available examples online, this is not enough for training.

    To pull this off, every Construct3 developer would need to have a spy in their engine that would peek at their code and collect it in big data, and then learn somewhere on the servers.

    Who would agree to give AI access to their projects?