Hi everyone
I am trying to understand what is the best way to approach my problem for few days know, I hope someone could help me with this one.
I have set a game ( one level for now) in which I have few characters I can switch between.
The problem I am counting turns and also I have skills which I shan’t to be change grime level to level and different number of turn for different levels.
Is there I way that I can change the value of vareible in game???
I have a bit of trouble understanding this question, but if I am correct is what you want to do save data from one level so you can use it in a different level? Like say, if you character has had 5 turns, you want the game to remember your character has had 5 turns even if you change level?
In that case, I believe you should make a custom game instance and try to save your data there. Game instances are created at the start of the game until the game is closed down, so it keeps existing between level changes (so you can use the game instance to save the relevant data for your characters, and have your characters read from that data the moment you start a new level).