Commit Graph

18834 Commits

Author SHA1 Message Date
zhakesi 5eb972b571 fix spine crash (#13321) 2022-11-10 16:26:47 +08:00
ycg 1abec3483c support safeArea on TaoBao. (#13260) 2022-11-08 11:21:51 +08:00
ycg 98f35d7729 support landscape on TaoBao (#13259)
* support landscape on TaoBao
2022-11-08 11:19:10 +08:00
ycg 02c5717ba9 Fix: XMLHttpRequest failed to get header on TaoBao (#13119)
* Add Note and  rename.

* Fix: XMLHttpRequest failed to get header

* Fix: Modify the default value of Headers.

* Rename to MAX_AMOUNT_WEBSOCKET.

* Rename some function.
2022-10-25 11:07:37 +08:00
ycg 01b2632af6 Adapter Network (#13074)
* Adapter  Network

* Modify _triggerEvent to private method

* Fix: Only one WebSocket can be created at the same time.
2022-10-18 16:10:59 +08:00
ycg d9b3c18210 Adapter Rendering, Editbox, Label and Audio. (#13025)
* Adapter System-info on Taobao

* add  'zh_CN'  for  iPad

* Adapter  screen-adapter on Taobao

* Remove useless comments

* Adapter EditBox and Label

* Adapter Audio

* Fix: GL.getUniformLocation returns an incorrect value

* Add @typescript-eslint/no-unsafe-return
2022-10-14 15:55:06 +08:00
ycg 1181b10f29 Adapter screen-adapter on Taobao (#12922)
* Adapter System-info on Taobao

* add  'zh_CN'  for  iPad

* Adapter  screen-adapter on Taobao

* Remove useless comments
2022-09-28 13:36:19 +08:00
PP 6bb3c084cd fix: undefined window.__globalAdapter && loading remote image on Taobao IDE (#12901)
* fix: undefined window.__globalAdapter

* fix: loading remote image on Taobao IDE
2022-09-27 10:13:50 +08:00
ycg 31ad5ab9e1 Adapter System-info on Taobao (#12867)
* Adapter System-info on Taobao

* add  'zh_CN'  for  iPad
2022-09-27 09:52:30 +08:00
PP 8a1b31e0ba support Taobao platform (#12819)
* add taobao adapter

* add TAOBAO platform

* add templates

update templates

* fix: readJsonSync can't work on Taobao platform

add TODO

* fix: update import-map

* fix: ban splash screen on Taobao platform

* fix: adapt image loading

* fix: MINIGAME on Taobao platform

* update constant manager

* optimize: skip splash screen on Taobao

* fix: @ separator on Taobao platform

* Revert "fix: @ separator on Taobao platform"

This reverts commit 18903291807ef3263c27a90ad67753da7e531142.

* fix: @

* fix: undefined canvas.addEventListener

* fix: minigame.isDevTool

* fix: createCanvas on canvasOnReady hook

* optimize: event register

* optimize: onCanvasCreated name
2022-09-21 14:50:03 +08:00
troublemaker52025 91b377968d [Bug] fix spotAngle according to code merging error (#12801) 2022-09-16 17:59:28 +08:00
江战 4947bb039a fix mac gradlew path (#12800) 2022-09-16 16:24:58 +08:00
黄森斌 809e91f295 update CN i18n words (#12778) 2022-09-15 14:51:26 +08:00
Leslie Leigh (李的序) fbe3b543c4 Fix adjustTransitionPriority in case of serialization (#12770)
* Fix adjustTransitionPriority in case of serialization

* Fix lint
2022-09-15 10:41:56 +08:00
timlyeee 3e7d44925f [BUG] Decoder returns a wrong bytesPerFrame. (#12771)
As it forget to calculate the channel count for multi-channel audio
2022-09-15 09:44:34 +08:00
James Chen b0600bd89e fixed #12772: Node.pause/resumeSystemEvent not working on native platform. (#12773) 2022-09-15 09:43:28 +08:00
徐兵 df68547421 add terrain surface shader (#12764) 2022-09-14 17:57:51 +08:00
Myway 4ae7ada548 fixed rebuild normal error (#12767)
* fixed terrain lod error for lodEnable change

* using standard light map uniform for terrain effect

* fix eslint error for terrain.ts

* use @engineInternal tag for TerrainRenderable._lightmap

* add @engineInternal for terrain block interface

* remove @engineInternal for terrain brush interface

* fixed rebuild normal error
2022-09-14 17:53:50 +08:00
Myway 83c7721fd1 remove @engineInternal for terrain brush interface (#12766)
* fixed terrain lod error for lodEnable change

* using standard light map uniform for terrain effect

* fix eslint error for terrain.ts

* use @engineInternal tag for TerrainRenderable._lightmap

* add @engineInternal for terrain block interface

* remove @engineInternal for terrain brush interface
2022-09-14 17:35:14 +08:00
fqamic 18d2d57447 improve: update external version and remove some redundant codes (#12759)
* feat: update external version

* improve: remove redundancy code
2022-09-14 16:45:40 +08:00
Myway 99955ee864 fixed terrain lod error for lodEnable change (#12761)
* fixed terrain lod error for lodEnable change

* using standard light map uniform for terrain effect

* fix eslint error for terrain.ts

* use @engineInternal tag for TerrainRenderable._lightmap

* add @engineInternal for terrain block interface
2022-09-14 15:59:46 +08:00
mmyduckx 9f64efb024 fix parser HttpRequestHeader (#12757)
* fix parser HttpRequestHeader
2022-09-14 15:29:33 +08:00
LeeYip 44dd12a6fe [fix] bmfont uv bug when overflow is clamp (#12374) 2022-09-14 11:42:39 +08:00
zhakesi 8332386fe5 fix web spine color format rgba8 (#12715)
* fix web spine color format rgba8

* refactor some code
2022-09-14 11:08:44 +08:00
黄森斌 93f1aa579f [Bug] fix node change undo error (#12714)
* fix node change undo error

* change to ENglish comment
2022-09-14 10:38:09 +08:00
江战 d09c211cf9 V3.6.1 fix android path contains space on windows (#12754)
* fix android path

* fix Run windows build
2022-09-14 10:17:08 +08:00
黄森斌 43a91b1099 [Optimize] tooltip i18n data add extension prefix name (#12741)
* tooltip add extension prefix name

* test case
2022-09-14 10:16:47 +08:00
bofeng-song 1cb8a2aec7 [bug] Fixed that some key events were not dispatched (#12744) 2022-09-13 17:26:25 +08:00
mmyduckx ee2e6e9f0f fix multi-download in iOS (#12743) 2022-09-13 17:22:59 +08:00
Cocos Robot 57338526e2 [ci skip][AUTO]: Automated code generating update: c38c91d2fe9dde23349f582892493b1b721f2ec0 (#12739) (#12740)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-09-13 17:09:50 +08:00
PP e6e964af15 fix: EventTouch.getAllTouches() should not include changedTouches when it's TOUCH_END (#12700) 2022-09-13 17:08:57 +08:00
江战 297c3fcd4f remove reference (#12739) 2022-09-13 14:12:36 +08:00
ChiaNing 6ec93687b5 mask node active bug fix (#12734)
* mask node active bug fix

* misc
2022-09-09 19:33:49 +08:00
ChiaNing 2f1567bb7d mask interface deprecated (#12667)
* mask interface deprecated

* fix

* warn add

* warnid

* msic
2022-09-09 16:34:43 +08:00
fqamic b7c717492f improve: update engine to support xr development (#12727)
* improve: update engine to support xr development
1.Fixed slider moving in wrong direction
Use local coordinates for determination
2.fix: XR error opening thread detach
The build supports Vulkan and OpenGLES, but when the device does not support Vulkan, the XR platform cannot support thread detach.
3.update xr common

* fix: clang tidy error

* improve: update external version
2022-09-09 16:09:27 +08:00
zhakesi ef9392829c remove uimeshbuffer sync to native floatsPerVertex (#12722) 2022-09-09 10:55:50 +08:00
bofeng-song 526e41bfa8 [bug] fix game thread block by set wrong _loopTimeOut (#12724)
* [bug] fix game thread block by set wrong _loopTimeOut
2022-09-08 18:23:05 +08:00
江战 6ef5179b4a fix path error (#12720) 2022-09-08 17:08:52 +08:00
zxx43 a6f7d1d2f1 V3.6.1 do gravity transform only if open gravityFactor (#12696)
* calculate gravity if have gravityFactor

* use EPSILON instead

* use approx instead
2022-09-08 10:54:19 +08:00
zxx43 9795785786 check gpu material if use cpu particle (#12707) 2022-09-08 10:15:26 +08:00
江战 319f4c89cc Remove std::optional for Xcode 12 / iOS 11 (#12708) 2022-09-08 09:31:33 +08:00
jk20012001 ce2e7616e8 [fix] compiling error (#12709) 2022-09-07 17:45:02 +08:00
zhakesi 7d0bbbb2e9 revert lock skinned-mesh-render transform (#12706) 2022-09-07 14:39:49 +08:00
jk20012001 9a2dbb830d [fix] default colored texture support for effect texture cube parameters (#12697) 2022-09-07 11:49:20 +08:00
troublemaker52025 158a0d7a04 [Bug] fix shadow truncation error with native-engine (#12698) 2022-09-07 10:15:50 +08:00
oahc09 448c093cf4 improve:remove IXRInteraface's dependent from GFXDevice.h (#12690)
* improve:remove IXRInteraface's dependent from GFXDevice.h

* improve:remove IXRInteraface's redundant code from DeviceValidator.h/cpp
2022-09-06 17:44:46 +08:00
timlyeee 1494b2eb3b Fix file commit fault (#12685) 2022-09-06 14:06:23 +08:00
timlyeee 8d180c6605 Fix comment (#12686) 2022-09-06 13:38:35 +08:00
fqamic 2d337f6508 fix: xr platform gradlew permission denied, on mac (#12683)
copy from android platform
2022-09-06 09:35:29 +08:00
troublemaker52025 87ab491462 [Bug] Fixed csm define set error (#12680) 2022-09-05 17:56:20 +08:00