Thanks to the active feedback from the Cocos developer community, Cocos Creator 3.8.6 has been released as scheduled after nearly three months of joint efforts.
As an open-source engine, the Cocos team hopes more developers from the community can join in and collectively drive Cocos forward [Fist bump].
Cocos Creator 3.8.6 Key Updates:
-
Package Size Optimization -
Spine Enhancements -
Skew Component -
Node.x/y/z Property Access -
Box2D C++ Native Platform Support -
New Mini Game Platform Supported -
HarmonyOS NEXT Performance Boost -
Various Bug Fixes & Performance Improvements
See? Every single update is exactly what you've been asking for!
Package Size Optimization
1. Compress Engine Internal Properties
Added the ”Compress Engine Internal Properties“ feature. When enabled, it reduces package size by 160 KB.
2. Granular 2D Module Trimming
Added options for RichText, Mask, Graphics, UISkew, AffineTransform, etc., allowing further optimization of 2D game package size.
3. Multi-configuration Feature Trimming
The engine now supports multiple feature trimming configurations. You can associate specific configuration schemes in the publish panel to apply different trimming solutions across platforms.
Spine Enhancements
1. Spine 4.2 Support
Cocos Creator 3.8.6 now supports both Spine 3.8 and Spine 4.2. You can select the Spine version in the Engine Feature Trimming panel.
★Important Notes:
1.To upgrade existing projects to Spine 4.2, first use the Spine editor to re-export your Spine assets in 4.2 format, then overwrite the files in the corresponding project assets directory
2.After switching Spine versions, restart the editor or scene process
3.Spine 4.2 has removed Effect functionality - JitterEffect and SwirlEffect are no longer available
4.The Mini Game Engine Separation plugin currently doesn't support Spine 4.2
2. Spine Physics Support
Now supports Spine physics effects, enabling smoother and more fluid animations.
3. Improved Spine Preview Window
Added new features including camera reset, premultiplied alpha, and debug information toggle.
Additionally, version 3.8.6 introduces support for multiple Spine instances sharing a single texture atlas, and fixes an issue where dynamic Uniform settings for custom materials in Spine were not functioning properly.
Other Optimizations
Added UISkew Component
Introduced new UISkew component
Added support for rotational skew deformation
Usability Improvements
-
Added getter/setter for Node.x/y/z properties -
Expanded tween module coverage with added toString method for debugging -
Added iPad support for iOS build targets -
Implemented texel offset feature for Tilemap -
Preference settings now support modifying default TrimType configuration for SpriteFrame imports -
Updated astcenc to v5.2.0, improving ASTC texture compression speed during builds
Code Optimizations
-
Enhanced type safety for component accessors using generics:
//before
const clz = node.getComponent('clz') as CLZ | null
//after
const clz = node.getComponent<CLZ>('clz')
-
Improved type safety for isValid
checks -
Enhanced type safety for js.isNumber
andjs.isString
methods -
Fixed as any
typing inui-component.ts
to preserveUIComponent
type -
Refactored 2D Assembler for better readability and maintainability
Box2D Native Platform Performance Boost
Added Box2D JSB version support, significantly improving 2D physics performance on native platforms
Option explanations:
-
Box2D-based 2D Physics System TS version -
Box2D-wasm-based 2D Physics System WASM version -
Box2D JSB-based 2D Physics System C++ version
The Box2D JSB version delivers exceptional performance on native platforms, particularly on iOS devices without JIT compilation.
Platform Enhancements
-
Added Honor Mini Games platform support with one-click publishing
-
Optimized HarmonyOS Next platform for performance, memory usage, and power efficiency
-
Improved communication mechanism between ArkTS and engine
-
Enhanced debugging convenience for JSVM API
-
Implemented Google Play features: auto-login, achievements, and PGS Recall APIs
-
Strengthened WebGPU support
v3.8.7 Spoilers
It's coming, it's coming, it's coming!
-
Continued package and performance optimizations -
Faster resource loading -
Multi-tag editing for Prefabs -
AI-friendly editor plugin development kit and tutorials
Must stop now!
Revealing this much about v3.8.7's features is already pushing the limits—any more, and I might get in trouble.
Reply to this post, and your wish might just make it into the next version!
To all C-friends, see you in v3.8.7 Community Edition—don’t miss it!
Follow the official Cocos Engine WeChat account
To get the latest updates and technical insights first-hand.