Hi all!
First of all,I am very new to networking and I have a (what i thought it would be) a simple task.
I am making a AR game where you (first part) scan and get points using your phone and finding targets, the second part of the application is kind of a screensaver for a desktop computer, which spawns the image target on different locations of the screen. So basically, the user scores points with scanning targets on the desktop’s screen with his phone. I managed to do both apps with not much effort.
The tricky part is to display the same score both in the phone app and also on the “screensaver” app for the desktop. I have to share the score data between the apps using networking but currently I have no idea how to tackle the problem as there is not much posts regarding this issue…I tried with [SyncVar] and global variables but with no success(like I said, I suck at networking, not the best programmer either)…
For now the application is just for 1 player but later it could go in the many players(phones) scanning the target on one monitor direction, but for now it’s just 1 phone and the Pc that will act as the server and run the screensaver(and of course show the players score).
Currently the phone app and desktop app are in separate scenes but if the solution is easier with a single scene I can merge them with very little effort so it’s not a problem.
Any help is appreciated, thanks for your time guys!