Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New VFX System #14792

Closed
wants to merge 440 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
440 commits
Select commit Hold shift + click to select a range
171f7d7
refine data-set interface
SantyWang Jun 2, 2023
6a06885
add dynamic buffer (#32)
zxx43 Jun 2, 2023
a841f82
add setMaterialProperty function for skyboxInfo (#15284)
xubing0906 Jun 2, 2023
836d2a0
fixed fsr param not saved (#15301)
2youyou2 Jun 2, 2023
f01671f
[fix] physx misuses bullet variable (#15255)
lealzhan Jun 2, 2023
1060243
refine dynamic buffer
SantyWang Jun 2, 2023
1b7a33a
fixed fsr input size (#15304)
2youyou2 Jun 2, 2023
b5cb733
performance optimization for onMacroPatchesStateChanged function (#15…
troublemaker52025 Jun 2, 2023
5f3bdbd
refine renderer
SantyWang Jun 2, 2023
28d675e
The globalStandardSkin setting is placed on the meshRenderer componen…
troublemaker52025 Jun 2, 2023
1001674
Marionette/PoseGraph: allow specify start time for PoseNodePlayMotion…
shrinktofit Jun 5, 2023
1efd3d8
Fixed safe areas requires dpr (#15275)
qiuguohua Jun 5, 2023
611d55a
Fix the problem that adding asset to the search bar is invalid (#15283)
knoxHuang Jun 5, 2023
82e29f7
Marionette/StateMachine: fix state motion time binding (#15308)
shrinktofit Jun 5, 2023
eac44e0
Animation graph: Fix visitAnimationClips() editor API (#15197)
shrinktofit Jun 5, 2023
c1d01b1
add proguard-configs for android/release (#15315)
PatriceJiang Jun 5, 2023
2dc0c0a
Marionette: add editor method to copy state machine as pose graph nod…
shrinktofit Jun 5, 2023
03f451a
fix planar reflection update submodel macro patches (#15316)
xubing0906 Jun 5, 2023
f8ecd0b
add ribbon renderer (#33)
zxx43 Jun 5, 2023
65cd7e5
refine shader
SantyWang Jun 5, 2023
3efed35
Merge branch 'new-particle' of github.com:holycanvas/engine into v3.6…
SantyWang Jun 5, 2023
977edd4
feat: sync android template, update gradle 8.0.2 (#15318)
fqamic Jun 5, 2023
3d2ae5d
Revert "[Optimize] Optimize missing asset error reporting (#15154)" (…
yanOO1497 Jun 5, 2023
d9401b5
fix code style (#15310)
yiwenxue Jun 5, 2023
7b60d75
HD processing of ttf mode labels (#15206)
LinYunMo Jun 5, 2023
de80def
refine shader
SantyWang Jun 5, 2023
27f379b
refine shader
SantyWang Jun 5, 2023
8f21546
[fix] assign physics system to PhysicsSystem._instance, before using …
yiwenxue Jun 6, 2023
6ace673
Fix skin with post-process pipeline (#15327)
troublemaker52025 Jun 6, 2023
8ee98cd
optimize inspector interface (#15325)
arsen2010 Jun 6, 2023
9b0996a
[fix] assign physics system to PhysicsSystem._instance, before using …
yiwenxue Jun 6, 2023
b898340
Android support CJK app name (#15326)
PatriceJiang Jun 6, 2023
4603037
ban wasm support on bytedance platoform (#15332)
PPpro Jun 6, 2023
a6b108e
fix zeno vat blend and instancing non-uniform scaling (#15335)
jk20012001 Jun 6, 2023
2503aa0
fix:xr template proguard add dontwarn for gvr sdk when using gradle v…
oahc09 Jun 6, 2023
ec3ec68
optimizing LOD mesh trianglecount display (#15336)
nianba23 Jun 6, 2023
0d6deb2
fix terrain error in custom pipeline (#15339)
xubing0906 Jun 6, 2023
f54865e
fix:xr right eye render failed when using custom render pipeline (#15…
oahc09 Jun 6, 2023
fda480e
Fix texture mipmaps with compression (#15277)
yiwenxue Jun 6, 2023
9cc0eec
refine shader
SantyWang Jun 6, 2023
95105db
feat: inspector/texture/ Comparison of the differences between atlas …
dogodo-cc Jun 7, 2023
e075623
fix skin pipeline scene data crash with native scene (#15341)
troublemaker52025 Jun 7, 2023
0ef1102
Revert "save settings to pac (#14917)" (#15344)
nianba23 Jun 7, 2023
eb94bba
fix font scale limit bug (#15342)
LinYunMo Jun 7, 2023
c8d3be0
Fix issues in Node.updateWorldTransform and UITransform.getBoundingBo…
pandamicro Jun 7, 2023
41704de
Marionette/Stash: fix error if reenter() the stash but updated in lat…
shrinktofit Jun 7, 2023
872d001
optimize inspector editing asset interface (#15343)
arsen2010 Jun 7, 2023
fc24875
fix hbao with fog and skin depth (#15340)
jk20012001 Jun 7, 2023
a57b6bb
fix apply current size to lod (#15338)
nianba23 Jun 7, 2023
8d925b0
feat: xr sync android template, support CJK app name (#15346)
fqamic Jun 7, 2023
aa1daed
Marionette/PoseGraph: uniformly decide if a weight can be ignore (#15…
shrinktofit Jun 7, 2023
2862b75
fix bm font anchor bug (#15353)
LinYunMo Jun 7, 2023
78bb2d3
[Bug] Fix native scene can't get UUID bug (#15347)
moshuying Jun 7, 2023
aaf7e5e
remove uneeded code & fix the issue of iOS not displaying in full scr…
bofeng-song Jun 7, 2023
3898cf3
fix getUniform API bug (#15333)
moshuying Jun 7, 2023
d9f385e
support Pacer to set specific frameRate without frame lost (#15350)
mmyduckx Jun 7, 2023
28f7a6f
fix image type change error (#15351)
nianba23 Jun 7, 2023
09e0002
feature : add EDITOR_NOT_IN_PREVIEW marco (#15354)
dogeFu Jun 7, 2023
0ee99ad
Fix comment (#15358)
troublemaker52025 Jun 7, 2023
d962a3d
- fix memory leak on tiled resized (#15212)
May2nd Jun 7, 2023
da23e6a
Refactor animation graph event dispatching mechanism (#15330)
shrinktofit Jun 7, 2023
39e7a33
fix editor preview error (#15290)
SantyWang Jun 7, 2023
58299f0
fix label auto Atlas bug (#15356)
LinYunMo Jun 7, 2023
c2c3ffe
Update external tag (#15361)
yiwenxue Jun 7, 2023
0a346b2
fix bufferview size limit (#15265)
yiwenxue Jun 7, 2023
2eb37ff
reflection-probe-manager move to 3d module (#15359)
xubing0906 Jun 7, 2023
c283dcd
[Bug] fix widget interface bug in inspector (#15364)
arsen2010 Jun 8, 2023
eeea51b
fixed editor cameras (#15365)
2youyou2 Jun 8, 2023
4281677
fix setFrameRate unit-test (#15369)
mmyduckx Jun 8, 2023
bd2608b
[opt] cct api refactor (#15360)
lealzhan Jun 8, 2023
a92f8b6
[ci skip][AUTO]: Automated code generating update: c1485f4500e501c566…
cocos-robot Jun 8, 2023
a642a8b
update spriteFrame meta version (#15380)
yanOO1497 Jun 8, 2023
b233e1c
fix particle and fbx interface bug (#15376)
arsen2010 Jun 8, 2023
5655be7
Fix: button alignment of SpriteFrame asset (#15379)
doommm Jun 8, 2023
a541d35
Develop pipeline merge (#15374)
star-e Jun 8, 2023
7e804c7
fix post-process clamp sampling (#15382)
jk20012001 Jun 8, 2023
fa936a9
Marionette: fix animation blend 2d algorithm type is not setup correc…
shrinktofit Jun 8, 2023
2091f46
Marionette/StateMachine: fix any state won't match proc pose states (…
shrinktofit Jun 8, 2023
a88cdec
limit font scale to 1 (#15367)
LinYunMo Jun 8, 2023
fbc9f0b
Update the type returned by get worldBounds (#15378)
moshuying Jun 8, 2023
119d787
V3.8.0 pipeline (#15383)
star-e Jun 8, 2023
ea32f09
Using the Vulkan backend is prohibited on Android devices running ver…
bluesky013 Jun 8, 2023
fef6639
Using the Vulkan backend is prohibited on Android devices running ver…
bluesky013 Jun 8, 2023
7de5a7a
fix: adjust ar background binded texture sampler to fix limit on AREn…
bravetwo Jun 8, 2023
db27a21
fix: bullet crash on Wechat iOS (#15384)
PPpro Jun 8, 2023
41c8ae8
support displayRatio for wechat firstScreen (#15391)
mmyduckx Jun 8, 2023
8c41446
Add Android GPG keyboard & Mouse support (#15385)
PatriceJiang Jun 8, 2023
719c756
revert a6684b1 (#15393)
PatriceJiang Jun 8, 2023
4a2112e
fix V3.8.0 performance unexpected downgrade (#15392)
SantyWang Jun 8, 2023
5a23402
add FORCE_BANNING_BULLET_WASM constant (#15394)
PPpro Jun 9, 2023
b3f8838
performance optimization for tone mapping pass and rename function (#…
jk20012001 Jun 9, 2023
153cbb7
add ribbon shader (#34)
zxx43 Jun 9, 2023
8534fbb
spine wasm version (#15309)
zhakesi Jun 9, 2023
c26c5b7
V3.8.0 pipeline (#15398)
star-e Jun 9, 2023
aedc32a
Adding project macro definitions to the native engine (#15399)
troublemaker52025 Jun 9, 2023
f8d40de
refactor parameter
SantyWang Jun 9, 2023
7535ba7
refactor parameter
SantyWang Jun 9, 2023
79dac4e
Merge branch 'new-particle' of github.com:holycanvas/engine into v3.6…
SantyWang Jun 9, 2023
bbcfbbd
refactor parameter
SantyWang Jun 9, 2023
20a2a7f
fix shader compatible for old version (#15407)
jk20012001 Jun 12, 2023
997491b
fix csm with custom pipeline (#15409)
troublemaker52025 Jun 12, 2023
ea58020
Fix clip frame events are not fired in animation graph (#15405)
shrinktofit Jun 12, 2023
31aa5ce
refactor parameter
SantyWang Jun 12, 2023
b6b5564
refactor parameter
SantyWang Jun 13, 2023
2f9041d
PoseGraph: more detailed stash visit editor API (#15401)
shrinktofit Jun 13, 2023
de60531
Clear unused logs (#15419)
shrinktofit Jun 13, 2023
9f294dd
Update constraint comments (#15422)
yiwenxue Jun 13, 2023
3212e77
refine code
SantyWang Jun 13, 2023
36fbed8
[Delete]Remove post-processing configuration items (#15413)
GengineJS Jun 14, 2023
fc1ca35
Marionette/PoseGraph: update i18n (#15420)
shrinktofit Jun 14, 2023
75e6d42
fix: inspector/texture: fault-tolerant for parse atlas (#15414)
dogodo-cc Jun 14, 2023
2332643
Adjust code order to eliminate warning (#15418)
shrinktofit Jun 14, 2023
bca35b2
Update Harmonyos third-party library. (#15429)
qiuguohua Jun 14, 2023
67352fc
add validation for cMakeConfig values (#15432)
PatriceJiang Jun 14, 2023
98cdeb7
PoseGraph: fix PoseNodeApplyTransform i18n (#15400)
shrinktofit Jun 14, 2023
9935f8b
update change image type (#15439)
nianba23 Jun 14, 2023
f736b87
feat:add clear method for AnimationGraphPartialPreviewer (#15441)
dogeFu Jun 14, 2023
a2ce6b1
refactor compilation mechanism
SantyWang Jun 14, 2023
a3ca0b8
add emitter-state
SantyWang Jun 15, 2023
8208269
V3.8.0 pipeline (#15428)
star-e Jun 16, 2023
6f41270
revert preview change (#15450)
moshuying Jun 16, 2023
c37e088
AnimationGraph: renaming variable should consider PVNodeGetVariable (…
shrinktofit Jun 16, 2023
075c970
optimize asset and node interface in inspector (#15459)
arsen2010 Jun 16, 2023
e06bb6c
[V3.8.0 pipeline] add deferred pipeline (#15452)
star-e Jun 16, 2023
682fc8c
optimize ui-section header margin-right (#15462)
arsen2010 Jun 16, 2023
272b780
[ci skip][AUTO]: Automated code generating update: dc2f864b2199db766b…
cocos-robot Jun 16, 2023
80d67bc
refactor rand generator
SantyWang Jun 16, 2023
870e356
support fetchBuffer in pal/wasm module (#15454)
PPpro Jun 18, 2023
bf7874a
fix android label shadow Pollution (#15470)
LinYunMo Jun 18, 2023
59b72d1
use new rand instead
SantyWang Jun 18, 2023
a2e017b
[Optimize] improve: rendering logic of effect select options (#15446)
doommm Jun 19, 2023
d351ae7
fix pacer-unit-test (#15461)
mmyduckx Jun 19, 2023
da64530
move spine module out of wechatPlugin (#15468)
PPpro Jun 19, 2023
c562397
[ci skip][AUTO]: Automated code generating update: 938bfeca4a7bd083be…
cocos-robot Jun 19, 2023
85ba2e6
[fix] add character controller doc links; replace onGround with isGro…
lealzhan Jun 19, 2023
31f7fb6
optimize: load spine asm.js module with js.mem && update spine (#15469)
PPpro Jun 19, 2023
7776fab
fix toon outline thickness issue with vulkan (#15458)
xubing0906 Jun 19, 2023
c03d427
add CULL_ASM_JS_MODULE constant (#15467)
PPpro Jun 19, 2023
98d9bf8
add skin JSB binding (#15464)
troublemaker52025 Jun 19, 2023
00dabbe
[ci skip][AUTO]: Automated code generating update: 9781724f14b84955bf…
cocos-robot Jun 19, 2023
607c10c
3.8 fix android gradle plugin version (#15417)
PatriceJiang Jun 19, 2023
5edc551
Fix Android text truncation problem (#15448)
LinYunMo Jun 19, 2023
c957237
support parameter-registry
SantyWang Jun 19, 2023
84f69f5
add spine wasm c++ code (#15482)
zhakesi Jun 19, 2023
191d7b5
[ci skip][AUTO]: Automated code generating update: cbe85192076db9a033…
cocos-robot Jun 19, 2023
2b8d4cd
Update external-config.json for new spine lib (#15483)
pandamicro Jun 19, 2023
d6454c0
optimize asset editing interface (#15481)
arsen2010 Jun 20, 2023
69668e5
'Custom' and 'Forward' pipeline is defaulted to PostProcessBuilder (#…
star-e Jun 20, 2023
a12777a
V3.8.0 pipeline (#15487)
star-e Jun 20, 2023
60c9eaa
fix : undo remove label component cause error in editor (#15475)
dogeFu Jun 20, 2023
8682098
fix ios keyboard switch bug when use numberic (#15486)
mmyduckx Jun 20, 2023
68e9918
[fix] physics hinge transform (#15442)
yiwenxue Jun 20, 2023
21fa442
fix fbx and widget bug in inspector (#15492)
arsen2010 Jun 20, 2023
d4e10bc
[bug] fix wild pointers (#15489)
troublemaker52025 Jun 20, 2023
235dbc7
sync generated code with 3.8.1 (#15490)
star-e Jun 20, 2023
5af3f99
Fix/skinned mesh max joints (#15495)
yiwenxue Jun 20, 2023
f5f40e6
fix hair effect tranparency pass and terrain cast shadow (#15494)
jk20012001 Jun 20, 2023
82fc27b
[fix] increase box2d debug line width from 2 to 3 (#15484)
lealzhan Jun 20, 2023
9c58507
fix jsb root function destroyModel named removeModel (#15497)
zhakesi Jun 20, 2023
f898223
support vfx parameter registry and binding parameter
SantyWang Jun 20, 2023
bc60d5a
avoid unexpected glslang behavior (#15488)
hana-alice Jun 20, 2023
b1214a5
[fix] math Quaternion::fromMat3 (#15491)
lealzhan Jun 21, 2023
8a33f34
fix:spaces xr build template miss Log import (#15473)
oahc09 Jun 21, 2023
17ee0b7
[fix][physics2d] increase builtin debug line width from 1 to 3 (#15500)
lealzhan Jun 21, 2023
0109edc
fix: engine init stucked by exception when load spine wasm (#15498)
PPpro Jun 21, 2023
f490be3
Add get stats interface in profiler (#15474)
LinYunMo Jun 21, 2023
3bb0abd
support arbitary LUT for Nx1 blocks or 8x8 blocks automatically (#15504)
xubing0906 Jun 21, 2023
34e6f89
fix csm ubo data in custom pipeline (#15502)
troublemaker52025 Jun 21, 2023
2aadb31
optimize inspector interface (#15503)
arsen2010 Jun 21, 2023
30db989
fix: cannot find 'lodash' in production build (#15501)
doommm Jun 21, 2023
a05ba98
fix: require path before push module path (#15509)
doommm Jun 21, 2023
46bfb84
Animation: fix PoseGraphNodeInputBinding.outputIndex serialization (#…
shrinktofit Jun 21, 2023
fefb0bc
compatible with 2d (#15505)
zxx43 Jun 21, 2023
38815e3
optimize interface component header margin right (#15512)
arsen2010 Jun 21, 2023
e5dde7f
fix: add WASM_FALLBACK for spine wasm module (#15511)
PPpro Jun 21, 2023
202e50e
fix bmfont render bug (#15510)
LinYunMo Jun 21, 2023
68f125d
add parameter binding
SantyWang Jun 21, 2023
f9dd8bc
Fix spine.wasm could not run in safari with iOS which version is lowe…
dumganhar Jun 25, 2023
cf67007
remove optimization and add compile result part one
SantyWang Jun 25, 2023
3842aa7
rename to acceleration-froce
SantyWang Jun 25, 2023
bd28997
fix fsUtils is not defined at taobao platform (#15522)
bofeng-song Jun 26, 2023
1090830
fix: loading spine module on OPPO using separate engine (#15536)
PPpro Jun 26, 2023
d801230
[Fixed] To resolve the abnormal display caused by "FRAMEBUFFER_INCOMP…
GengineJS Jun 26, 2023
935bab8
[Fixed] Modify instancing cleanup logic. (#15544)
GengineJS Jun 27, 2023
3afeca4
update native/external version v3.8.0-11 (#15546)
lealzhan Jun 27, 2023
899a3a9
Fix animation clip frame event dispatching (#15534)
shrinktofit Jun 27, 2023
2847593
add compiling failed operation
SantyWang Jun 27, 2023
64ad3bd
Optimize light source luminous_flux and luminance UI step (#15555)
troublemaker52025 Jun 27, 2023
2485e4c
update the screen size of multiple LODs may result in an error (#15543)
nianba23 Jun 28, 2023
ac041a6
remove remap of noise
SantyWang Jun 28, 2023
c042d80
[ci skip][AUTO]: Automated code generating update: f10b26a5acfa5fbc30…
cocos-robot Jun 28, 2023
620f68e
revert partial useless code related wechat blackscreen repair (#15554)
mmyduckx Jun 28, 2023
5f71d04
Filp the y-axis value for stick (#15570)
PatriceJiang Jun 28, 2023
85acac8
fix: wrong asm.js mem url on minigame platforms (#15559)
PPpro Jun 29, 2023
2ea7043
fix unlink prefab bug in inspector (#15518)
arsen2010 Jun 29, 2023
66dca24
refine post process and add tips (#15566)
2youyou2 Jun 29, 2023
e709534
fix edit material cache editing data bug in inspector (#15550)
arsen2010 Jun 29, 2023
eaab2ca
optimize ui-prop group interface in inspector (#15542)
arsen2010 Jun 29, 2023
35f6481
V3.8.0 pipeline api document (#15529)
star-e Jun 29, 2023
3b98550
fix dependency on camera component (#15577)
star-e Jun 29, 2023
b43f086
update migrated meta files (#15581)
AFeiYA Jun 29, 2023
b104d25
add tooltips for bloom hbao and lut (#15579)
jk20012001 Jun 29, 2023
8e5ea93
fix label limit canvas size bug (#15514)
LinYunMo Jun 29, 2023
6acdd0a
inspector interface: reserve tab style of group; support new section …
arsen2010 Jun 30, 2023
3347d1b
fix inspector document link address (#15521)
yufengctbu Jun 30, 2023
051368e
[fix] box2d shape aabb calculating bug (#15565)
lealzhan Jun 30, 2023
7be278d
Revert "[fix] refactor physics2d contact listener (#14026)" (#15564)
lealzhan Jun 30, 2023
a585edc
add help for post-process components (#15589)
jk20012001 Jun 30, 2023
a1fa17e
fix some bugs in spine webassembly (#15569)
zhakesi Jun 30, 2023
6d0c1d3
Fix spine replacement skin and animation bone rendering data not refr…
Canvasfull Jul 2, 2023
e653f6f
Update external-config.json (#15598)
SantyWang Jul 2, 2023
e468e99
Fix widget bug in the editor when scale is not 1 (#15602)
LinYunMo Jul 3, 2023
7f201a0
fix label Precision (#15594)
LinYunMo Jul 3, 2023
ba0d131
fix skin diffuse with forward lighting (#15605)
jk20012001 Jul 3, 2023
e035b23
Animation controller component help (#15609)
shrinktofit Jul 4, 2023
798e340
optimize shader code size for include (#15614)
jk20012001 Jul 5, 2023
da0374b
fix performance degradation when redefine the property of renderer's …
SantyWang Jul 5, 2023
85db1c3
alipay: the accessSync interface needs to check if it is successful. …
bofeng-song Jul 5, 2023
937f80a
fix shadow issue for camera use post process with custom pipeline (#1…
2youyou2 Jul 5, 2023
08d9a34
character controller api tweaks (#15621)
lealzhan Jul 5, 2023
253f8ca
refine unit-test
SantyWang Jul 5, 2023
649e81a
optimize: ensure wasm module ready before importing (#15631)
PPpro Jul 6, 2023
777c855
Fix the problem that the sound cannot be stopped after calling miniga…
bofeng-song Jul 6, 2023
3890600
fix crash on color grading with GLES (#15634)
xubing0906 Jul 6, 2023
9421ab1
fix csm instancedBuffer large primitives count for custom-pipeline (#…
troublemaker52025 Jul 6, 2023
acd8e96
fix spine cache mode bug when no animation (#15637)
LinYunMo Jul 6, 2023
7b5bec1
optimize the text when fbx do not exist lod (#15643)
nianba23 Jul 7, 2023
1f45c86
fix spine artifact in editor (#15640)
SantyWang Jul 7, 2023
73776a0
Update external to v3.8.0-14 (#15635)
dumganhar Jul 7, 2023
8d23520
add renderRoot2d help (#15644)
LinYunMo Jul 7, 2023
14c1237
fix leaf scattering code (#15645)
jk20012001 Jul 7, 2023
9169f73
fix shader compilation error (#15646)
jk20012001 Jul 7, 2023
308816f
fix native pipeline instancing implementation (#15647)
star-e Jul 7, 2023
99faec0
remove TextDecoder (#15648)
star-e Jul 7, 2023
8ed2ed5
Spine v3.8.0 Fix missing interface bindings (#15618)
Canvasfull Jul 7, 2023
9aaee8c
Update external-config.json (#15649)
PatriceJiang Jul 7, 2023
aa9b452
fix spine animation does not render in cache mode when total time is …
Canvasfull Jul 10, 2023
fedcfd2
export getAttachments (#15661)
SantyWang Jul 10, 2023
4b6f482
fix CI vulkan-sdk CDN? issue, run vcpkg when choco fails (#15667)
PatriceJiang Jul 10, 2023
89cd677
fix spine STRING_STD2SP function Uncaught RuntimeError: memory acces…
Canvasfull Jul 10, 2023
399e8a1
Fix the enumeration order of event types in Wasm (native) and TypeScr…
Canvasfull Jul 10, 2023
31b10ff
update external version (#15675)
SantyWang Jul 11, 2023
e5d61cf
fix problem when skin changed and slot texture changed (#15677)
SantyWang Jul 11, 2023
9f03504
remove useless code (#15682)
SantyWang Jul 11, 2023
b318b39
Revert "remove useless code (#15682)" (#15683)
SantyWang Jul 11, 2023
4b62d5d
[Remove] Remove the discard check of the managed resource (#15685)
GengineJS Jul 12, 2023
50d9179
Optimize effect dependency and package size (#15650)
troublemaker52025 Jul 12, 2023
1aed1fe
fix effect.bin serialization (#15690)
star-e Jul 12, 2023
8abe850
Merge branch 'v3.8.0' of github.com:cocos-creator/engine into v3.6.2-…
SantyWang Jul 12, 2023
b5844ad
add vfx system
SantyWang Jul 12, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .eslintrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ rules:
lines-between-class-members: off # be more lenient on member declarations
max-classes-per-file: off # helper classes are common
max-len: [warn, 150] # more lenient on max length per line
no-console: off # this is just too much work, cc.warn is still too much pain to use
no-console: error # prefer the uniform logging methods
no-plusplus: off # allow increment/decrement operators
no-continue: off # allow unlabeled continues
no-mixed-operators: off # this is just cumbersome
Expand Down
7 changes: 0 additions & 7 deletions .github/workflows/native-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,6 @@ name: <Native> Generate Code
on:
pull_request_target:
types: [closed]
# pull_request:
paths:
- 'templates/**'
- 'native/**'
- 'cocos/**'
- 'package.json'
- '.github/workflows/native-bindings.yml'

jobs:
autogen-code:
Expand Down
25 changes: 22 additions & 3 deletions .github/workflows/native-compile-platforms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
paths:
- 'templates/**'
- 'native/**'
- '.github/workflows/native-compile-platforms.yml'

# github.head_ref is only defined on pull_request events
concurrency:
Expand All @@ -25,8 +26,11 @@ jobs:
EXT_VERSION=`node ./.github/workflows/get-native-external-version.js`
git clone --branch $EXT_VERSION --depth 1 https://github.com/cocos/cocos-engine-external native/external
- name: Install deps
run: |
choco install --forcex86 vulkan-sdk
uses: humbletim/[email protected]
with:
vulkan-query-version: 1.2.189.0
vulkan-components: Vulkan-Headers, Vulkan-Loader
vulkan-use-cache: true
- name: Compile win64
shell: bash
env:
Expand Down Expand Up @@ -96,6 +100,13 @@ jobs:
echo "set(COCOS_X_PATH $NATIVE_ROOT)" >> build-android/proj/cfg.cmake
echo "set(CC_EXECUTABLE_NAME \"\")" >> build-android/proj/cfg.cmake

mkdir -p build-android/proj/res/values
cat << EOF > build-android/proj/res/values/strings.xml
<resources>
<string name="app_name" translatable="false">CocosGame</string>
</resources>
EOF

mkdir -p build-android/assets

ASSET_DIR=$GITHUB_WORKSPACE/templates/android/build/build-android/
Expand All @@ -112,7 +123,8 @@ jobs:

echo "Compile Android - cmake ..."
echo "ANDORID_NDK ${ANDROID_NDK} or ${ANDROID_NDK_HOME}"
./gradlew :CocosGame:assembleDebug --quiet
# ./gradlew :CocosGame:assembleDebug --quiet
./gradlew :CocosGame:assembleRelease --quiet
echo "Compile Android Debug Done!"

compile_android:
Expand Down Expand Up @@ -162,6 +174,13 @@ jobs:
echo "set(COCOS_X_PATH $NATIVE_ROOT)" >> build-android/proj/cfg.cmake
echo "set(CC_EXECUTABLE_NAME \"\")" >> build-android/proj/cfg.cmake

mkdir -p build-android/proj/res/values
cat << EOF > build-android/proj/res/values/strings.xml
<resources>
<string name="app_name" translatable="false">CocosGame</string>
</resources>
EOF

mkdir -p build-android/assets

ASSET_DIR=$GITHUB_WORKSPACE/templates/android/build/build-android/
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/native-simulator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
pull_request:
paths:
- 'native/**'
- '.github\workflows\native-simulator.yml'

# github.head_ref is only defined on pull_request events
concurrency:
Expand Down Expand Up @@ -32,9 +33,12 @@ jobs:
EXT_VERSION=`node ../.github/workflows/get-native-external-version.js`
git clone --branch $EXT_VERSION --depth 1 https://github.com/cocos/cocos-engine-external external

- name: install vulkan-sdk
run: |
choco install vulkan-sdk
- name: Install deps
uses: humbletim/[email protected]
with:
vulkan-query-version: 1.2.189.0
vulkan-components: Vulkan-Headers, Vulkan-Loader
vulkan-use-cache: true
- name: gen simulator
run: |
gulp gen-simulator
Expand Down
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"source.fixAll": true,
},
"files.associations": {
"iterator": "cpp"
"iterator": "cpp",
"*.ipp": "c"
},
"cmake.configureOnOpen": false,
}
1 change: 1 addition & 0 deletions @types/jsb.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ declare namespace jsb {
repeat: boolean;
keyCode: number;
windowId: number;
code: string;
}
type KeyboardEventCallback = (keyboardEvent: KeyboardEvent) => void;
export let onKeyDown: KeyboardEventCallback | undefined;
Expand Down
19 changes: 19 additions & 0 deletions @types/pal/minigame.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ declare module 'pal/minigame' {

// file system
getFileSystemManager(): FileSystemManager;
loadSubpackage? (option: LoadSubpackageOption): LoadSubpackageTask;

// input
onTouchStart: IEventManager<TouchEvent>;
Expand Down Expand Up @@ -249,3 +250,21 @@ declare class InnerAudioContext {
seek(position:number): any;
stop(): any;
}

interface LoadSubpackageOption {
name: string;
fail?: (...args: unknown[]) => void;
success?: (...args: unknown[]) => void;
complete?: (...args: unknown[]) => void;
}
interface LoadSubpackageTask {
onProgressUpdate(
listener: LoadSubpackageTaskOnProgressUpdateCallback
): void;
}
type LoadSubpackageTaskOnProgressUpdateCallback = (result: LoadSubpackageTaskOnProgressUpdateListenerResult) => void;
interface LoadSubpackageTaskOnProgressUpdateListenerResult {
progress: number;
totalBytesExpectedToWrite: number;
totalBytesWritten: number;
}
17 changes: 17 additions & 0 deletions @types/pal/wasm.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,21 @@ declare module 'pal/wasm' {
* @param importObject the standard `WebAssembly.Imports` instance
*/
export function instantiateWasm (wasmUrl: string, importObject: WebAssembly.Imports): Promise<any>;

/**
* Fetch binary data from wasm url or js mem url.
* NOTE: This method should only use to instantiate asm.js compiled with `-O2` options,
* because not all platforms support instantiate wasm by wasm binary.
* eg. WeChat can only instantiate wasm by wasm url.
*
* @param binaryUrl the url of wasm or js mem, this should be a url relative from build output chunk.
*/
export function fetchBuffer (binaryUrl: string): Promise<ArrayBuffer>;

/**
* Sometimes we need to put wasm modules in subpackage to reduce code size.
* In this case we need to ensure that the wasm modules is ready before we import them.
* Please remember to invoke this method before we import wasm modules.
*/
export function ensureWasmModuleReady (): Promise<void>;
}
46 changes: 45 additions & 1 deletion EngineErrorMap.md
Original file line number Diff line number Diff line change
Expand Up @@ -1975,6 +1975,10 @@ Graphics: There is no model in %s.

Script attached to '%s' is missing or invalid.

### 4601

Failed to load wasm module, WebAssembly is not supported on this platform, but as a fallback Asm.js module is culled by mistake.

### 4700

The dom control is not created!
Expand Down Expand Up @@ -3137,6 +3141,10 @@ Since v3.6, Because mask changes the inheritance relationship, you can directly

texture size exceeds current device limits %d/%d

### 9101

The length of the TypedArrayBuffer must be an integer.

### 9200

<!-- DEPRECATED -->
Expand Down Expand Up @@ -3263,6 +3271,34 @@ The font size is too big to be fitted into texture atlas. Please switch to other

The asset %s has been destroyed!

### 12102

Base pass cannot override states, please use pass instance instead.

### 12103

Custom pipeline create shader %s failed. Please restart editor.

### 12104

Create shader %s failed.

### 12105

Pass resources incomplete.

### 12106

Cannot patch non-builtin macros.

### 12107

Custom pipeline invalid render pass, program: %s. Please restart editor.

### 12108

Custom pipeline invalid render phase, program: %s. Please restart editor.

### 13100

Incorrect CCON magic.
Expand Down Expand Up @@ -3367,4 +3403,12 @@ node '%s' doesn't have any ModelRenderer component, this component will not work

### 16302

There is no reflection probe in the scene or no probe is near the current object. No reflection probe will take effect on this object. Please create a new reflection probe or move existing ones closer.
There is no reflection probe in the scene or no probe is near the current object. No reflection probe will take effect on this object. Please create a new reflection probe or move existing ones closer.

### 16303

Skin material needs floating-point render target, please check ENABLE_FLOAT_OUTPUT define in Project Settings--Macro

### 16304

Skin material may need more accurate calculations, please select a head model of standard size, check the isGlobalStandardSkinObject option in the MeshRender component.
54 changes: 40 additions & 14 deletions cc.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@
"970b0598-bcb0-4714-91fb-2e81440dccd8",
"bcd64cc6-2dd9-43f6-abbe-66318d332032",
"d930590d-bb92-4cc8-8bd1-23cd027f9edf",
"a3cd009f-0ab0-420d-9278-b9fdab939bbc",
"5c601d96-e4c7-4698-991b-7ee674b11079",
"9361fd90-ba52-4f84-aa93-6e878fd576ca"
"a3cd009f-0ab0-420d-9278-b9fdab939bbc"
]
},
"gfx-webgl": {
Expand All @@ -25,17 +23,9 @@
"3d": {
"modules": ["3d"],
"dependentAssets": [
"1baf0fc9-befa-459c-8bdd-af1a450a0319",
"511d2633-09a7-4bdd-ac42-f778032124b3",
"5d45aa00-e064-4938-b314-4265f0c2258c",
"28d6d6b8-3f66-4a73-9795-17a0852ba2d4",
"ec8106fe-05bf-4e94-943c-e0d3b7bb5e45",
"620b6bf3-0369-4560-837f-2a2c00b73c26",
"2df0a40b-26c2-47ce-be0d-4d3cd4164737",
"39f74202-ead5-4a45-b966-273d526adbf1",
"8f6ac413-2f1e-4b88-b26f-54556b5dd510",
"45e7c0c8-2699-4912-b45f-d42bb8384189",
"84ac6f69-3086-455a-86a4-561da8ee710b"
"9361fd90-ba52-4f84-aa93-6e878fd576ca"
]
},
"animation": {
Expand Down Expand Up @@ -76,6 +66,10 @@
"78e0584a-4343-4727-8f37-e14e65c2a2db"
]
},
"vfx": {
"modules": ["vfx"],
"dependentAssets": []
},
"particle-2d": {
"modules": ["particle-2d"],
"dependentModules": ["2d"]
Expand Down Expand Up @@ -199,7 +193,13 @@
"cafd95c9-c558-46f9-9812-1224b65c09ee",
"28d6d6b8-3f66-4a73-9795-17a0852ba2d4",
"2df0a40b-26c2-47ce-be0d-4d3cd4164737",
"dace6a58-1705-48c7-a275-70afc9534e88"
"dace6a58-1705-48c7-a275-70afc9534e88",
"ec8106fe-05bf-4e94-943c-e0d3b7bb5e45",
"39f74202-ead5-4a45-b966-273d526adbf1",
"8f6ac413-2f1e-4b88-b26f-54556b5dd510",
"45e7c0c8-2699-4912-b45f-d42bb8384189",
"84ac6f69-3086-455a-86a4-561da8ee710b",
"5c601d96-e4c7-4698-991b-7ee674b11079"
]
},
"websocket": {
Expand Down Expand Up @@ -546,6 +546,14 @@
"internal": false,
"dynamic": true
},
"EDITOR_NOT_IN_PREVIEW" : {
"comment": "Run in editor but not in editor preview.",
"type": "boolean",
"value": false,
"ccGlobal": false,
"internal": false,
"dynamic": true
},
"PREVIEW": {
"comment": "Preview in browser or simulator.",
"type": "boolean",
Expand Down Expand Up @@ -644,7 +652,25 @@
"WASM_SUPPORT_MODE": {
"comment": "Whether support wasm, here we provide 3 options:\n0: The platform doesn't support WASM\n1: The platform supports WASM\n2: The platform may support WASM, especially on Web platform",
"type": "number",
"value": "$HTML5 ? 2 : ($NATIVE ? (($OPEN_HARMONY||$IOS)?0:1): ($MINIGAME? ($WECHAT||$BYTEDANCE?1:0) :0))",
"value": "$HTML5 ? 2 : ($NATIVE ? (($OPEN_HARMONY||$IOS)?0:1): ($MINIGAME? ($WECHAT?1:0) :0))",
"internal": true
},
"FORCE_BANNING_BULLET_WASM": {
"comment": "Whether force banning using bullet wasm and use asmjs instead.\nThis is an internal constant to be compatible with the editor's physical build option.",
"type": "boolean",
"value": false,
"internal": true
},
"CULL_ASM_JS_MODULE": {
"comment": "Whether cull the asm js module.\nThe external modules ending with '.asm.js'. or '.js.mem' is culled if this constant is true.",
"type": "boolean",
"value": false,
"internal": true
},
"WASM_SUBPACKAGE": {
"comment": "An internal constant to indicate whether we use wasm assets as minigame subpackage.\nThis is useful when we need to reduce code size.",
"type": "boolean",
"value": false,
"internal": true
}
},
Expand Down
9 changes: 7 additions & 2 deletions cocos/2d/assembler/label/bmfontUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ import { TextProcessing } from './text-processing';
import { TextOutputLayoutData, TextOutputRenderData } from './text-output-data';
import { TextStyle } from './text-style';
import { TextLayout } from './text-layout';
import { view } from '../../../ui/view';

const _defaultLetterAtlas = new LetterAtlas(64, 64);
const _defaultFontAtlas = new FontAtlas(null);
Expand All @@ -48,7 +49,8 @@ let QUAD_INDICES;
export const bmfontUtils = {

updateProcessingData (style: TextStyle, layout: TextLayout,
outputLayoutData: TextOutputLayoutData, comp: Label, trans: UITransform) {
outputLayoutData: TextOutputLayoutData, outputRenderData: TextOutputRenderData,
comp: Label, trans: UITransform) {
style.fontSize = comp.fontSize;
style.actualFontSize = comp.fontSize;
style.originFontSize = _fntConfig ? _fntConfig.fontSize : comp.fontSize;
Expand All @@ -73,6 +75,8 @@ export const bmfontUtils = {
} else {
layout.wrapping = comp.enableWrapText;
}
outputRenderData.uiTransAnchorX = trans.anchorX;
outputRenderData.uiTransAnchorY = trans.anchorY;

shareLabelInfo.lineHeight = comp.lineHeight;
shareLabelInfo.fontSize = comp.fontSize;
Expand Down Expand Up @@ -101,9 +105,10 @@ export const bmfontUtils = {
const layout = comp.textLayout;
const outputLayoutData = comp.textLayoutData;
const outputRenderData = comp.textRenderData;
style.fontScale = view.getScaleX();
this._updateFontFamily(comp);

this.updateProcessingData(style, layout, outputLayoutData, comp, _uiTrans);
this.updateProcessingData(style, layout, outputLayoutData, outputRenderData, comp, _uiTrans);

this._updateLabelInfo(comp);

Expand Down
Loading
Loading