Thank you for your advice and explanation dop2000
Sorry for all the questions, but I have more and I didn't want to split it to new threads as it's somehow related to my confusion, some are a bit off-topic but connected to each other.
I hope that you'll donate your time as your advice is VERY appreciated and valuable to future confused users. THANKS AHEAD! :)
.
First of all, the way you described the (non-array) makes much more sense to me.
But your last note about so many global variables makes me re-think about arrays.
.
.
First question this is a bit Off-Topic came to my mind once again:
You've mentioned GLOBAL variables for each item, and I may already start with a BIG mistake here.
For my Player, I didn't use GLOBAL variables, but instance for it's HP or any other future variables that I will add.
.
Is this a BAD thing, will this cause me future issues? when the Player moves to the NEXT stage and such will the variables reset because I'm not using Global? (for all the events) or it's fine and I can preserve them somehow.
.
I'm wondering about this, BEFORE I'll start add more and more items and "skills" to my PLAYER character.
I'm thinking about the option for 2-4 Players in the future, that is why I named it Player 1 (as seen on the example GIF). I'm not focus this right now as I want to complete the base conditions for Player 1.
.
Without even the "ITEMS" issue, Should I make a dedicated GLOBAL-VARIABLES event so I can organize them and have better access for basic future game stuff such as: menus, options, Player_1, Player_2 etc.. ?
.
I made 3 different Items for the Player to have from the "Randomizer" item for now, so I can start make either a simple Array + Probably Array Editor (still not sure about it).
.
The Arrays v.s. Variable decision:
One problem I noticed in the Array / Array Editor which is more visual to me when it comes to organize:
Unlike Excel / Google Sheets, I cannot just Drag-N-Drop to change order to re-organize my items later on when I will have hundreds of them. True, it make sense because the code is very precise X 1, X 2, X 3 so if I change some strings or values later on... I'll make a mess and it will take so much time to change manually anyway.
.
While as you said, too many Global Variables for the items:
A HUGE list to play with, but each will have it's own group and I can always Re-Organize the order, put in specific groups add comments and so on.
Of course in both ways I can use the Ctrl+F to find what I need.
You've made a good point it is my game, but YOUR advice makes much more sense and helps me to run away from future mistakes so I won't need to Re-Code the all thing or just have hard time to play with the database.
.
.
BEFORE I EVEN BEGIN with the Array / Variables for my Items, The last issue I hope you can help me with:
.
As you already understand I would like to make different Items, each time my Player will move to the next stage I want him to KEEP the last item he had (that's probably why I should use Global variables?)
But then came to my mind another PROBLEM I may need to solve early:
.
I want to UNLOCK most of the Items I will add to the game, and I want to make sure that whenever the player UNLOCKED (found) a NEW Item it will be available to him in the future, even in a NEW GAME.
so I'm guessing, I should make a Global Variable Boolean "LOCK / UNLOCK" (correct me if I'm wrong).
.
But what if I want to make 3 SAVE SLOTS for the game? now I lost tracking:
So what happens to the GLOBAL VARIABLES of the unlocked variables that saved on SLOT 1 ?
.
.
Once again, BIG THANKS to any of the questions you can answer or give me advice as long as I'm still on the early stages of the game, this will help a lot to run away from a bad project management.
* Sorry about my bad English.