Drain info from another project

Hi
first thing first, my aim is this:
I have a project in play canvas where the user rotates the camera.
I want to have the rotation of the camera sent to another project that acts as a “listener”.
the listener project will have its camera controlled by input from the 1st project rather than direct user input.

can it be done?

Hi @nirharpaz,

You can do that by leveraging the postMessage JS api:

That allows you to send messages between two different browser windows.

Unless you are talking of apps running on different devices, then you should explore a multiplayer solution, here is an example:

https://developer.playcanvas.com/en/tutorials/real-time-multiplayer/

no, its for the same platform.
but i’ll look into your link cause it sounds interesting

1 Like