v2.2.0
The 2.2.0 release is a minor LTS
release for bugfixes and improvements
🙏thanks to all contributers of axmol include financial sponsors: @thienphuoc, @bingsoo, @asnagni, @paulocoutinhox, @DelinWorks, @duong
Significant changes relative to 2.1.5:
- Enable vsync by default by @halx99 in #2118
- Improve android media player, also fix #2101 by @halx99 in #2109
- Add build on ubuntu 24.04 support by @halx99 in #2152
- No longer add sprite as child of RenderTexture by @halx99 in #2149
- API change too: remove all DrawNode setLineWidth() stuff by @aismann in #2172
Bug fixes
- Fix invalidated iterator access in
Scheduler::unscheduleAllWithMinPriority()
by @smilediver in #2194 - Fix label in PauseTest. by @Tosik86 in #2157
- Fix #2147 full screen incorrect on macOS by @halx99 in #2150
- Fix RenderTargetGL FBO not recreate when recv EVENT_RENDERER_RECREATED by @halx99 in #2148
- Fix EventMouse coords by @halx99 in #2141
- Fix for incorrect bits per pixel set on texture reload by @rh101 in #2138
- Fix move constructor comment in Data class by @Tosik86 in #2132
- Fix Node
setPosition()
andsetPositionNormalized()
not switching normalized mode if positions match by @smilediver in #2102 - Fix issue with widget positioning when using normalized coordinates by @rh101 in #2110
- Fix RenderTexture data needs to be saved to the cache before the GLSurfaceView context is lost by @rh101 in #2146
- Fix incorrect static value usage in JNI array methods by @rh101 in #2178
- Fix #2199 by @halx99 in #2200
- Fix LuaJit Compilations by @IamSanjid in #2159
- Fix #2163 by @halx99 in #2166
- Fix #2169 by @halx99 in #2170
- fix Crash Sprite when _texture null by @NgVThangBz in #2164
- Fix dangling ref in
SpriteFrameCache::removeSpriteFramesFromTexture()
by @smilediver in #2106 - Fix android fps issue when certain animation intervals are set by @rh101 in #2162
- Fix DownloaderCURL too many open files and other fixes by @smilediver in #2182
Improvements
- [ImGui] Allow setting of custom font config to enable merging of multiple fonts and other features by @rh101 in #2085
- Update DevSetup.md with iOS simulator build commands by @rh101 in #2087
- Remove couple bad warnings by @smilediver in #2088
- Trim trailing whitespace for files in
core
folder by @smilediver in #2089 - Remove the NS_AX_BEGIN and NS_AX_END macros. by @j-jorge in #2100
- Remove the USING_NS_AX and NS_AX macros. by @j-jorge in #2103
- Remove usage of the NS_AX macro. by @j-jorge in #2107
- Sprite: show stretch warning only if stretching is enabled by @smilediver in #2113
- Delay load mf.dll, mfplat.dll by @halx99 in #2116
- Remove unreferenced sprite from test scene by @rh101 in #2119
- Set RenderTexture content size on creation by @rh101 in #2120
- Update sweep.h (fix invalid UTF-8) by @aismann in #2121
- Math optimizations by @smilediver in #2115
- DrawNode V2 by @aismann in #2124
- USe gradle-8.8-bin.zip everywhere by @crazyhappygame in #2134
- Refine contributing.md guide by @Tosik86 in #2135
- Allow turn on/off deprecated features by @halx99 in #2136
- Math: remove and replace GP_ASSERT with AX_ASSERT by @smilediver in #2143
- Enable cache render data for webgl by default by @halx99 in #2151
- Fix some compiling deprecated issues by @halx99 in #2154
- Update DrawNode.cpp (fix #2140) by @aismann in #2158
- Add (missing) parameter 'drawLineToCenter' to 'drawSolidCircle(...)' by @aismann in #2160
- Optimize DrawNode by @smilediver in #2165
- remove DrawPrimitivesTests (Cocos2Dx) (redundant mit DrawNodeTest) by @aismann in #2179
- move ZwoptexTest to SpriteTest (better add it to the SpriteTest section as removing) by @aismann in #2180
- Update README.md (thirdparty) by @aismann in #2183
AxmolActivity
refactoring and fixes by @smilediver in #2185- Update controller.cpp Add small hint that the DrawNode tests be "not finished": "Node: Draw (WIP)" by @aismann in #2189
- DrawNode calls: replacing Color4F with Color4B (without the 'test' folder!) by @aismann in #2192
sdks updates
- emsdk: 3.1.63 ==> 3.1.67
3rdparty updates
- glad: 2.0.6 ==> 2.0.8
- curl: 8.9.1 ==> 8.10.1
- simdjson: 3.10.0 ==> 3.10.1
- libpng: 1.6.43 ==> 1.6.44
- c-ares: 1.33.0 ==> 1.34.1
- openssl: 3.3.1 ==> 3.0.15
- yasio: 4.2.4 ==> 4.3.1
- jpeg-turbo: 3.0.3 ==> 3.0.4
- luajit: 2.1-04dca79 ==> 2.1-97813fb
- simdjson: 3.10.0 ==> 3.10.1
- rapidjson: 1.1.0-b4a6da3 ==> 1.1.0-815e6e7
- freetype: 2.13.2 ==> 2.13.3
MD5 Hash of the release artifacts
axmol-2.2.0.zip
: B1F6EF0B8A31F5B224D4D0FE38677908