Back to project page proteus-sidescroller.
The source code is released under:
GNU General Public License
If you think the Android project proteus-sidescroller listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.bartholomew.proteus; // w w w. j a v a2 s. c o m import com.badlogic.gdx.ApplicationListener; import com.badlogic.gdx.Game; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.graphics.GL10; import com.badlogic.gdx.graphics.OrthographicCamera; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.Texture.TextureFilter; import com.badlogic.gdx.graphics.g2d.Sprite; import com.badlogic.gdx.graphics.g2d.SpriteBatch; import com.badlogic.gdx.graphics.g2d.TextureRegion; public class Proteus extends Game { // Necessary variables public static final String TITLE = "Proteus", VERSION = "0.1"; @Override public void create() { //TODO This should be called setScreen(new Splash()); setScreen(new GameWorld()); } @Override public void dispose() { super.dispose(); } @Override public void render() { super.render(); } @Override public void resize(int width, int height) { super.resize(width, height); } @Override public void pause() { super.pause(); } @Override public void resume() { super.resume(); } }