- Rewrote the A* path finding algorithm, it doesn’t generate garbage collector anymore, and monsters that use it will tend to avoid walking near walls (so that they shoot less against walls)
- Lots of code refactoring to avoid garbage collection
- All speeds are now capped, in order to avoid strange physic problems
- Knockback from own weapons is now applied, as speed is now capped I hope it shouldn’t lead to bug abuse (rocket jump,…)
These last days were very difficult for me, I had to review the whole engine, and rewrite lots of code in order to avoid garbage collection. But thanks to these changes the game does generate only a very few garbage collection on Android, there’s still some work to do in order to remove those last ones, but for the moment I can concentrate on other optimizations.