Morten Egan
posted this on November 06, 2011 01:59 am
Hi,
I have successfully loaded and tested the demos that come with SDK. In demo 03 (Sorter) there is sounds attached to the demo. When I try that in my own project, it crashes, simply because it cannot find the file.
I have a project in monobuild, and I have a manifest.json, contents:
{
"app": {
"title": "LAS",
"description": "Play an awesome game!",
"version": "0.0.1",
"runtime": "executable",
"server": "127.0.0.1:7000",
"appModule": "UNUSED",
"coverArt": "cover.png",
"internalArt": "internal.png",
"requiredSiftCount": 3,
"instructions": "assets/instructions",
"soundsPath": "assets/sounds",
"imagesPath": "assets/images"
}
}
But it does not look like it can find the sound assets. How can I verify that it is included in the deployed code, and that it is reading the correct place?
Comments
I had the same problem. If you read the SDK it says that the Assets Folder needs to be at the same directory level as the manifest. Move it there since the template is different from the examples. Also!!!! VERY IMPORTANT. Make sure you reload your app into the SiftDev. It does not refresh automatically (at least on the OS X, not sure about windows. Start it up in MonoDevelop and Load App from the SiftDev, then start it again. See if that helps.