Merge pull request #4899 from samuele3hu/developNewUI

Fix:Resolve the error that CocoStudioSceneTest load resource in android
This commit is contained in:
James Chen 2014-01-05 19:29:26 -08:00
commit 1f580d2cf0
2 changed files with 3 additions and 3 deletions

View File

@ -61,11 +61,11 @@ bool AppDelegate::applicationDidFinishLaunching()
searchPaths.insert(searchPaths.begin(), "cocosbuilderRes");
if (screenSize.height > 320)
{
searchPaths.insert(searchPaths.begin(), "hd/scenetest");
searchPaths.insert(searchPaths.begin(), "hd/scenetest/LoadSceneEdtiorFileTest");
}
else
{
searchPaths.insert(searchPaths.begin(), "scenetest");
searchPaths.insert(searchPaths.begin(), "scenetest/LoadSceneEdtiorFileTest");
}
#if CC_TARGET_PLATFORM == CC_PLATFORM_BLACKBERRY

View File

@ -16,7 +16,7 @@ function SceneEditorTestLayer.extend(target)
end
function SceneEditorTestLayer:createGameScene()
local node = ccs.SceneReader:getInstance():createNodeWithSceneFile("scenetest/FishJoy2.json")
local node = ccs.SceneReader:getInstance():createNodeWithSceneFile("scenetest/LoadSceneEdtiorFileTest/FishJoy2.json")
if nil == node then
return
end