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

Handling large amount of data for a puzzle game.

Discussion in 'Scripting' started by randomJoe1, Jul 17, 2017.

  1. randomJoe1

    randomJoe1

    Joined:
    Jul 17, 2017
    Posts:
    3
    I am making a puzzle game, where i want to store layouts of a lot of objects and a lot of different attributes stored in lists.

    My question:
    What is the best way to approach this setup of big data?

    Where my requirements are:
    I would like to access a specific chunk of data. (for example if there are 500 puzzles, i would like to access a specific 259 puzzle's data,) so that i can setup that specific puzzles data to the player.

    I think using a list of puzzle class will be very hard to manage, edit, and work with.
     
  2. Phorsaken

    Phorsaken

    Joined:
    Dec 12, 2013
    Posts:
    27
    I would look into scritable objects if I were you. You can write an editor script to make new puzzles easily this way and then ever puzzle is an object you can load when you want it.

    -Alexander