removed Phaser from scene, replaced distance function with that from Math
comment digital Line further
fix attacking bug