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

2015/4/18

Score

Zeezoh Zeezoh

2015/4/18

#
how do you program a score on your greenfoot game?
Super_Hippo Super_Hippo

2015/4/18

#
You can import the Counter class and use this to keep track of the score. Whenever the player does something which increases the score (e.g. collecting something), you add a value to the counter which then displays the score in the world.
Zeezoh Zeezoh

2015/4/21

#
thanks so much super_hippo :)
You need to login to post a reply.