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
import org.andengine.engine.options.EngineOptions; | |
import org.andengine.entity.scene.Scene; | |
import org.andengine.ui.activity.SimpleBaseGameActivity; | |
public class AndEngineTest extends SimpleBaseGameActivity { | |
@Override | |
public EngineOptions onCreateEngineOptions() { | |
// TODO Auto-generated method stub | |
return null; |
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
package com.example.zandlevelselector; | |
import org.andengine.engine.camera.Camera; | |
import org.andengine.engine.options.EngineOptions; | |
import org.andengine.engine.options.ScreenOrientation; | |
import org.andengine.engine.options.WakeLockOptions; | |
import org.andengine.engine.options.resolutionpolicy.FillResolutionPolicy; | |
import org.andengine.entity.scene.Scene; | |
import org.andengine.entity.scene.background.Background; | |
import org.andengine.opengl.font.FontFactory; |
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
package com.example.anblog; | |
import org.andengine.engine.camera.Camera; | |
import org.andengine.engine.options.EngineOptions; | |
import org.andengine.engine.options.ScreenOrientation; | |
import org.andengine.engine.options.WakeLockOptions; | |
import org.andengine.engine.options.resolutionpolicy.FillResolutionPolicy; | |
import org.andengine.entity.scene.Scene; | |
import org.andengine.entity.scene.background.Background; | |
import org.andengine.ui.activity.SimpleBaseGameActivity; |
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
engineOptions = new EngineOptions(false, | |
ScreenOrientation.LANDSCAPE_FIXED, new FillResolutionPolicy(), | |
mCamera); |
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
public EngineOptions(final boolean pFullscreen, final ScreenOrientation pScreenOrientation, final IResolutionPolicy | |
pResolutionPolicy, final Camera pCamera) { | |
this.mFullscreen = pFullscreen; | |
this.mScreenOrientation = pScreenOrientation; | |
this.mResolutionPolicy = pResolutionPolicy; | |
this.mCamera = pCamera; | |
} |
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
protected Scene onCreateScene() { | |
mScene = new Scene(); | |
mScene.setBackground(new Background(0.09804f, 0.6274f, 0.8784f)); | |
return mScene; | |
} |
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
package com.example.samplegame; | |
import org.andengine.engine.options.EngineOptions; | |
import android.content.Context; | |
public class ResourceManager { | |
// ResourceManager Singleton instance | |
private static ResourceManager INSTANCE; |
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
package com.example.samplegame; | |
import org.andengine.engine.options.EngineOptions; | |
import org.andengine.opengl.texture.atlas.bitmap.BitmapTextureAtlas; | |
import org.andengine.opengl.texture.atlas.bitmap.BitmapTextureAtlasTextureRegionFactory; | |
import org.andengine.opengl.texture.atlas.bitmap.BuildableBitmapTextureAtlas; | |
import org.andengine.opengl.texture.atlas.bitmap.source.IBitmapTextureAtlasSource; | |
import org.andengine.opengl.texture.atlas.buildable.builder.BlackPawnTextureAtlasBuilder; | |
import org.andengine.opengl.texture.atlas.buildable.builder.ITextureAtlasBuilder.TextureAtlasBuilderException; | |
import org.andengine.opengl.texture.region.ITextureRegion; |
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
/* | |
* GooglePlayServices.cs (c) by Nipun David | |
* | |
* GooglePlayServices.cs is licensed under a | |
* Creative Commons Attribution-ShareAlike 4.0 International License. | |
* | |
* You should have received a copy of the license along with this | |
* work. If not, see <http://creativecommons.org/licenses/by-sa/4.0/>. | |
*/ |
OlderNewer