
LIBGDX
文章平均质量分 60
decamincow
这个作者很懒,什么都没留下…
展开
-
libgdx 图片导入与简单处理
public class MyGdxGame implements ApplicationListener { Texture texture;//纹理贴图 SpriteBatch batch; TextureRegion region;//图片区域 Sprite sprite;//精灵 @Override public void create() {原创 2014-07-01 09:06:52 · 1305 阅读 · 0 评论 -
libgdx 动画
public class MyGdxGame implements ApplicationListener { Animation animation; Texture texture; TextureRegion[] walkFrames; SpriteBatch batch; TextureRegion textureRegion; float statetime;原创 2014-07-01 10:09:29 · 711 阅读 · 0 评论 -
libgdx 舞台转换
1.常量public class Constants { public static int Stageflag = 1; public static int StartStageOn = 1; public static int GameStageOn = 2; public static int StoreStageOn = 3;}2.开始舞台转载 2014-07-01 12:52:40 · 776 阅读 · 0 评论 -
libgdx 适配存储(干货)
Preferences prefs;prefs = Gdx.app.getPreferences("My Preferences");//存储的key原创 2014-07-13 00:16:14 · 616 阅读 · 0 评论