Game Development Reference
In-Depth Information
Note
On my machine, version 3.4 of the framework threw compile errors. I had to add two
fixes in order to run Stone Age. In
cocos-cocos2d-Cocos2dConstants.lua
,
just before the last table is declared, I added this line:
cc.AsyncTaskPool = {}
Similarly, in
cocos-ui-GuiConstants.lua
, I added
ccui.LayoutComponent
= {}
before new tables are added to
LayoutComponent
, also near the end of the file.
If you run into problems, switch to version 3.3, which was much more stable for Lua de-
velopment.