Delayed Updating of Pathfinding Speed

0 favourites
  • 3 posts
From the Asset Store
Fantasy Game includes more than 600 sound effects inspired by hit computer games like World of Warcraft and Diablo.
  • Link to .capx file (required!):

    sdrv.ms/XGH8VL

    Choose the DelayedUpdatingOfPathfindingSpeed.capx

    I'm putting the Pathfinding behaviour through its paces! I have got it almost working using boolean variables to control the animations, but it's twitchy and would ultimately be unsuitable. The CAPX I've linked to doesn't have the boolean animation controls, it relies purely on the output of the Pathfinding behaviour.

    Steps to reproduce:

    1. Give sprite the pathfinding behaviour and define the conditions of changing animations (in this case speed)

    2. Observe.

    Observed result:

    The sprite's speed variable doesn't update instantaneously when it has arrived at its destination. It does stop moving, but the speed variable seems to stick for a second or so before switching to zero.

    Expected result:

    Sprite should switch from the "running" animation to the "default" animation as soon as it arrives at its destination.

    Browsers affected:

    Chrome: Yes

    Operating system & service pack:

    Windows 7, latest Service Pack

    Construct 2 version:

    r119

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Should be fixed in the next build.

  • A gift for you Ashley for being awesome:

    <img src="http://media-worlds.theotaku.com/11259-585457-20100220134454.jpg" border="0" />

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