Multiplayer question: 1 Player scene to handle all players or separate for remote and local?

Godot Version

4.3

Question

So my game will have up to 6 players in a single game, maybe 8. We have 1 main player and the other ones are of course remote players.

What is the better approach? Handling remote players in the same player scene or having separate scene for remote players? My player scene has it’s own sprites, script, 3 AnimationPlayers that handle different sprites, a SoundPlayer2D, Camera2D. playerHitbox, Weapon Collision Shape.

The players will all look and behave the exact same. Only thing that would change is their animations, depending what weapon they have, cosmetics etc

Godot’s high level multiplayer certainly benefits from using the same player scene for remote connections and local. If you have split-screen local players in addition to remote you will make slightly more use of @rpc("call_local"), than a remote-only multiplayer game.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.