hexus / phaser-arcade-slopes

:triangular_ruler: A Phaser CE plugin that brings sloped tile collision handling to the Arcade Physics engine
MIT License
126 stars 16 forks source link

Object pooling for calculations #42

Closed hexus closed 7 years ago

hexus commented 7 years ago

Lots of calculations lazily use .clone() and new.

Improve by using arrays for pooling.

hexus commented 7 years ago

This is done, pretty much! Maybe some more improvements can be made along the way, but this is much better than it was.