Im doing a game that the player allow to kills zombies and The player get score , and has his own life .
Okey Im trying to have the same variables when i switch the world IS a way to due that?.
int power =0;
int score =0;
int life =50;