local listenerKey= cc.EventListenerKeyboard:create() local function onKeyReleaseed(keycode,event) if keycode == cc.KeyCode.KEY_BACKSPACE then cc.Director:getInstance():endToLua() end end listenerKey:registerScriptHandler(onKeyReleaseed,cc.Handler.EVE…
Cocos2d (v.3.0) rendering pipeline roadmap Why (the vision) The way currently Cocos2d does rendering is good but it is beginning to feel somehow antiquate and moreover it doesn't actually leverage modern multi core CPUs so popular nowadays on most mo…
最近开始学习Lua这里记录下一个写简单Lua代码,但我在写Lua代码.自己主动的代码提示的一些问题,谁希望提供下很好的解决方案,编辑我用SubLime Text2 test.lua.这里创建一个场景,一个层 ,一个Label 将test.lua换到HelloWorld 中的main.lua就好 // // Created by 杜甲 on 14-3-10. // Copyright (c) 2014年 杜甲. All rights reserved. // require "Cocos2d&…