I'm pretty new to Greenfoot and this is my first attempt at making a game . . . forgive me if this is a silly question.
I'm working on a clicker game and want to track a player's score across multiple objects, if possible. For example, the upgrade object would affect the score shown in the score object when an upgrade is bought, and if there is an achievement earned, the number the score object displays would increase.
I learned how to do this in block coding, but I can't figure out how to do this in Greenfoot with Javascript. Is there a solution to this?