Search Unity

  1. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  2. Improved Prefab workflow (includes Nested Prefabs!), 2D isometric Tilemap and more! Get the 2018.3 Beta now.
    Dismiss Notice
  3. Want more efficiency in your development work? Sign up to receive weekly tech and creative know-how from Unity experts.
    Dismiss Notice
  4. Participate with students all over the world and build projects to teach people. Join now!
    Dismiss Notice
  5. Build games and experiences that can load instantly and without install. Explore the Project Tiny Preview today!
    Dismiss Notice
  6. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice
  7. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

What is Photon Offline Mode?

Discussion in 'Connected Games' started by ChoicePath2, Oct 9, 2018.

  1. ChoicePath2


    Oct 6, 2018

    The documentation of Photon says that offline mode is a feature that allows you to re-use your multiplayer code into single player game mode as well.

    So what does this mean? Does it mean that multiplayer mode can change into singleplayer mode , or the multiplayer game mode has single player game functions when the player plays offline?

    Please explain what offline mode is.

    Thank you!
  2. Munchy2007


    Jun 16, 2013
    It's a flag you can set which enables you to play without going online but still use 99% of the same code that you would if you were playing it networked.

    Basically, it saves you a lot of time if you want to implement a single player mode for your networked game or if you want your game to be playable without an available internet connection.
  3. tobiass


    Apr 7, 2009
    The offline mode allows you to use the same (or very similar) workflow to "join" a game and arrive in a "room", no matter if you're online or offline.
    As @Munchy2007 says, it may be a time saver when you want to support multiplayer and singleplayer in one game. You just enable offline mode and you can use the same workflow to "create a room" and play (with 0 other players).

    Here's a doc for more details: