This site requires JavaScript, please enable it in your browser!
Greenfoot back
alexlohe25
alexlohe25 wrote ...

2018/1/14

Save a variable in a World and use it in another one

alexlohe25 alexlohe25

2018/1/14

#
Hi! I really wanna know if it's possible save a variable from a World(for example: aub from MyWorld) and use it in another world (for example: cde from Gameover, which cde= aub). Pls :P
danpost danpost

2018/1/14

#
alexlohe25 wrote...
I really wanna know if it's possible save a variable from a World(for example: aub from MyWorld) and use it in another world (for example: cde from Gameover, which cde= aub). Pls :P
Yes, it is. You can assign cde in Gameover right while or after creating the world and before setting it active.
xbLank xbLank

2018/1/14

#
We had this question at least 5 times in the past 2 weeks. Please use google.
You need to login to post a reply.