标签:style blog ar color os sp on div art
CCSprite.sprite()加载进来的图片默认锚点是(0.5,0.5),即图片中间
CCTMXTiledMap.tiledMap()加载进来的地图默认锚点(0,0)
这段代码在模拟器上运行正常,但是在真机上报错
private void consumeTime() { new AsyncTask<Void, Void, Void>(){ @Override protected Void doInBackground(Void... params) { SystemClock.sleep(5000); return null; } protected void onPostExecute(Void result) { setIsTouchEnabled(true); loading.removeSelf(); WelcomeLayer.this.getChildByTag(TAG_START).setVisible(true); }; }.execute(); }
标签:style blog ar color os sp on div art
原文地址:http://www.cnblogs.com/cherryhimi/p/4115553.html