-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed problem with splash atlas was too small, started menu buttons a…
…dded
- Loading branch information
john kavanagh
committed
Aug 30, 2015
1 parent
501acbd
commit 7c30a6b
Showing
19 changed files
with
109 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
bin/dexedLibs/andengine-gles2-1f4172871ccb66856069f5229f51b4fe.jar
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
bin/dexedLibs/andenginephysicsbox2dextension-gles2-c7dc6fdb38ad0d8a8ec832fa0fa5980a.jar
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
bin/dexedLibs/appcompat_v7-e1ceeea49e4ff6e6ca6882136ade5f89.jar
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
package com.bawsephighter; | ||
|
||
import org.andengine.engine.camera.Camera; | ||
import org.andengine.entity.sprite.Sprite; | ||
import org.andengine.opengl.util.GLState; | ||
|
||
import com.bawsephighter.base.BaseScene; | ||
import com.bawsephighter.SceneManager.SceneType; | ||
|
||
public class SplashScene extends BaseScene | ||
{ | ||
private Sprite splash; | ||
|
||
@Override | ||
public void createScene(){ | ||
splash = new Sprite(0, 0, resourcesManager.splash_region, vbom){ | ||
@Override | ||
protected void preDraw(GLState pGLState, Camera pCamera) | ||
{ | ||
super.preDraw(pGLState, pCamera); | ||
pGLState.enableDither(); | ||
} | ||
}; | ||
|
||
splash.setScale(1.5f); | ||
splash.setPosition(200, 100); | ||
attachChild(splash); | ||
} | ||
|
||
@Override | ||
public void onBackKeyPressed(){ | ||
|
||
} | ||
|
||
@Override | ||
public SceneType getSceneType(){ | ||
return SceneType.SCENE_SPLASH; | ||
} | ||
|
||
@Override | ||
public void disposeScene(){ | ||
splash.detachSelf(); | ||
splash.dispose(); | ||
this.detachSelf(); | ||
this.dispose(); | ||
} | ||
} |