- Home /
Using lots of scene files for levels for an app
Hi
I am developing a 2D puzzle game for android and ios with a team. It will have around 90-100 levels.
Do you think it would be problematic for the game to have each level as a scene file or to rather load in the level data from a text file into one scene. Too us, it seems having too many scene files, e.g. 90 scene files, may create problems for the size of the app and problems with loading times.
What do you guys suggest? Does it really matter which technique i use.
I would think that even though you have 90 levels, after each one you are about to either load a new one or reload the existing one with a new level script manager so all in all I would think it is the same for the loading part.
Or it means you are changing the manager script without reloading a new scene, just getting rid of previous level and using a new one. This is also possible but you then have to be careful with objects you create, making sure you are not keeping a reference somewhere and piling up unused objects that never gets collected and ending up with a crash.
As for the size I cannot answer but I would think it won't change much since a scene is just a text file.
There will be advantages and disadvantages to both approaches. Benchmarking is king in a case like this.
Your answer
