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.
610 stars 291 forks source link

CCTMXTileLayer not retrieving tiles #40

Open ghost opened 12 years ago

ghost commented 12 years ago

when calling tileAt() I keep getting a null value, tile not found. Upon closer inspection it seems that line 176 if causing the problem. Setting the tile to null, inside the code block that creates a new tile.

ZhouWeikuan commented 12 years ago

It is updated now. Thanks very much!

2011/9/29 Rhyder < reply@reply.github.com>

when calling tileAt() I keep getting a null value, tile not found. Upon closer inspection it seems that line 176 if causing the problem. Setting the tile to null, inside the code block that creates a new tile.

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

This is Zhou, Weikuan(Ϊ)