dop2000's Forum Posts

  • It's not a bug. If someone tells you "go left, but you can only move forward" - will you be able to do that? No.

    When you move a sprite with pathfinding behavior, it uses "Rotate speed" to make turns. When rotate speed is 0, it can't turn and therefore can't move.

    Before posting bugs for behaviors which have been around for ages, try to read the documentation first.

    And your sprite3 doesn't appear because node index is zero-based, you need to start the loop at 0.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • but when you press play, it asks me for the Windows path.

    I've never seen this. Try installing the Linux build manually and see if works on Steam Deck. If it does, then maybe Steam serves you Windows version or you configured it wrong.

  • There is no exe in Linux version, instead there should be a file with your project name and no extension. Right-click it and select "Add to Steam". Then exit the desktop mode, boot back to Steam and you should see your game in Library -> Non-steam games.

  • It's difficult to guess without the project file. Check image points in all objects. Check that the bullet is spawned on a layer without parallax. Try attaching the turret with hierarchy instead of Pin - pin can lag slightly if the objects are moving too fast.

  • Gamepad controls should work. Are you using NWjs export?

  • Place an invisible tilemap, draw narrow paths on it from node to node. Set those tiles as walkable and the rest of the tilemap as not. Find a path, see which nodes it goes through, then move from node to node with MoveTo behavior.

    I suggest using EasyStar pathfinding, but you can do the same with the official plugin too.

  • You do not have permission to view this post

  • Touch.XAt(index, layer) - is for touch index.

    Touch.XForID(ID, layer) - is for touch ID.

  • Instead of "Set angle towards position" use "Set angle" action.

    Angle: angle(thumbpad2.x, thumbpad2.y, leash2.x, leash.y)

  • Array.At(1,loopindex(Array.CurY))

    Try Array.At(1, Array.CurY)

    I prefer to use System loops when working with arrays:

    System For "y" from 1 to (Array.Height-1)

    Text append Array.At(1,loopindex)

    • Post link icon

    In the future use instance variables.

  • How did you make rebindable controls for keyboard? Why can't you do the same for gamepad?

  • You can't store loopindex or any expressions in JSON. Here's what I would do:

    JSON:
    {"line": "Hello to you in this example [offsetY=%] wavy text [/offsetY]."}
    
    
    Action: 
    Text Set text to replace(JSON.get("line"), "%", str(sin(time * 300 + loopindex * 90) * 8))
    
  • Construct still needs to load a lot of stuff before it can show your loading layout.

    You can add (or replace) images in Icons folder in your project, which will be used as a loading logo or app splash screen - click the file and change its purpose on the left properties panel.