Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Loading Screen, benefits?

Discussion in 'Scripting' started by JakeBilbe, Jun 24, 2015.

  1. JakeBilbe

    JakeBilbe

    Joined:
    Jun 10, 2015
    Posts:
    57
    In most of the games I've coded on Unity I've never seen the benefit to making a load screen as the game loads the files pretty quickly to even need one. Though I've been thinking about adding one in but I'm not sure the best way to go about it, would a Scene be better to use or to create a Class script that loads the level through that?
     
  2. LaneFox

    LaneFox

    Joined:
    Jun 29, 2011
    Posts:
    7,384
    I also haven't made anything big enough to justify it, but I can see where it would be useful if you did have a lot of stuff to buffer or connect and did not want to lag the game at the start or stream it.

    Kind of curious myself, I hope some with first hand experience expound on this.
     
    JakeBilbe likes this.
  3. KelsoMRK

    KelsoMRK

    Joined:
    Jul 18, 2010
    Posts:
    5,539
    Our game is a single scene where we instantiate and destroy things to build our skirmish maps.

    We have a pretty in-depth UI solution that uses XML markup to dynamically build meshes for UI screens. Our loading screens are just full screen meshes that block user input. With the new UI system you could build all of your screens as children of a common Canvas object and just turn them on/off as needed.
     
  4. JakeBilbe

    JakeBilbe

    Joined:
    Jun 10, 2015
    Posts:
    57
    See I was thinking of doing the same Kelso, using a GUITexture or something to cover the entire screen but at the same time though I have a lot of code and objects spawning currently it's not exactly needed to be honest, I always thought it was because Unity being fast or something but I guess once you get a lot of scenery and things spawning it may be needed.
     
  5. KelsoMRK

    KelsoMRK

    Joined:
    Jul 18, 2010
    Posts:
    5,539
    Our maps can take 30-45 seconds to load. We didn't have loading screens until we made a "real" map and quickly realized that the object density required it.

    Not to mention the fact that we have to wait for networked multiplayer players to indicate that they've loaded the map and are ready to play.