3.4final创建的lua工程 vs跑起来黑屏

太扯了吧 final版 创建的lua工程 跑不起来!!!!!

按照python cocos.py new HelloCpp -p com.coco2dx.org -l lua -d ~/Desktop 创建的lua工程跑不起来啊????

报的这个

SCREEN DPI = 96, SCREEN SCALE = 1.00
Ready for GLSL
Ready for OpenGL 2.0

{
gl.version: 4.3.0
gl.supports_NPOT: true
cocos2d.x.version: cocos2d-x 3.4
cocos2d.x.compiled_with_profiler: false
cocos2d.x.build_type: DEBUG
cocos2d.x.compiled_with_gl_state_cache: true
gl.max_texture_size: 16384
gl.vendor: NVIDIA Corporation
gl.renderer: GeForce GTX 650/PCIe/SSE2
gl.max_texture_units: 192
gl.supports_ETC1: false
gl.supports_S3TC: true
gl.supports_ATITC: false
gl.supports_PVRTC: false
gl.supports_BGRA8888: false
gl.supports_discard_framebuffer: false
gl.supports_vertex_array_object: true
}

Project Config:
project dir: F:\CocosIde\YaoWei\frameworks\runtime-src\proj.win32…\
writable path: (PROJDIR)\ script file: (PROJDIR)\src\main.lua
frame size: 960 x 640
frame scale: 1.00
show console: YES
write debug log: NO ()
listen:
debugger: none
add searching path:

fuck了 问题解决了

用vs跑lua工程 需要把res和src拷贝到runtime下 坑爹啊

请问是只要把工程目录下的src和res文件夹剪切到runtime文件夹下就行吗?还是runtime下的win32文件夹,我怎么搞了都还是黑屏,

为什么一定要用VS跑Lua呢…又没代码补全功能…虽然CODE IDE有坑,但至少能代码补全啊…quick和sublime 也不错啊

在AppDelegate.cpp的bool AppDelegate::applicationDidFinishLaunching()下开始的位置添加:
//add search paths/////////////////////////////
string strPath = CCFileUtils::getInstance()->getWritablePath();
vector vtPath = CCFileUtils::getInstance()->getSearchPaths();

vtPath.push_back(strPath + "res/");
vtPath.push_back(strPath + "src/");

CCFileUtils::getInstance()->setSearchPaths(vtPath);
/////////////////////////////////////////////

你总得要编译C++吧。。。。。。

好吧,我以为是纯Lua

把工程下config.json拷贝到simulator\win32下