good afternoon guys, I’m Brazilian and I’m using Google translator, I’m developing a 2d platform game, the game takes place in the character’s house in which every room in the house and a scene would like to know how I can pass the player’s data: life, hunger , headquarter and the player itself without having to put this data in each scene ?
boa tarde galera sou brasileiro e estou usando o Google tradutor, estou desenvolvendo um jogo 2d plataforma ,o jogo se oassa na casa do personagem no qual cada comodo da casa e uma cena gostaria de saber como posso passar os dados do player : vida, fome ,sede e o proprio player sem ter que ficar colocando em cada cena esses dados ?
Global variables and Storage for Local storage in order to save data even if the player exit the game.
Look at the examples save & load or just Google it.
Plus there is a lot of tutorials in Portuguese