top of page

Connections and Syncing

  • Writer: Joses Kang
    Joses Kang
  • Jun 11, 2021
  • 1 min read

Hi guys! This week I was able to work on making cross platform play possible and syncing both players' movements across the server. It's a little hard to show in pictures, but let me explain!


So our game is cross-platform between mobile and VR players. To handle connections, we're using the Photon PUN package. With this package, we're able to acknowledge objects that move on every screen with a "Photon View" component.


Here's some snippets of the code that we're using to differentiate between the different platforms and to sync the VR player's movements:



Comentários


logo_text.png

    ©2021  Golden Monkey Studios

    bottom of page