One player object for peer-to-peer multiplayer game

This may help you a bit: [solved]Sync entity positions over P2P - #2 by arthuro555

In case you are interested, I am building a framework for making multiplayer games in GDevelop easily: