quick-cocos2d-x 2.2.1-rc
CHANGELOG 2.2.1-rc
highlights:
- implement touchable
CCNode
, and Flash style touch events dispatching - implement
GameObject
+Component
architecture, seesamples/mvc
- implement UI library, see `samples/ui
- implement encrypt Lua script bytecodes with XXTEA
- improved
CCLuaLoadChunksFromZIP()
performance - add
WebSockets
support, seesamples/websockets
- add
CCNode:getCascadeBoundingBox()
- add
display.addImageSync()
- add
CCHTTPRequest
cookie support - add
CCArmature
event callbacks, seesamples/dragonbones
- add
sqlite
,lpack
Lua extensions - add
samples/cocos2dx_luatest
- add
mac/win32
project template
changes:
- merge
CCNodeRGBA
toCCNode
- merge
CCLayerRGBA
toCCLayer
- implement touchable
CCNode
, and Flash style touch events dispatching - implement
GameObject
+Component
architecture, seesamples/mvc
- implement UI library, see `samples/ui
- implement encrypt Lua script bytecodes with XXTEA
- add
WebSockets
support, seesamples/websockets
- add
CCNode:getCascadeBoundingBox()
- add
CCParticleSystem:getTimeScale()
,setTimeScale()
- add
display.addImageSync()
,CCTextureCache:addImageAsync()
luabinding, seesamples/tests/display
- add
string.htmlspecialcharsDecode()
- add
string.urldecode()
- add
network.makeCookieString()
- add
network.parseCookie()
- add
CCHTTPRequest
cookie support, addsetCookieString()
,getCookieString()
- add
CCHTTPRequest:getResponseHeadersString()
- add
CCHTTPRequest:getRequestUrl()
- add
CCCrypto:MD5String()
- add
CCArmature
event callbacks, seesamples/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)
toCCScale9Sprite:createWithInsets
- rename
CCCrypto:encryptAES256Lua()
toencryptAES256()
- rename
CCCrypto:decryptAES256Lua()
todecryptAES256()
- rename
CCCrypto:encryptXXTEALua()
toencryptXXTEA()
- rename
CCCrypto:decryptXXTEALua()
todecryptXXTEA()
- rename
CCCrypto:encodeBase64Lua()
toencodeBase64()
- rename
CCCrypto:decodeBase64Lua()
todecodeBase64()
- rename
CCCrypto:MD5Lua()
toMD5()
- rename
CCNative:showAlertLua()
toshowAlertLua()
- rename
CCHTTPRequest:createWithUrlLua()
tocreateWithUrl()
- rename
CCHTTPRequest:getResponseDataLua()
togetResponseData()
- rename
CCNetwork:createHTTPRequestLua()
tocreateHTTPRequest()
- rename
CCStore:postInitWithTransactionListenerLua()
topostInitWithTransactionListener()
- rename
CCStore:loadProductsLua()
toloadProducts()
- rename
CCStore:finishTransactionLua()
tofinishTransaction()
- 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 intosamples/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
toCCNode
- replace
CCLayerRGBA
toCCLayer
- replace
CCLuaLog
toprint
- replace
CCBProxy
toLuaProxy
- replace
CCLuaLoadChunksFromZip()
toCCLuaLoadChunksFromZIP()