Open SylvanSign opened 7 years ago
After discussion, let's try having each client detect collisions it makes with other ships and signal the server. Server will flag that object as having received a hit and the respective client will flash and take damage accordingly.
Also flash when taking a hit: https://phaser.io/docs/2.6.2/Phaser.Camera.html#flash could be an easy placeholder for hit animations
maybe add a bit of camera shake when getting hit and/or shooting too