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

2013/5/9

Variables between different worlds

mattjames mattjames

2013/5/9

#
Hi guys. I have been trying to get a menu to work that when you select an option it gives you a specific object on the game world. The button is in one world and the object that I want affecting is in another world. Having looking at and followed the tutorial on importing variables from classes, it tells me that the button cannot be cast to the other world. Has anybody got any code which will help me with this? Thanks
You need to login to post a reply.