Alright so I've been able to strip the game down to it's bare minimum while also triggering the bug. The capx is still fairly huge, clocking in at approx. 100 mb
Link to .capx file (required!):
https//dl.dropboxusercontent.com/u/5323353/Klang%20animation%20bug.capx
Steps to reproduce:
1. Leave event 107 and 108 on at event sheet "tutorial level" , and 82 and 83 at "tutorial level 2". Turning these off makes the game runs smooth again. Proving that it's this event that's the source.
2. Boot up the game
3. Press any direction with the arrow keys
4. Witness the lagspike
Observed result:
The player performs a meele strike using the arrow keys, which triggers a set amount of animations within the environment. This makes construct 2 freeze for 1-3 seconds at a time consistently.
Expected result:
The parry and animations should feel fluent and snappy, even when spammed in every direction. This has always worked as intended until [r141], and this code hasn't been touched for months!
For a demonstration on how it really is suppose to look like. The last stable node webkit build can be found here: dl.dropboxusercontent.com/u/5323353/Klang12_8.zip
Browsers affected:
Chrome: YES
Webkit (target platform): YES
Operating system & service pack:
Windows 7 SP1
Construct 2 version:
[r141]