Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3 bugs #37

Open
into4g opened this issue Sep 19, 2011 · 2 comments
Open

3 bugs #37

into4g opened this issue Sep 19, 2011 · 2 comments

Comments

@into4g
Copy link

into4g commented Sep 19, 2011

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
Copy link
Owner

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:
#37

This is Zhou, Weikuan(Ϊ)

@ZhouWeikuan
Copy link
Owner

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:
#37

This is Zhou, Weikuan(Ϊ)

This is Zhou, Weikuan(Ϊ)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants