Android Open Source - lamp-game Loading Scene






From Project

Back to project page lamp-game.

License

The source code is released under:

GNU General Public License

If you think the Android project lamp-game listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.lifestudio.scene;
//  w  ww.  j  a va 2s  . c  o  m

import org.andengine.entity.scene.background.Background;
import org.andengine.entity.text.Text;
import org.andengine.util.adt.color.Color;
import com.lifestudio.base.BaseScene;
import com.lifestudio.manager.ResourcesManager;
import com.lifestudio.manager.SceneManager.SceneType;

public class LoadingScene extends BaseScene {

  @Override
  public void createScene() {
    setBackground(new Background(Color.BLACK));
    attachChild( new Text(640, 400, resourcesManager.font, "Loading...", vbom));
    
  }

  // We don't want to do anything while the screen is loading
  @Override
  public void onBackKeyPressed() {
    return;
  }

  @Override
  public SceneType getSceneType() {
    return SceneType.SCENE_LOADING;
  }

  @Override
  public void disposeScene() {
    // TODO Auto-generated method stub
    
  }
  
  

}




Java Source Code List

com.lifestudio.GameActivity.java
com.lifestudio.base.BaseScene.java
com.lifestudio.extras.LevelCompleteWindow.java
com.lifestudio.manager.ResourcesManager.java
com.lifestudio.manager.SceneManager.java
com.lifestudio.object.Player.java
com.lifestudio.scene.GameScene.java
com.lifestudio.scene.LoadingScene.java
com.lifestudio.scene.MainMenuScene.java
com.lifestudio.scene.SplashScene.java