Commit Graph

21511 Commits

Author SHA1 Message Date
tangkai b9618eb4de fix bug: in editor, when switch the button transition Type from Color to Sprite and to Scale, back to Color, the default Normal Color will be black (#17411)
* fix bug: in editor, when switch the button transition Type from Color to Sprite and to Scale, back to Color, the default Normal Color will be black

* check by eslint

* change EDITOR to EDITOR_NOT_IN_PREVIEW

* fix bug: in editor, when switch the button transition Type from Color to Sprite and to Scale, back to Color, the default Normal Color will be black
2024-07-26 15:07:10 +08:00
hyde zhou ccdf616594 support default framebuffer depth stencil (#17405) 2024-07-26 11:05:04 +08:00
James Chen d62373a3e3 fixed #17051: [native] Keep the same behavior of Promise rejection and multiple resolve as nodejs and web. (#17369)
* fixed #17051: [native] Keep the same behavior of Promise rejection and multiple resolve as nodejs and web.
And keep the same stack format as  web.

* Update ScriptEngine.h
2024-07-26 10:30:20 +08:00
hyde zhou 6960a91b02 make WebGL 1.0 optional (#17412) 2024-07-25 22:48:16 +08:00
hyde zhou 27221f5484 fix render window attach camera and resize logic (#17414) 2024-07-25 18:26:30 +08:00
bofeng-song 62addd9ceb Fix label's adapter can not work normally for mini-game platform(alipay, taobao, bytedance) (#17407) 2024-07-24 17:51:18 +08:00
bofeng-song 89f966f80b Since the online game is already using the Taobao API, it needs to be adapted by the engine. (#17406)
* Revert "Due to the single-instance version of the WebSocket, the onMessage response res contains only one layer of data. For compatibility with the online game, Taobao removed the extra layer of data (#17389)"

This reverts commit 2f4e6d3caa.

* Since the online game is already using the Taobao API, it needs to be adapted by the engine.
2024-07-24 09:39:52 +08:00
qiuguohua 52b4d8c18b Modify the display of the slash screen (#17290)
* Modify the display of the slash screen

* Modify default values

* Modify the first screen template for WeChat mini-games

* Using the fitWidth and fitHeight variables

* Fixed ci

* Optimized code

* Modify the adaptation of the splash screen

---------

Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
2024-07-23 16:13:57 +08:00
qiuguohua 6f630de1d1 Get the length of _dirtyRenderers directly (#17401)
Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
2024-07-23 11:35:25 +08:00
GengineJS 80fda0b685 add geometry (#17402) 2024-07-23 11:34:43 +08:00
hyde zhou 8fbc04d68a add reflection probe (#17388) 2024-07-22 10:17:30 +08:00
WingStone 6f7c011942 typo fixed (#17253) 2024-07-19 16:40:12 +08:00
qiuguohua 9a7414ba1c fix sys.os/sys.isMobile on minigame platform (#17396)
Co-authored-by: WenhaiLin <wenhai.lin@foxmail.com>
2024-07-19 16:03:32 +08:00
yanjifa c6794f9149 optimize safearea (#17359) 2024-07-19 15:23:25 +08:00
qiuguohua 46d0e425b3 Fixed the issue of coordinate offset in rich text (#17378)
Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
2024-07-19 11:32:04 +08:00
bofeng-song 71c2e314a3 Due to Google Play's minimum version requirement, upgrade the target API to 34 (#17392) 2024-07-19 10:37:01 +08:00
Cocos Robot 3a8a52dffa [ci skip][AUTO]: Automated code generating update: 9dbd7e5d24a8c8ac685fe9cdb1fecf82ada27efb (#17390) (#17393)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2024-07-19 10:10:26 +08:00
hyde zhou be8df4e59d Add custom pipeline config. (#17390) 2024-07-19 09:47:28 +08:00
bofeng-song b4ec47a115 Fix the issue where the completeListener in Spine does not trigger multiple times (#17387)
* Fix the issue where the completeListener in Spine does not trigger multiple times
2024-07-18 16:30:16 +08:00
bofeng-song 2f4e6d3caa Due to the single-instance version of the WebSocket, the onMessage response res contains only one layer of data. For compatibility with the online game, Taobao removed the extra layer of data (#17389) 2024-07-18 16:28:26 +08:00
tangkai ede81072aa 385 adapter the taobaominigame ClearLRU procedure (#17373)
* 385 adapter the taobaominigame ClearLRU procedure

* Extract common code

* rename the function _remove to _removePathOrFile

* shorter the warn log
2024-07-18 14:44:23 +08:00
GengineJS f6cc3b3fc7 Modify the method of adding a custom pipeline scene. (#17385) 2024-07-18 14:13:39 +08:00
bofeng-song c7109915f4 Fix missing constructor for spine.String & SkeletonBounds (#17376)
* Fix missing constructor for spine.String & SkeletonBounds
2024-07-18 11:19:04 +08:00
hyde zhou 2c8aac17a6 Refactor pipeline (#17382) 2024-07-18 10:40:09 +08:00
even ccc5d49938 Fixed an error when stopping previewing while particles are hidden (#17381) 2024-07-18 10:36:50 +08:00
媛媛 4c61824d28 change script uuid (#17380) 2024-07-17 16:56:34 +08:00
媛媛 ecbcd20cb0 add dependentScripts to buitin-pipeline (#17379) 2024-07-17 16:08:44 +08:00
hyde zhou 95bcd78afa simplify pipeline selection (#17377) 2024-07-17 16:04:21 +08:00
媛媛 9921a33593 hide pipeline module in editor (#17375) 2024-07-17 10:27:28 +08:00
vivi32767 c1f29fc365 fix taobao mini game MultiWebSocket some issues (#17349)
* fix taobao mini game MultiWebSocket refrence issue

* fix taobao mini game MultiWebSocket onMessage data format change issue
2024-07-17 09:40:13 +08:00
qiuguohua ce86b1206a Fix videoplay playback problem on ByteDance platform (#17362)
* Fix videoplay playback problem on ByteDance platform

* Modify member name from cameraNode to videoNode

---------

Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
2024-07-16 14:05:12 +08:00
minggo 1cbc7bb406 Revert "384 adapter the taobaominigame ClearLRU procedure (#17230)" (#17371)
This reverts commit bf4fcbe585.
2024-07-16 11:04:05 +08:00
bofeng-song 9b76e09077 Fix issues with WebSocket onMessage and onClose callbacks on the Taobao Mini Game platform. (#17360)
* Fix issues with WebSocket onMessage and onClose callbacks on the Taobao Mini Game platform.

* refine
2024-07-16 11:00:05 +08:00
tangkai bf4fcbe585 384 adapter the taobaominigame ClearLRU procedure (#17230)
* 384 adapter the taobaominigame ClearLRU procedure
1.taobao platform will clear tmp folder automatically.
2.when cachecount below 3, it will trigger LRU.
3.zip file, the path maybe is a zipfile.
2024-07-16 10:42:27 +08:00
hyde zhou e5349caf58 WebGL1 has no msaa (#17367) 2024-07-15 16:31:24 +08:00
hyde zhou c4969f4f47 refactor builtin-pipeline (#17363) 2024-07-15 10:55:25 +08:00
James Chen 08d95c5ea4 Add a tween unit test that parallel with two call tweens (#17357) 2024-07-12 08:29:05 +08:00
hyde zhou 91a40a0672 LDR enable postprocess (#17351) 2024-07-11 11:35:50 +08:00
qiuguohua 0af983ca86 Listen for changes to the canvas (#17350)
Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
2024-07-11 10:09:56 +08:00
hyde zhou 290789e32e Move builtin pipeline types to internal (#17348) 2024-07-10 15:16:58 +08:00
hyde zhou ca4e257ca6 Custom pipeline update license (#17347) 2024-07-10 12:31:58 +08:00
hyde zhou c184295aa4 Update pipeline after scene loaded and before rendering (#17345) 2024-07-10 10:39:30 +08:00
bofeng-song 141ebfba95 Fix spine's listener can not be removed (#17342)
* Fix spine's listener can not be removed
2024-07-09 18:48:51 +08:00
bofeng-song ea0018b9c6 Use the API to determine if the Taobao platform supports websocket multiple instances. (#17336)
* Use the API to determine if the Taobao platform supports websocket multiple instances.
2024-07-09 17:17:17 +08:00
hyde zhou 7b563e6ecf fix disabled shadow inconsistency (#17337) 2024-07-09 16:05:09 +08:00
James Chen 1aa1e56709 Fix some eslint errors in particle, asset, core, rendering modules. (#17289) 2024-07-09 13:39:22 +08:00
James Chen be96cb7e3c Update actions version in workflows yml. (#17334)
Also fix iOS action runner halt.
2024-07-09 13:36:06 +08:00
hyde zhou 1590096f91 fix dangling reference caused by vector resize (#17331) 2024-07-09 11:16:32 +08:00
GengineJS 44a8a81fc1 Optimize the depthattachment of renderpass and fix the webgpu sampler type error and fix the problem that webgpu post-processing does not work (#17335) 2024-07-09 11:09:22 +08:00
Cocos Robot 5a26ee33c6 [ci skip][AUTO]: Automated code generating update: 35eaf75df61f47315e11fcb56d8f5534df56d57a (#17332) (#17333)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2024-07-09 11:00:05 +08:00