@nolttr21
Better is to pass the score value (or the Counter object itself -- easier) from world to world by adding an extra World subclass constructor to ALL worlds like this:
public MyWorld(Counter counter)
{
super( // world dimensions
addObject(counter, // counter location coordinates
// etc.
}
The original MyWorld constructor can utilize the new one with this:
public MyWorld()
{
this(counter);
}
2018/1/19
Chloe
2018/1/19
Chloe
2018/1/18
3d Iso Demo
2017/12/28
PIP Actor Class
2017/12/28
Animated Character
2017/12/22
World Changing Demo
2017/12/22
BGMusic Actor Class Demo
2017/12/21
Glowing Walls Maze Demo
2017/12/20
Jump and Run Demo w/Moving Platform