cocos code IDE 1.1.0最新版的,quick是3.3的,cocos\quick-3.3\quick\samples这个里面有个2048的lua项目,我想在cocos code IDE导入并调试,应该怎么做呀,请大家帮我一下。谢谢
控制台log如下:
debug args = require(‘debugger’)(,’’)
value at stack -1] is not function
cocos2d: fullPathForFilename: No file found at .\src/main.luac. Possible missing file.
cocos2d: fullPathForFilename: No file found at .\cocos/init.luac. Possible missing file.
cocos2d: fullPathForFilename: No file found at .\cocos/cocos2d/Cocos2d.luac. Possible missing file.
cocos2d: fullPathForFilename: No file found at .\cocos/cocos2d/Cocos2dConstants.luac. Possible missing file.
cocos2d: fullPathForFilename: No file found at .\cocos/cocos2d/extern.luac. Possible missing file.
cocos2d: fullPathForFilename: No file found at .\cocos/cocos2d/bitExtend.luac. Possible missing file.
cocos2d: fullPathForFilename: No file found at .\cocos/cocos2d/DrawPrimitives.luac. Possible missing file.
cocos2d: fullPathForFilename: No file found at .\cocos/cocos2d/Opengl.luac. Possible missing file.
cocos2d: fullPathForFilename: No file found at .\cocos/cocos2d/OpenglConstants.luac. Possible missing file.
cocos2d: fullPathForFilename: No file found at .\cocos/cocosbuilder/CCBReaderLoad.luac. Possible missing file.
cocos2d: fullPathForFilename: No file found at .\cocos/cocosdenshion/AudioEngine.luac. Possible missing file.
cocos2d: fullPathForFilename: No file found at .\cocos/cocostudio/CocoStudio.luac. Possible missing file.
cocos2d: fullPathForFilename: No file found at .\cocos/cocos2d/json.luac. Possible missing file.
cocos2d: fullPathForFilename: No file found at .\cocos/cocostudio/StudioConstants.luac. Possible missing file.
cocos2d: fullPathForFilename: No file found at .\cocos/ui/GuiConstants.luac. Possible missing file.
cocos2d: fullPathForFilename: No file found at .\cocos/ui/experimentalUIConstants.luac. Possible missing file.
cocos2d: fullPathForFilename: No file found at .\cocos/extension/ExtensionConstants.luac. Possible missing file.
cocos2d: fullPathForFilename: No file found at .\cocos/network/NetworkConstants.luac. Possible missing file.
cocos2d: fullPathForFilename: No file found at .\cocos/spine/SpineConstants.luac. Possible missing file.
cocos2d: fullPathForFilename: No file found at .\GameScene.luac. Possible missing file.
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
Running command: new
Copy template into C:\Users\xxx\Documents\cocos\CocosLua2048
Replace the project name from ‘HelloLua’ to ‘CocosLua2048’
Copying directory from cocos root directory…
Console: listening on 0.0.0.0 : 6010
Console: listening on 0.0.0.0 : 6020
Ready for GLSL
Ready for OpenGL 2.0
{
gl.version: 4.2.12002 Compatibility Profile Context 9.12.0.0
gl.supports_NPOT: true
cocos2d.x.version: cocos2d-x 3.3
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: ATI Technologies Inc.
gl.renderer: ATI Radeon HD 5450
gl.max_texture_units: 32
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
}
debug args = require(‘debugger’)(,’’)
value at stack -1] is not function
cocos2d: fullPathForFilename: No file found at .\src/main.luac. Possible missing file.
can not get file data of src/framework/init.lua
module ‘framework.init’ not found:
no field package.preload’framework.init’]
no file ‘.\framework\init.lua’
no file ‘C:\Users\xxx\Documents\cocos\CocosLua2048\runtime\win32\lua\framework\init.lua’
no file ‘C:\Users\xxx\Documents\cocos\CocosLua2048\runtime\win32\lua\framework\init\init.lua’
no file ‘src/’
no file ‘.\framework\init.dll’
no file ‘C:\Users\xxx\Documents\cocos\CocosLua2048\runtime\win32\framework\init.dll’
no file ‘C:\Users\xxx\Documents\cocos\CocosLua2048\runtime\win32\loadall.dll’
no file ‘.\framework.dll’
no file ‘C:\Users\xxx\Documents\cocos\CocosLua2048\runtime\win32\framework.dll’
no file ‘C:\Users\xxx\Documents\cocos\CocosLua2048\runtime\win32\loadall.dll’
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile