Link to .capx file (required!):
Version 144.2
dropbox.com/s/sg3e5s4dqylumid/pathfindingbug_2.capx
version 142
dropbox.com/s/4pxs2mctt6yhpgo/pathfindingbug142_2.capx
Steps to reproduce:
1. Download the capx and debug it, go to profile section to check the "attack, enemies & HUD" group CPU usage.
2. start to walk with the character with arrows or WASD
3. keep moving, group will start to get very high cpu usage (will vary from 20 to 70%) and will freeze sometimes, FPS will start to drop after some time.
4. You can download the pathfindingbug142_2.capx to check the same events and condition saved in 142 version running smooth without any problem or freezes.
Observed result:
High cpu usage while walking with character, if you don't move, still the CPU usage is high and not correctly compared to 142 version for example. It seems that depending on the order in the conditions the game runs smoothly or with poor condition in the latest version but in previous version it doesn't matter.
Expected result:
Testing it in old versions like 142 (download the 142 version above) and olders it won't cause any freeze or have high CPU usages, this is a very basic event.
See image below:
<img src="http://img196.imageshack.us/img196/2120/awyp.jpg" border="0" />
Browsers affected:
Chrome: yes
Firefox:
Internet Explorer: yes
Operating system & service pack:
Win7 64bit
Construct 2 version:
144.2