I'm using pathfinding behaviour it works fine on laptop and desktop but not on mobile. each time I spawn a new object and make it adding obstacle, generating map, finding path and moving along it the game freeze.
thx for the help in advance
Attach a Capx
Description of Capx
A blue object spawn a new green object with a Pathfinding behaviour.
On created this green object will add pathfinding obstacle then generate the map then find path and finally on path found it will move along path.
Steps to Reproduce Bug
- run the project on mobile
- just wait few seconds
____ each time a new object is spawn the game will freeze for a short moment ____
____ it should work smoothly ____
- Chrome: (YES)
- Safari: (YES)
Operating System and Service Pack
Android 4.4.2 on Google Nexus 4
Safari and Chrome iOs 7.0 on iPhone 4S
Construct 2 Version ID
____ 163 (64-bit) ____