i am currently having a struggle thinking about syncing bullets. I am using node js and phaser.io and I am creating top-down shooter.
- I would do it like this: Player shoots a bullet. Player sends information where that bullet is Player2 gets information and updates their bullet.
But the problem is, when client window is out of focus. Physics are paused and so are bullet movement, which is horrible for multiplayer game.
How can I achieve synced bullet across two or more clients .
I tried searching for information about server sided physics for node, but I really couldn't find any.
Thanks