dop2000's Forum Posts

  • I found some strange routines expressed by the AI.

    I really don't recommend using it for Construct. As a test I asked it a few C3-related questions and the results were total nonsense (although seemingly convincing).

  • Just change the properties in the same event you spawn the object.

    -- Object Spawn Object

    -- Object Set Height 200

  • ChatGPT doesn't know Construct as well as other programming languages. It can only help with very basic questions. And will very often give wrong and confusing results.

    It can help with Javascript code, if it's not Construct-specific.

    Construct is intended for people with little or even zero programming experience. Study a few tutorials and built-in examples, and you could start making games in Construct in no time!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • but in my exported NWjs game file, the locations are the same, being NWjs.UserFolder & "savefile.json"

    And you see the file actually created in that folder?

    It's hard to tell what can be wrong. Add "Browser Log" actions to both events to see which one is triggered. Export the game with DevTools enabled, press F12 and check messages in the console log.

  • Can you show your events and JSON string?

  • An invisible layer for the dialogue may not be such a bad idea. It's probably the easiest solution. Make sure to disable "interactive" in layer properties until you need it, to prevent clicking invisible buttons.

    Alternatively you can create this dialogue on an unused layout, add all objects to a hierarchy. And then when you need to show it - create the entire dialogue from the hierarchy.

  • You can set the volume when you start playing a sound, or while it's still playing. Of course you can't change the volume of a sound which has finished playing.

    You can store the current volume in a variable, and use this variable in all "Play audio" actions.

  • Your sound is too short. When you are changing the slider, it has already finished. So changing "SFX" volume has no effect.

    But when you click "X" sprite, it plays at the correct volume set on the slider.

    I suggest using my example with log10() function though, because it's more accurate and allows to change the volume from 0% to 100%

  • ObjectTypeName, not TemplateName.

    Here is what I meant:

    Pick BodyPartsFamily where BodyPartsFamily.ObjectTypeName="Head"
    Body add child BodyPartsFamily
    

    This will attach Head to Body in the hierarchy.

  • The only way is to add all such objects to a family, pick family instance by ObjTypeName and then add this family instance to the hierarchy.

    System pick by evaluate Family.ObjTypeName=variable
    
  • Or there's another object with ScrollTo behavior.

  • As I mentioned in another post, we have no problems with gamepad on Steam Deck in our game. We are using Linux64 export.

  • I'm guessing you need to enable Unbounded scrolling in layout properties.

  • try this