- Home /
Realtime game using game sparks
Hey
so Im trying to get an objects position synced for a 2 player game using game sparks I've followed their realtime game example tutorial and I'm able to get the players position synced but I'm trying to get a game object they both move around (a ball with a rigid body) to get its position synced but I'm having a hard time in doing so.
any help would be greatly appreciated if you need to code i use to move the players ill be happy to post it if you need a reference on how i move the players
you have an indie/student account for game spark, kindly tell me if you complete your project $$anonymous$$m use the same real-time example project but it should not properly work. and also game spark support $$anonymous$$m not responding properly also they do not creat indie or student account, please help me if you are done your project with game spark
Answer by senad · Mar 29, 2018 at 08:49 AM
Generally speaking the most common approach to use is having an authorative server. The player machines will then connect to the server, which will hold and move all the game objects.
The objects get synched to all clients / players. The clients issue commands to the server, which makes the server change the game state.
I can't tell you the specifics for game sparks, though.