Skip to content

quick-cocos2d-x 2.2.1-rc

Compare
Choose a tag to compare
@dualface dualface released this 20 Nov 17:24
· 1187 commits to master since this release

CHANGELOG 2.2.1-rc

highlights:

  • implement touchable CCNode, and Flash style touch events dispatching
  • implement GameObject + Component architecture, see samples/mvc
  • implement UI library, see `samples/ui
  • implement encrypt Lua script bytecodes with XXTEA
  • improved CCLuaLoadChunksFromZIP() performance
  • add WebSockets support, see samples/websockets
  • add CCNode:getCascadeBoundingBox()
  • add display.addImageSync()
  • add CCHTTPRequest cookie support
  • add CCArmature event callbacks, see samples/dragonbones
  • add sqlite, lpack Lua extensions
  • add samples/cocos2dx_luatest
  • add mac/win32 project template

changes:

  • merge CCNodeRGBA to CCNode
  • merge CCLayerRGBA to CCLayer
  • implement touchable CCNode, and Flash style touch events dispatching
  • implement GameObject + Component architecture, see samples/mvc
  • implement UI library, see `samples/ui
  • implement encrypt Lua script bytecodes with XXTEA
  • add WebSockets support, see samples/websockets
  • add CCNode:getCascadeBoundingBox()
  • add CCParticleSystem:getTimeScale(), setTimeScale()
  • add display.addImageSync(), CCTextureCache:addImageAsync() luabinding, see samples/tests/display
  • add string.htmlspecialcharsDecode()
  • add string.urldecode()
  • add network.makeCookieString()
  • add network.parseCookie()
  • add CCHTTPRequest cookie support, add setCookieString(), getCookieString()
  • add CCHTTPRequest:getResponseHeadersString()
  • add CCHTTPRequest:getRequestUrl()
  • add CCCrypto:MD5String()
  • add CCArmature event callbacks, see samples/dragonbones
  • add sqlite, lpack Lua extensions
  • add samples/cocos2dx_luatest
  • add mac/win32 project template
  • add iskindof()
  • add import()
  • add table.map(), table.walk(), table.filter, table.find(), table.insertTo(), table.indexOf(), table.indexOfKey(), table.removeItem(), table.keyOfItem()
  • CCEditBox send return event with returnKeyType
  • rename CCScale9Sprite:create (CCRect capInsets, const char\* file) to CCScale9Sprite:createWithInsets
  • rename CCCrypto:encryptAES256Lua() to encryptAES256()
  • rename CCCrypto:decryptAES256Lua() to decryptAES256()
  • rename CCCrypto:encryptXXTEALua() to encryptXXTEA()
  • rename CCCrypto:decryptXXTEALua() to decryptXXTEA()
  • rename CCCrypto:encodeBase64Lua() to encodeBase64()
  • rename CCCrypto:decodeBase64Lua() to decodeBase64()
  • rename CCCrypto:MD5Lua() to MD5()
  • rename CCNative:showAlertLua() to showAlertLua()
  • rename CCHTTPRequest:createWithUrlLua() to createWithUrl()
  • rename CCHTTPRequest:getResponseDataLua() to getResponseData()
  • rename CCNetwork:createHTTPRequestLua() to createHTTPRequest()
  • rename CCStore:postInitWithTransactionListenerLua() to postInitWithTransactionListener()
  • rename CCStore:loadProductsLua() to loadProducts()
  • rename CCStore:finishTransactionLua() to finishTransaction()
  • fix CCCrypto:encodeBase64()
  • fix CCLayer:onAccelerate() miss argument
  • fix player mac: option "Load Precompile Framework" can't save
  • fix iOS 7 status bar
  • fix io.readfile(), io.exists() on Android
  • fix CCLuaLog buffer size
  • fix CCHTTPRequest:setTimeout()
  • fix CCHTTPRequest not cleanup script listener
  • fix CCCrypto:encodeBase64() buffer overwrite
  • update LuaProxy
  • upgrade proj.ios, proj.mac to Xcode 5
  • remove CCCrypto:sha1()
  • remove Visual Studio 2010 project
  • remove Windows XP support

samples:

  • add samples/ui
  • add samples/websockets
  • add samples/touchsprite
  • add samples/mvc
  • remove samples/network, all network tests merge into samples/tests

modules version:

  • cocos2d-x 2.2.1
  • LuaJIT 2.0.2
  • Chipmunk 6.1.3
  • CSArmature 2.1.5
  • lua-cjson 2.1.0
  • lua-filesystem 1.6.2
  • lua-socket 2.1-rc1
  • lua-zlib 0.2
  • LuaProxy 2.2

Upgrade to 2.2.1-rc

  • remove require("framework.json"), json is default loaded module
  • remove require("framework.crypto"), crypto is default loaded module
  • replace CCNodeRGBA to CCNode
  • replace CCLayerRGBA to CCLayer
  • replace CCLuaLog to print
  • replace CCBProxy to LuaProxy
  • replace CCLuaLoadChunksFromZip() to CCLuaLoadChunksFromZIP()