Quote:
Originally Posted by Meredi86
ok so it was just the brows location that was messing me around. Cool that i believe is in my ability to fix and prevent
Thanks dany, i can move on to bigger and better things now 
|
Hiii
I m new be in cocos2d . i used "http://www.raywenderlich.com/1163/how-to-make-a-tile-based-game-with-cocos2d" this tutorial . According to this code , i created my code , but this code gives the error:
2011-08-08 20:03:57.499 TileDemo[6971:207] *** Assertion failure in -[CCTMXMapInfo parser:didStartElement:namespaceURI:qualifiedName: attributes:], /Users/computerdepot/TileDemo/libs/cocos2d/CCTMXXMLParser.m:300
2011-08-08 20:03:57.503 TileDemo[6971:207] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'TMX: unsupported compression method'
*** Call stack at first throw:
I didn't understood this error.
My xml file:
<?xml version="1.0" encoding="UTF-8"?>
<map version="1.0" orientation="orthogonal" width="15" height="10" tilewidth="32" tileheight="32">
<tileset firstgid="1" name="Final" tilewidth="32" tileheight="32" spacing="0" margin="0">
<image source="Final.png" width="480" height="320"/>
</tileset>
<layer name="Background" width="15" height="10">
<data encoding="base64" compression="zlib">
eJxjZGBgYIRiFiQ2MXyBAcJ6QxBHD0HcSQEGAL3wIhU=
</data>
</layer>
<objectgroup name="objects" width="15" height="10">
<object name="obj" x="226" y="305">
</object>
</objectgroup>
</map>
Plz give response as soon as possible.
Thank u vry much