Commit f148468
backport from 4.0.0 alpha.8 (#19205)
* feat(node): make setWorldPosition parameter z optional
* Fix crash caused by float canvas size on minigame platform for some mobile phones.
* Fix the issue of macro usage errors. (#58)
* Fix the issue on the native platform where miniMaps are not updated after calling initDefault on a texture, resulting in the inability to retrieve texture.image. (#59)
* Revert "Fix crash caused by float canvas size on minigame platform for some mobile phones." (#62)
This reverts commit 7fdf0fd.
* Fix memory leaks in Spine resource parsing on the web-side. (#65)
* Fix memory leaks in Spine resource parsing on the web-side.
* update external version
# Conflicts:
# native/external-config.json
* Fix the issue where the character controller’s group/mask was not set correctly (#64)
* Fix the issue that the implementation of Vec3 equals is inconsistent with the implementations of Vec2 and Vec4. (#57)
* Fix the issue that the implementation of Vec3 equals is inconsistent with the implementations of Vec2 and Vec4.
* Change approxEquals method to return boolean
* Fix formatting of approxEquals method
---------
Co-authored-by: hyde zhou <zlzhou.sh@outlook.com>
* Remove unneed function (#70)
* Remove unneed function
* Reorder import statement for approx in model.ts
---------
Co-authored-by: hyde zhou <zlzhou.sh@outlook.com>
* TextureRegion in Spine 4.2 is used during runtime, and the atlas must be released last. (#75)
* Fix out of memory for spine4.2
* update external version
* feat(minigame): 支付宝小程序添加安全区域获取功能 (#44)
* Fix crash on iOS when resuming download task. (#83)
* change increaseThreadCount position before sendImmediate (#87)
* fixing bytedance minigame file downloading blocking problem, using solution in 2.4.16
* 参考2.4.16,解决cocos在字节小游戏上下载文件,每隔2秒掉帧到30-40帧的问题。原因是_write方法里使用writeFileSync方法在字节小游戏上可能时长700ms,卡主游戏。修改方法是改成2.x的版本使用异步方法writeFile,cache-manager基本改成和2.4.16一样了
* 解决cocos在字节小游戏上下载文件,每隔2秒掉帧到30-40帧的问题。
* Fix the flickering issue in Spine that may occur when setting false first and then true within the same frame. (#84)
* 1.Fix Box2D JSB collision end callback 2.fix BeginContact/EndContact mismatch (#89)
* 1.基于 Box2D JSB 的2D物理系统 结束碰撞但不回调 2.回调个数BeginContact和EndContact不一致。
* recover logic of physics-2d/box2d-jsb/platform/physics-contact-listener.ts
* add physics-2d/box2d-jsb/physics-contact-manager.ts
* the logic is consistent with box2d-jsb & box2d (#93)
* the logic is consistent with box2d-jsb & box2d
* Add return type to register/unregisterContactFixture, fix lint
* update 3.8.9 version and external dep
* bump engine version to 3.8.9
---------
Co-authored-by: orchid-world <orchidworld@163.com>
Co-authored-by: bofeng-song <song2008_2001@126.com>
Co-authored-by: Leslie Leigh (李的序) <shrinktofit@outlook.com>
Co-authored-by: tangkai <1944876319@qq.com>
Co-authored-by: pengchengo <304829842@qq.com>25 files changed
Lines changed: 349 additions & 235 deletions
File tree
- cocos
- asset/assets
- core
- math
- physics-2d
- box2d-jsb
- box2d-wasm
- platform
- physics/physx
- character-controllers
- render-scene/scene
- scene-graph
- native
- cocos
- audio/apple
- editor-support
- spine-wasm
- network
- pal/minigame
- platforms/minigame/common/engine
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
59 | 65 | | |
60 | 66 | | |
61 | 67 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
959 | 959 | | |
960 | 960 | | |
961 | 961 | | |
962 | | - | |
963 | | - | |
964 | | - | |
965 | | - | |
966 | | - | |
| 962 | + | |
967 | 963 | | |
968 | 964 | | |
969 | 965 | | |
| |||
976 | 972 | | |
977 | 973 | | |
978 | 974 | | |
979 | | - | |
980 | | - | |
981 | | - | |
982 | | - | |
983 | | - | |
| 975 | + | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
984 | 979 | | |
985 | 980 | | |
986 | 981 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | 34 | | |
37 | 35 | | |
38 | 36 | | |
| |||
74 | 72 | | |
75 | 73 | | |
76 | 74 | | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | 75 | | |
97 | 76 | | |
98 | 77 | | |
| |||
108 | 87 | | |
109 | 88 | | |
110 | 89 | | |
| 90 | + | |
111 | 91 | | |
112 | 92 | | |
113 | 93 | | |
114 | 94 | | |
115 | 95 | | |
116 | | - | |
117 | 96 | | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | 97 | | |
122 | 98 | | |
123 | 99 | | |
| |||
130 | 106 | | |
131 | 107 | | |
132 | 108 | | |
133 | | - | |
134 | 109 | | |
135 | 110 | | |
136 | 111 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
444 | 445 | | |
445 | 446 | | |
446 | 447 | | |
447 | | - | |
| 448 | + | |
448 | 449 | | |
449 | 450 | | |
450 | 451 | | |
451 | 452 | | |
452 | | - | |
| 453 | + | |
453 | 454 | | |
454 | 455 | | |
455 | 456 | | |
456 | 457 | | |
457 | 458 | | |
458 | | - | |
| 459 | + | |
459 | 460 | | |
460 | 461 | | |
461 | 462 | | |
462 | | - | |
| 463 | + | |
463 | 464 | | |
464 | 465 | | |
465 | 466 | | |
| |||
468 | 469 | | |
469 | 470 | | |
470 | 471 | | |
471 | | - | |
| 472 | + | |
472 | 473 | | |
473 | 474 | | |
474 | 475 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
85 | 95 | | |
86 | 96 | | |
87 | 97 | | |
| |||
Lines changed: 23 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
| 33 | + | |
31 | 34 | | |
32 | 35 | | |
33 | 36 | | |
34 | 37 | | |
| 38 | + | |
35 | 39 | | |
36 | 40 | | |
37 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
38 | 49 | | |
39 | 50 | | |
40 | 51 | | |
41 | 52 | | |
42 | 53 | | |
43 | | - | |
| 54 | + | |
| 55 | + | |
44 | 56 | | |
45 | 57 | | |
46 | 58 | | |
47 | 59 | | |
48 | 60 | | |
49 | | - | |
| 61 | + | |
50 | 62 | | |
51 | 63 | | |
52 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
53 | 72 | | |
54 | 73 | | |
55 | | - | |
| 74 | + | |
56 | 75 | | |
57 | 76 | | |
58 | 77 | | |
| |||
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
| 71 | + | |
71 | 72 | | |
72 | | - | |
73 | | - | |
74 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
75 | 76 | | |
76 | 77 | | |
77 | 78 | | |
| |||
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
| 72 | + | |
72 | 73 | | |
73 | | - | |
74 | | - | |
75 | | - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
76 | 77 | | |
77 | 78 | | |
78 | 79 | | |
| |||
0 commit comments