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

2013/10/21

Score Board?

GameJunkie GameJunkie

2013/10/21

#
basically, im kinda finished with my game, i would like to add a scoreboard in order to make a mission to get to 60 points to get to a bonus level. this is my game so far my game i keep trying to use codes from other discussions but they dont work, especially .add(int) and Color.Black. answer asap please
danpost danpost

2013/10/21

#
You are probably just missing some 'import' statements that are needed for some of the objects you use. For example, Color.Black is a field in the Color class; so you need to 'import java.awt.Color;' to have access to it. The 'add' method is a List method, but in itself does not require you to import 'java.util.List'. However, if you use a 'List' anywhere in your code, you will have to.
You need to login to post a reply.