Fixed a sound bugg and added a new load bar.
This commit is contained in:
parent
88fcd15266
commit
7aa445f694
8 changed files with 11 additions and 12 deletions
|
|
@ -20,10 +20,6 @@ public class LoadingState extends GameState{
|
|||
//The files to load
|
||||
private static final String[] TEXTURES = {
|
||||
"data/font.bmp",
|
||||
"data/loadbar_back.png",
|
||||
"data/loadbar_front.png",
|
||||
"data/loadbar.png",
|
||||
"data/logo.png",
|
||||
"data/particle.bmp",
|
||||
"data/splash.png",
|
||||
"data/buildings/cc/cc_building.png",
|
||||
|
|
@ -104,8 +100,7 @@ public class LoadingState extends GameState{
|
|||
progress.centerToScreen();
|
||||
progress.setBarTexture(new Sprite("ProgressBar","data/loadbar_front.png"));
|
||||
progress.setProgressTexture(new Sprite("Progress","data/loadbar.png"));
|
||||
progress.setBackgroundTexture(new Sprite("progressBackground","data/loadbar_back.png"));
|
||||
|
||||
|
||||
for(int i=0; i<TEXTURES.length ;i++){
|
||||
addTexture(TEXTURES[i]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue