 guest_CopperCraf Guest |
Quote
|
2025-03-21 19:22:45 |
|
hello, im trying to add a npc on my .php server multiplayer. but i cant igure out how i could do that, basically how a position of a npc updates on all clients and some other features.
|
 okeoke Registered User |
Quote
|
2025-03-22 08:40:56 |
|
You either handle npc logic server side. I.e. server calculate npcs positions, handles interaction between players and npcs and so on. Which you can't really do with a php backend:)
Otherwise you make all logic run on the first joined client, so player one sort of hosts the game, handling all logic, and everyone else just use that data.
|