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

3 bugs #37

Open into4g opened 13 years ago

into4g commented 13 years ago

Hi ZhouWeikuan,

your project - cocos2d have 3 bugs.

  1. default.properties:android.library=true => android.library=false
  2. org.cocos2d.layers.CCTMXMapInfo: line 260 positionOffset.x = Integer.parseInt(attributes.getValue("x")) * tileSize.width; positionOffset.y = Integer.parseInt(attributes.getValue("y")) * tileSize.height; => try { positionOffset.x = Integer.parseInt(attributes.getValue("x")) * tileSize.width; positionOffset.y = Integer.parseInt(attributes.getValue("y")) * tileSize.height; } catch (Exception e) {}
  3. org.cocos2d.layers.CCTMXLayer: line 176 remove: tile = null;

into4g

ZhouWeikuan commented 13 years ago

Yes, for 2&3, you are right. We should fix it.

2011/9/19 into4g < reply@reply.github.com>

Hi ZhouWeikuan,

your project - cocos2d have 3 bugs.

  1. default.propertiesandroid.library=true => android.library=false
  2. org.cocos2d.layers.CCTMXMapInfo: line 260 positionOffset.x = Integer.parseInt(attributes.getValue("x")) tileSize.width; positionOffset.y = Integer.parseInt(attributes.getValue("y")) tileSize.height; => try { positionOffset.x = Integer.parseInt(attributes.getValue("x")) tileSize.width; positionOffset.y = Integer.parseInt(attributes.getValue("y")) tileSize.height; } catch (Exception e) {}
  3. org.cocos2d.layers.CCTMXLayer: line 176 remove: tile = null;

into4g

Reply to this email directly or view it on GitHub: https://github.com/ZhouWeikuan/cocos2d/issues/37

This is Zhou, Weikuan(Ϊ)

ZhouWeikuan commented 13 years ago

it is updated now, sorry for the late.

2011919 10:07Zhou, Weikuan zhouweikuan@gmail.comд

Yes, for 2&3, you are right. We should fix it.

2011/9/19 into4g < reply@reply.github.com>

Hi ZhouWeikuan,

your project - cocos2d have 3 bugs.

  1. default.propertiesandroid.library=true => android.library=false
  2. org.cocos2d.layers.CCTMXMapInfo: line 260 positionOffset.x = Integer.parseInt(attributes.getValue("x")) tileSize.width; positionOffset.y = Integer.parseInt(attributes.getValue("y")) tileSize.height; => try { positionOffset.x = Integer.parseInt(attributes.getValue("x")) tileSize.width; positionOffset.y = Integer.parseInt(attributes.getValue("y")) tileSize.height; } catch (Exception e) {}
  3. org.cocos2d.layers.CCTMXLayer: line 176 remove: tile = null;

into4g

Reply to this email directly or view it on GitHub: https://github.com/ZhouWeikuan/cocos2d/issues/37

This is Zhou, Weikuan(Ϊ)

This is Zhou, Weikuan(Ϊ)