dop2000's Forum Posts

  • Try this: open C3, open console log, clear it, then try to open the project. The last error in the log should be the one that matters.

  • When you start Remote preview in the editor, it generates a link like this:

    https://preview.construct.net/#qutzwyhq

    That's the ID, you can simply copy/paste the entire link.

  • I believe the relevant error is "already in a container", which probably means the object is added to more than one container.

    But are you saying that when you try to open old backups in older C3 versions, you still get the same error? This is very strange..

    If you know which object may be added to more than one container, you can try manually editing the project files to fix it.

  • I would use MoveTo behavior. On every tick move to (Ball.x, self.y) position. Then adjust the parameters like speed, acceleration and deceleration for smooth movement.

  • You can create a sub-event with this condition:

    System Pick last created Buildings

    Then you can get Buildings.UID

  • Here is an old tutorial I used:

    construct.net/en/tutorials/cordova-export-signed-apk-1420

  • Did you stored JSON's of each objects on Layout in Dictionary and recreate in runtime?

    No, it's easier to create room templates on an unused layout. Each room is a hierarchy consisting of multiple objects. One of the objects is a "parent" (say, a tilemap) and is set up as a template.

    Then you can create the entire room from that template.

  • ChatGPT knows very little about Construct, and its answers will be nonsense most of the time.

    You don't need scripting to style a textbox. Use "Set CSS style" action. EDIT: didn't notice that's a Text object.

  • According to the manual, this expression only works in "On gamepad connected/disconnected" trigger, or when using "On any button pressed/released" with a gamepad of -1.

  • I believe some platforms may have only one voice, and some may not support TTS at all.

  • I think something is wrong with your gamepad, it shouldn't work like that.

    Try updating the driver. Or try a different browser.

  • I think you need to change the sprite frame first:

    repeat 15 times
    Sprite Set Frame to loopindex
    Set Array at loopindex to (sprite.animationframetag) 
    
  • Are you saying that when you press Up on DPad, the cursor goes two steps up in the menu, instead of one?

    Maybe your gamepad emulates keyboard input and triggers "Keyboard on key pressed" events..

    Can you remove these two conditions and test if gamepad Up/Down buttons still work?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Check out this demo, maybe you'll find something useful for your project:

    howtoconstructdemos.com/platform-wall-jumps-with-decreasing-height-camera-scrolling-panning-effects-capx

  • It looks like events 10-17 are running on every tick? In this case using "wait 2 seconds" there is a very bad idea. This can explain why the game starts lagging and freezing. After a few seconds there will be hundreds of delayed actions which will start to trigger and change the "state" value uncontrollably.

    Use Timer behavior if you need to do something with a delay.

    Also, random(2,2) will always return 2. You need to use choose(1,2)