背景和头像缺失
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
mycocos=tools/cocos2d-console/bin/cocos
|
||||
$mycocos new -l $1
|
||||
if [ $1 = "cpp" ];then
|
||||
projectname="MyCppGame"
|
||||
elif [ $1 = "lua" ];then
|
||||
projectname="MyLuaGame"
|
||||
elif [ $1 = "js" ];then
|
||||
projectname="MyJSGame"
|
||||
fi
|
||||
|
||||
$mycocos compile -p android -s $projectname --android-studio -j4 --ndk-mode release --compile-script 0
|
||||
@@ -0,0 +1,25 @@
|
||||
#!/bin/bash
|
||||
mycocos=tools/cocos2d-console/bin/cocos
|
||||
$mycocos new -l $1
|
||||
|
||||
if [ $1 = "cpp" ];then
|
||||
schemename="MyCppGame-mobile"
|
||||
projectpath="MyCppGame/proj.ios_mac/MyCppGame.xcodeproj"
|
||||
cocos_project_path="MyCppGame"
|
||||
elif [ $1 = "lua" ];then
|
||||
schemename="MyLuaGame-mobile"
|
||||
projectpath="MyLuaGame/frameworks/runtime-src/proj.ios_mac/MyLuaGame.xcodeproj"
|
||||
cocos_project_path="MyLuaGame"
|
||||
elif [ $1 = "js" ];then
|
||||
schemename="MyJSGame-mobile"
|
||||
projectpath="MyJSGame/frameworks/runtime-src/proj.ios_mac/MyJSGame.xcodeproj"
|
||||
cocos_project_path="MyJSGame"
|
||||
fi
|
||||
|
||||
echo "start building..."
|
||||
cocos compile -p ios -s $cocos_project_path | xcpretty
|
||||
cocos compile -p ios -s $cocos_project_path
|
||||
# xcodebuild -project $projectpath -target "${schemename}" -destination "platform=iOS Simulator,name=iPhone Retina (4-inch)" clean | xcpretty
|
||||
# xcodebuild -project $projectpath -target "${schemename}" -destination "platform=iOS Simulator,name=iPhone Retina (4-inch)" build | xcpretty
|
||||
# #the following commands must not be removed
|
||||
# xcodebuild -project $projectpath -target "${schemename}" -destination "platform=iOS Simulator,name=iPhone Retina (4-inch)" build
|
||||
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
mycocos=tools/cocos2d-console/bin/cocos
|
||||
$mycocos new -l $1
|
||||
|
||||
if [ $1 = "cpp" ]; then
|
||||
projectname="MyCppGame"
|
||||
elif [ $1 = "lua" ]; then
|
||||
projectname="MyLuaGame"
|
||||
elif [ $1 = "js" ]; then
|
||||
projectname="MyJSGame"
|
||||
fi
|
||||
|
||||
$mycocos compile -p linux -s $projectname -m release -j4 --compile-script 0
|
||||
@@ -0,0 +1,25 @@
|
||||
#!/bin/bash
|
||||
mycocos=tools/cocos2d-console/bin/cocos
|
||||
$mycocos new -l $1
|
||||
|
||||
if [ $1 = "cpp" ];then
|
||||
schemename="MyCppGame-desktop"
|
||||
projectpath="MyCppGame/proj.ios_mac/MyCppGame.xcodeproj"
|
||||
cocos_project_path="MyCppGame"
|
||||
elif [ $1 = "lua" ];then
|
||||
schemename="MyLuaGame-desktop"
|
||||
projectpath="MyLuaGame/frameworks/runtime-src/proj.ios_mac/MyLuaGame.xcodeproj"
|
||||
cocos_project_path="MyLuaGame"
|
||||
elif [ $1 = "js" ];then
|
||||
schemename="MyJSGame-desktop"
|
||||
projectpath="MyJSGame/frameworks/runtime-src/proj.ios_mac/MyJSGame.xcodeproj"
|
||||
cocos_project_path="MyJSGame"
|
||||
fi
|
||||
|
||||
cocos compile -p mac -s $cocos_project_path | xcpretty
|
||||
cocos compile -p mac -s $cocos_project_path
|
||||
|
||||
# xcodebuild -project $projectpath -target "${schemename}" -destination "platform=iOS Simulator,name=iPhone Retina (4-inch)" clean | xcpretty
|
||||
# xcodebuild -project $projectpath -target "${schemename}" -destination "platform=iOS Simulator,name=iPhone Retina (4-inch)" build | xcpretty
|
||||
# #the following commands must not be removed
|
||||
# xcodebuild -project $projectpath -target "${schemename}" -destination "platform=iOS Simulator,name=iPhone Retina (4-inch)" build
|
||||
@@ -0,0 +1,2 @@
|
||||
call "%VS120COMNTOOLS%vsvars32.bat"
|
||||
msbuild MyCppGame/proj.win32/MyCppGame.sln /t:Build /p:Platform="Win32" /p:Configuration="Release" /m
|
||||
@@ -0,0 +1,2 @@
|
||||
call "%VS120COMNTOOLS%vsvars32.bat"
|
||||
msbuild MyJSGame/frameworks/runtime-src/proj.win32/MyJSGame.sln /t:Build /p:Platform="Win32" /p:Configuration="Release" /m
|
||||
@@ -0,0 +1,2 @@
|
||||
call "%VS120COMNTOOLS%vsvars32.bat"
|
||||
msbuild MyLuaGame/frameworks/runtime-src/proj.win32/MyLuaGame.sln /t:Build /p:Platform="Win32" /p:Configuration="Release" /m
|
||||
@@ -0,0 +1,2 @@
|
||||
call "%VS120COMNTOOLS%vsvars32.bat"
|
||||
msbuild MyCppGame/proj.win8.1-universal/MyCppGame.sln /t:Build /p:Platform="Win32" /p:Configuration="Release" /m
|
||||
@@ -0,0 +1,2 @@
|
||||
call "%VS120COMNTOOLS%vsvars32.bat"
|
||||
msbuild MyJSGame/frameworks/runtime-src/proj.win8.1-universal/MyJSGame.sln /t:Build /p:Platform="Win32" /p:Configuration="Release" /m
|
||||
@@ -0,0 +1,2 @@
|
||||
call "%VS120COMNTOOLS%vsvars32.bat"
|
||||
msbuild MyLuaGame/frameworks/runtime-src/proj.win8.1-universal/MyLuaGame.sln /t:Build /p:Platform="Win32" /p:Configuration="Release" /m
|
||||
Reference in New Issue
Block a user