Hi, My first attempt at using CS. I have created a Windows Phone 8 project using the Xamarin Cocos Sharp Visual Studio templates.
I altered the default ApplicationDidFinishLaunching method as follows
var scene = new CCScene(mainWindow); //var introLayer = new IntroLayer(); var mi = new CCTileMapInfo("test.tmx"); var tm = new CCTileMap(mi); scene.AddChild(tm); mainWindow.RunWithScene(scene);
but the application simply crashes in the App.xaml.cs Application_UnhandledException method with the exception "Cannot access a closed Stream."
My test.tmx file was created with Tiled and is in the Content folder. I have stepped into the code and my mi and tm variables appear to contain the correct information from the tmx file.
Ultimately I want to display a tiled map and move sprites on top of it but baby steps first... if anyone can help that would be brilliant.