Cocos2d-Lua-Community 4.0.3 Release Note
注意:win32 LuaGameRunner 使用 vs2019 编译,如果你的系统没有安装 vs2019,需要安装 vs2019 运行库方能正确启动。运行库下载地址:Microsoft Visual C++ Redistributable for Visual Studio 2019 x86, Microsoft Visual C++ Redistributable for Visual Studio 2019 x64。
总揽
MP3音频支持,Mac m1 支持,shader性能优化.
新增
- add support for mac m1.
- audio support mp3 audio file.
- add cc.backendProgramType define to RendererConstants.lua.
- FairyGUI binding completion.
改进
- addSpriteFramesWithFile binding worning fix.
- openssl update to 1.1.0l.
- glfw update to 3.3.4.
- remove updateShaders, builtinProgram is faster then new a program.
- Win32 use VSync, old sleep may make frame skipping.
- cc.FileUtils:isFileExistInternal() work with chinese directory.
- Win32 LuaGameRunner work with chinese directory.
- Spine Allow ownership of AttachmentLoader to be passed to SkeletonBinary and SkeletonJson.
- RenderTexture render sync, async may crash in may case with render cmd was freed.
- Spine add binding api: setDefaultMix.
- TMX add convert for ellipse object.
- add display.newSector.
- optimized plist loading.
- Mat4_translate binding fix, camera’s AdditionalTransform fix.
- FairyGUI remove windowSizeListener, it may do evil on PC game.
- TMX object layer’s tile animation key use id, and fix schedule start or stop check.
- FairyGUI 优化fgui纹理加载.
- Culling work with user camera and fix camera scaled culling error.
- add binding for FairyGUI FUISprite.
- AsyncTCP support host use domain name.
- Android project add PROP_NDK_VERSION and PROP_BUILD_TOOLS_VERSION.
修正
- cc.utils:findChild() & add cc.utils:gettime() binding fix.
- revert GLView-desktop fullscreen, center use current monitor.
- FairyGUI GLoader3D fix Spine node pos.
- FairyGUI official bugfix sync.
- binding fix for getBuiltinProgram.
- cc.Sprite:setTexture never change custom shader setting.
- FontFreeType remove force mono render, it not ok for all ttf font.
- fix jpeg header file missmatch.
- some bugfix sync from 3.7.x
- some bugfix snc from Cocos2d-x.
- FairyGUI send move event correctly.
- 修复调用display.newScale9Sprite时的参数和新版引擎不兼容的bug.
- fix FairyGUI GTreeNode create 接口读取lua参数取值错误.
- CCLabel correctly set _maxLineWidth when use TTFScaleFactor.
- CCActionTimeline sync 3.7.x bugfix.
- TMX getPositionAt use float.
下载地址