By that, I meant that the data in the array would be used for multiple purposes.
I am hoping to create a 'pokedex' of items, in which the player can scroll through the items they have previously found. The Pokedex should include some information like: item name, item description, and it should be able to call up a sprite depiction.
I hope to keep all this information in one place (probably a large array called 'pokedex').
I plan to then make some minigames, accessable via trigger events in the main game world. Things like multiple choice questions, memory games, etc.
Right now, I have set up the Pokedex as an initially invisible layer in my layout. The player triggers the Pokedex layer to become visible by 'using' a computer sprite.
- Should the Pokedex events all be held with a function? I've never really played with the construct function options before.
- Does anyone have a picture that I might be able to look at as an example of the array and the code that brings it up onto the screen?
I found this thread, which gave me a lot of incite into how to make this work: construct.net/en/forum/construct-3/how-do-i-8/arrays-or-variables-your-advic-135166