ZhouWeikuan / cocos2d

cocos2d for android, based on cocos2d-android-0.82, and now ported from cocos2d-iphone 0.99.4. The googlecode address is here: http://code.google.com/p/cocos2d-android-1/ . There are several demos to watch.
609 stars 291 forks source link

TMX map display not correct #18

Open jameskenen opened 13 years ago

jameskenen commented 13 years ago

What steps will reproduce the problem?

  1. first open the tmx map in init function
  2. secone debug step by step,can open tmx and load layers,then goto the scene function in CCLayer Class;
  3. when finish the this.addChild(),and return the scene,the map displayed on screen is not correct;

What is the expected output? What do you see instead? i should see a right displayed tiled map,but i see a lot of black tile and some my tile across the whole map;

What version of the product are you using? On what operating system? i use the current version , check out with git; On Mac X10.6.7 with eclipse and android2.2;

Please provide any additional information below. base64 gzip encoding map;

ZhouWeikuan commented 13 years ago

Yes, TMX map is flawed, it has much to improve. Welcome patches and suggestions and bug report with detailed project.