fishfpg

Untitled

Oct 13th, 2011
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.30 KB | None | 0 0
  1. final TMXLoader tmxLoader = new TMXLoader(mContext, mContext.getEngine().getTextureManager(), TextureOptions.BILINEAR_PREMULTIPLYALPHA);
  2. mTMXTiledMap = tmxLoader.loadFromAsset(mContext, "background_tile.tmx");
  3. final TMXLayer tmxLayer = this.mTMXTiledMap.getTMXLayers().get(0);
  4. scene.attachChild(tmxLayer);
Advertisement
Add Comment
Please, Sign In to add comment