Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Cocos2D XNA , TMX file error

$
0
0

Hello!

Since some days, i tried unsuccessful to load and display a tiled map with cocos2d xna.

I have tried, .tmx empty, with ressources, with ressources .xnb. also i never find how to convert the .tmx into .xnb (i see somebody speak about it on cocos2d xna forum).

About the code i used the obsolete CCTMXTiledMap.Create

And after this i update my cocos2d dll to the last version, and now i just use the constructor like this :

CCTMXTiledMap map = new CCTMXTiledMap("MapTest.tmx");

But my game always crash at this line, the lastet error that i have see (with .xnb ressources) is :

System.ArgumentException An element with the same key already exists in the dictionary.

It's different of the other times, so i hope it will be possible to load this.

Thanks in advance

See you


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>