@nehon said:
The stat view uses a font, and is loaded in any cases. Even if you hide the statview
Well, to be pedantic, the “guiFont” is loaded whether it is used or not. The stats view itself was moved to an app state and can be completely removed from the app simply by not including it… but the guiFont will be setup anyway.
@pspeed said:
Well, to be pedantic, the "guiFont" is loaded whether it is used or not. The stats view itself was moved to an app state and can be completely removed from the app simply by not including it... but the guiFont will be setup anyway.
I was almost certain that you would bring that up :p. I didn't want to go into the details, but the way to remove it is to override the SimpleApplication constructor. But on android the SimpleApp in instantiated with reflection so the no args constructor is called, so I guess the stat view is loaded whatever you do in this case.
@nehon said:
I was almost certain that you would bring that up :p. I didn't want to go into the details, but the way to remove it is to override the SimpleApplication constructor. But on android the SimpleApp in instantiated with reflection so the no args constructor is called, so I guess the stat view is loaded whatever you do in this case.
…except in Android it is starting your application… a subclass of SimpleApplication, which could have called super() with whatever it wanted.
@pspeed said:
...except in Android it is starting _your_ application... a subclass of SimpleApplication, which could have called super() with whatever it wanted.