Search Unity

2D Open world no loading screens

Discussion in 'Scripting' started by KqGMRPFkAeESzF8, Sep 25, 2021.

  1. KqGMRPFkAeESzF8

    KqGMRPFkAeESzF8

    Joined:
    Nov 20, 2018
    Posts:
    39
    How would you go about creating a top down 2d open world game with no loading screens? I read on a forum that you have grids and load them in when the player is near and unload the grids that the player is far from. Would you use instantiate and destroy functions to load and unload every game object within the grids or is there a better way? Also, would this even increase performance, when you destroy a game object does this clear memory on the computer?
     
  2. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    7,118
unityunity