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. Dismiss Notice

Whole game in one scene vs Multiple scenes

Discussion in '2D' started by StanMihai72, Jul 8, 2015.

  1. StanMihai72

    StanMihai72

    Joined:
    Apr 8, 2015
    Posts:
    6
    Which do you think works better: loading multiple levels in the same scene, taking care to destroy the previous level's objects, or having multiple scenes, one for each level?
    Take into consideration memory usage, storage space and overall efficiency.
     
  2. skinwalker

    skinwalker

    Joined:
    Apr 10, 2015
    Posts:
    505
    I am using a different scene for each level (working on a runner game) and I'm pretty happy with it.
     
  3. kingjavo

    kingjavo

    Joined:
    Feb 3, 2014
    Posts:
    17
    How do you change your levels? To be more specific, let's say you have 100 levels. Do you literally create 100 scenes or do you just have like 5 or so levels that you reuse and recolor or something?

    I'm making a vertical running game in 2D and I have like 10 backgrounds I want to randomly generate as the runner gets past each level.
     
  4. skinwalker

    skinwalker

    Joined:
    Apr 10, 2015
    Posts:
    505
    In my case I have 15 levels and 15 different scenes with different terrains ( I am using Ferr2D) and I can't reuse and recolor them :(. So it depends on your game.