Bug with pathfinding, audio and Chrome/NW.js

  • Problem Description

    Sprite with pathfinder won't find path in Chrome and NW.js if some musics are played

    Attach a Capx

    https://www.dropbox.com/s/wre9txx3t7zfhq9/Test.capx?dl=0

    Description of Capx

    Layout with a Tilemap. Spawn player with right click, make it find path with left click.

    Steps to Reproduce Bug

    • Step 1 : Make a layout with tilemap, and another layout with player sprite. Make a spawn function to create player at mouse coordinates. Make a music plays at first layout start. (not all music make the bug appears, only the first one in the given .capx)
    • Step 2 : Spawn player (right click). Left click to make the it find a path, at a location hidden with obstacle. Observed Result Sprite with Pathfinding behavior won't find path if there's an obstacle between his position and destination. Else it works. If the player sprite is already in the first layout nd not spawned via a function, and the path obstacle is added at ayout start, problem won't appear. Expected Result Sprite find path. Affected Browsers
      • Chrome: (YES)
      • NW.js: (YES)
      • FireFox: (NO)
      • Internet Explorer: (NO)

    Operating System and Service Pack

    Windows 7 SP1

    Construct 2 Version ID

    Release 200 64bit

  • Thanks, should be fixed in the next beta.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks a lot for your time and the feedback !

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)