2012年12月24日

libgdx引擎-android游戏开发(三)

摘要: 学习笔记:1.要响应界面的操作,可以继承InputProcessor接口2.我的地图是30*30块的,每个块为32*32 打印结果为:tileMapRenderer.getMapHeightUnits=[960] tileMapRenderer.getUnitsPerTileX=[32] Gdx.graphics.getWidth()=[480] Gdx.graphics.getHeight()=[800] 这些个函数的含义明白了吧,,呵呵3.我在制作地图时,图层名称默认为汉字:块层2 ,,结果代码中我用map.layers.get(i).na... 阅读全文

posted @ 2012-12-24 00:34 我有博客了 阅读(151) 评论(0) 推荐(0) 编辑

导航