- Home /
Webplayer - Watch players in realtime/Save replays
Actually two questions:
1) Is there any way to watch people playing my game in a webplayer in real time?
I know I can use Google Analytics and Lumos to have data about in-game events, but what about watching people while they play my game in my website?
2) Saving replays of people who played my game in a webplayer in my website would be nice too, I was thinking maybe use this script to save screenshots in my server so I could download the screenshots later and them make videos out of it. Is it a good idea?
I have not used Unity Webplayer yet, so, if these area built-in functions, sorry for the question.
Answer by Graham-Dunnett · Nov 12, 2012 at 02:42 PM
The features you talk about are not out-of-the-box features of the web player. You will need to write them. The script you link to will not work in real-time, the code to actually take the screenshot takes time to execute.
Wathcing people while they play is a bit like writing a multi-player version of your game. The various human players need to have their position communicated to you as a watcher.
Thanks for the answer. Do you know of any script, game or website that uses it or at least makes something similar so I can have a starting direction?
One more thing: what do you mean by "the code to actually take the screenshot takes time to execute"? The fact that the code to take the screenshot is in the Update function does not mean that one screenshot will be taken every frame?