Tuesday, December 24, 2024
spot_img

Cocos Creator 3.8.5 discussion board model [12.04] – Cocos Creator


This launch focuses on package deal dimension discount, rendering pipeline enhancements, and editor usability, alongside in depth bug fixes and platform compatibility enhancements.

  • Steady package deal dimension optimization:

    • 2D empty challenge (default settings): Decreased by 360 KB.
    • 3D empty challenge (default settings): Decreased by 384 KB.
    • 2D challenge with important modules (UI, Backbone, audio, WebGL2 solely, and wasm Brotli enabled): Decreased by 200 KB.
  • Rendering pipeline enhancements: Added help for PipelinePass within the new pipeline.

  • Added help for HarmonyOS Subsequent API12.

  • Guide Wasm module loading:

    • Enabled handbook loading of Wasm modules. Requires the editor choice to be checked. Builders should guarantee vital Wasm modules are loaded earlier than use.
    • Corresponding API: loadWasmModuleXXX (the place XXX represents the module identify). Detailed API names can be found within the linked PR. Documentation will comply with.
  • Platform help:

    • Google Play: Preliminary help added (not but full, to be finalized in future neighborhood releases).
    • Migu Platform: Added help.
  • Editor enhancements:

    • Up to date Electron model, enhancing efficiency.

Obtain Hyperlinks

Launch Notice

Engine

Bug Fixes

  • Fastened the difficulty the place touchEvent.getUIDelta returned incorrect delta values on native platforms. PR
  • Fastened a reminiscence leak situation on macOS when autorelease kind NSObject objects had been used with gfx threading disabled. PR
  • Fastened the white display situation with WebGPU in Chrome. PR
  • Fastened irregular lighting beneath InstancingBuffer. PR
  • Optimized the execution logic for customized pipelines on the internet platform. PR
  • Fastened a problem the place InstancedAttribute didn’t help non-float codecs on native platforms. PR
  • Fastened a useful resource launch situation on native platforms the place scene markers of autorelease kind did not launch previous scene-related assets after switching scenes. PR
  • Fastened a show situation with LightProbe launched in model 3.8.5-beta0. PR
  • Fastened a problem with Tonemapping in model 3.8.5 the place the viewport dimension was incorrect throughout display rendering. PR
  • Fastened a reminiscence leak situation in native scenes in model 3.8.4. PR
  • Fastened an error in Taobao Mini Video games’ sound-loading take a look at case launched in model 3.8.5-beta0. PR
  • Fastened a module loading situation in Taobao Mini Video games throughout startup, launched in model 3.8.5-beta0. PR

Editor

New Options

  • Assist google play construct goal.

Bug Fixes

  • Fastened a bug inflicting irregular error messages when opening a challenge.
  • Fastened a bug the place preview clicks within the editor had been misaligned when the window scaling was not set to 1.
  • Fastened a bug the place the localized editor couldn’t be used.
  • Fastened a bug the place imported assets within the Property panel weren’t refreshed.

Obtain Hyperlinks

Launch Notice

Engine

New Options

Optimizations

Bug Fixes


Editor

New Options

  • Added a “View/Choose” Gizmo mode to the scene view.
  • Enabled mouse wheel to regulate base roaming pace in digicam roaming mode.
  • Clipping module now helps linked flags, corresponding to handbook loading of Backbone.
  • Preview help for prefabs and Backbone parts within the property inspector.
  • Upgraded the Electron model to 31.3.1 for higher efficiency.

Optimizations

  • Improved drag-and-drop and UI indicators within the hierarchy supervisor to scale back misoperations.
  • Enhanced scene view choice logic for prefabs:
    • First click on selects the prefab root node.
    • Subsequent clicks prioritize the goal level and progressively choose upward.
  • Improved tooltip results within the property inspector.
  • Smoothed digicam zoom results within the 3D scene view.
  • Optimized script-heavy tasks to scale back wait instances after modifications.

Bug Fixes

  • Fastened a problem the place auto-atlas compression left unused authentic textures.
  • Resolved issues with body choice of 2D nodes within the 2D view.
  • Addressed prefab-related points within the editor, together with nested prefab modifications inflicting node loss.
  • Fastened property inspector points with nested array deletion affecting outer layers.
  • Improved challenge construct prompts for scripts, engines, and native simulators.



4 Likes

That appears fairly good, group!
One query from my aspect is relating to the Google Play help. Might you kindly develop on that matter and what options you’d be supporting?

Thanks a lot for the reply! Wanting ahead for this replace.

  • google play API help → Such help will likely be potential to be performed with out the necessity to tweak the native challenge?

is it potential so as to add customized editor themes? I noticed someplace in between strains, editor already reads a “theme” file. If you happen to may add a function to learn customized theme information, customers can customise the appears of editor.

Good concept, however I have to ask for forgiveness, this function isn’t supported in the intervening time.

Sorry, what is alleged google play api is one thing like paying API. You possibly can invoke pay API in typescript.



1 Like

I’ve simply skilled a possible bug of three.8.5
Executing these 2 easy strains of code

    const testVec3 = v3(0.0058, 0.011, 0.001);
    console.log(`testVec3 = ${testVec3} // toString=${testVec3.toString()} // JSON.stringify=${JSON.stringify(testVec3)} // x,y,z = ${testVec3.x}, ${testVec3.y} / ${testVec3.z}`);

I acquired this outcome

testVec3 = (0.01, 0.01, 0.00) // toString=(0.01, 0.01, 0.00) // JSON.stringify={"x":0.0058,"y":0.011,"z":0.001} // x,y,z = 0.0058, 0.011 / 0.001

It made me confused some time & thought my code has bug however lastly discovered that logging a vec3 out to console had an issue. Did I misunderstand Vec3 or is it a bug?

I feel it’s a bug of toString technique in vec2/3/4.ts .
They override the toString technique and invoke toFixed for every factor.

public toString (): string {
    return `(${this.x.toFixed(2)}, ${this.y.toFixed(2)}, ${this.z.toFixed(2)})`;
}

I’ll attempt to repair the difficulty in v3.8.6.



1 Like

@zhangxm @dumganhar Do we now have a launch date for v3.8.5? We’re aiming to implement the cost system for our recreation in our subsequent model and we might be very keen to make use of the function.

It’s deliberate to be launched on 12.27.



1 Like

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisement -spot_img

Latest Articles