Hi guys, 
I am programming a little game for school. I sucesfully solved every problem up to now, where I cant solve one that might have an answer so easy, I will just slamm my head on my desk once I read it.
SO, I have various variables in there, for example poins. The player earns points for beating the first boss, then the world changes. How do I save the points (damage of the player, life, whatever, cause there will be upgrades and so on) from world 1 so that they also appear in world 2 and the combined once of 1 and 2 in 3 and so on? 
Thanks for your help ;)
   
   
             
          
        
