We’re collaborating with ARM, to get the c++ debugging support from ARM DS-5 tool. I have a demo and video here, but I need to get ARM’s license to re-distribute their DS-5 tool firstly. The best situation is that we can make it happen before the end of this August.
I wish the auto complete feature can support the following 2 situations:
1 for self
2 for callback parameters,for example
local
function onTouchEnded(touch, event)
–currently, no completion for touch: and event:
end
listener1:registerScriptHandler(onTouchBegan,cc.Handler.EVENT_TOUCH_BEGAN )
hi yangws, glad to see that we can customize the runtime by c++, can you share a example for it? I have read the tutorials for cocos ide, but however can’t find anything about it. I currently met a problem, I have added sqlite3 into liblua, and have it’s binded to lua so I can code in lua. When I use cocos ide to debug the lua codes, it reported can’t find sqlite3.lua. I think if I customize the c++ runtime can solve this problem. And I guess this is the normal case for most people who use c++ and lua together, they would like to put in more 3rd libraries.
“No file found at /cc_2x2_white_image” bug find in cocos code IDE
I copy 【cocos2d-js-v3.0-rc0\samples\js-tests】 into my own project built by cocos code ide. I have already change the project.json and main.js . Then I try to run the test ~ IDE seem to get the bug “No file found at /cc_2x2_white_image …etc”
I used to use Corona SDK for Lua programming but I’ve finally gotten a Mac, so I am transitioning to Cocos 2D-X. I’m using the new IDE, and I’m facing a major issue right now.
When I run the IDE to debug any Lua game such as CocosLuaGame on my Mac (10.9.4), the PrebuiltRuntimeLua Window seems to freeze, waiting for the debugger to connect.
cocos2d: Console: listening on 0.0.0.0 : 6010
cocos2d: Console: listening on 0.0.0.0 : 6020
libpng warning: iCCP: known incorrect sRGB profile
cocos2d: [LUA-print] Debugger v1.1.0
cocos2d: [LUA-print] Debugger: Trying to connect to 127.0.0.1:10000 …
cocos2d: [LUA-print] Debugger: Connection succeed.
I have to force quit the PrebuiltRuntimeLua window.