sturm30's Forum Posts

  • 3 posts
  • I figured to manage the movement on a grid, 32px sized.

    Here is the single-file Construct2 project.

    My goal is now to make pacman move with Touch events and PathFinding behavior. If I set pathFind->cell border to -1 value, pacman does not follow the path next to the wall set (as classic pacman level).

    If i set pathFind->cell border to -2 value, pacman follow the path next to walls but does not recognize walls as obstacles.

    By the way, I notice sometimes pacman just goes out of the grid, but I can't figure out why it does so.

    Consider I follow this guideline for grid movement.

  • Understood.

    Tried to copy exactly your 10events but: pacman moves if controlled by keyboard arrows, as soon as i touch my screen (or click), pacman stops and it is more responsive on arrows inputs.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello, got pacman sprite with the following settings:

    Then I set pathfinding cell-size to 28 - just like my sprite-instance dimension.

    I can't figure out the corner movements: why pacman is moving diagonal? I want him to pass through the points I created on-path-found !

    In other words, I want the 4-directions movements with touch destination and pathfinding behavior. Is there a way ?

  • 3 posts