Commit Graph

211 Commits

Author SHA1 Message Date
bofeng-song b789f774a1 support loadSubpackage for taobao mini game (#14345) 2023-02-24 14:55:05 +08:00
bofeng-song 882887cb9f support taobao mini game (#14324) 2023-02-22 10:34:17 +08:00
zhakesi 4f9c1674b7 fix debug graphics show ahead of time (#14074) 2023-02-07 10:32:02 +08:00
SijieWang 05df12deb8 [Optimize][web-adapter] Reduce irrelevant logs (#13946) 2022-12-29 11:16:08 +08:00
bofeng-song 26bd717d0f Fix the native platform using the wrong FontFace (#13932) 2022-12-28 14:46:42 +08:00
王凯鹏 0c96b6110b [Bug] fix : rename require in editor env (#13843) 2022-12-17 15:21:53 +08:00
江战 f6854cd16e native introduce jsb.window (#13816) 2022-12-16 13:50:59 +08:00
zhakesi d79b84d41c fix dragonbones in editor running with native engine (#13754)
* fix dragonbones in editor running with native engine

* add native ccfactory function getDragonBonesDataByUUID
2022-12-09 11:04:21 +08:00
zhakesi 222608bfd1 fix native dragonbones component not init ui contentSize (#13678) 2022-12-08 11:33:02 +08:00
SijieWang 9ca363e821 [Bug] format and fix dispatchEvent(new Event) bug (#13710)
(cherry picked from commit 565f6c5a10a1ec2f1e4ed36b4a8ddc033249d981)
2022-12-07 15:22:13 +08:00
PP 547cc1454d fix: fallback for subpackeg loading on ByteDance platform (#13644) 2022-12-05 13:53:07 +08:00
mmyduckx 20863b9198 add editbox callback parameter & emit by ralated event (#13623)
* add editbox callback parameter & emit by ralated event

* add comment
2022-12-05 12:00:20 +08:00
minggo 8d8c283b59 Merge branch 'v3.6.3' into merge-v3.6.3 2022-11-28 13:37:25 +08:00
王凯鹏 def92e7a23 fix: web-adapter needs to adapt editor (#13518) 2022-11-23 19:18:46 +08:00
minggo 5b88e5121d Merge branch 'v3.6.3' into merge_v3.6.3 2022-11-23 16:19:25 +08:00
ycg 02d9cd805b Update to English notes. 2022-11-23 15:49:11 +08:00
ycg 071ee7edb7 Merge branch 'v3.6.1-taobao' into v3.6.3 2022-11-23 14:10:14 +08:00
zhakesi af81f8b553 fix beginSchedule when spine component with no onEnable called. (#13279)
* fix beginSchedule when spine component with no onEnable called.

* fix dragonbones beginSchedule
2022-11-23 13:36:36 +08:00
troublemaker52025 074a886f2e [feature] Add compressed mipmap (#13226) 2022-11-21 14:20:56 +08:00
PP 63ea860a21 HMR (#12524) (#13202) (#13427)
Co-authored-by: Leslie Leigh <leslieleigh@outlook.com>
2022-11-21 09:53:26 +08:00
mmyduckx 4683ab1e87 Do not support blob in native (#13402)
* xhr do not support blob
2022-11-18 10:36:08 +08:00
zhakesi 011a71f732 optimize spine/dragonbones material update (#13416)
* optimize spine/dragonbones material update

* add material assets depends for dragonbones
2022-11-18 10:15:40 +08:00
zhakesi 0985cbe03e fix spine/dragonbones begin-schedule (#13370)
* fix beginSchedule when spine component with no onEnable called.

* fix dragonbones beginSchedule
2022-11-18 10:12:51 +08:00
Yiwen b0e9b0bda0 support fixed constraint (#13209)
* support fixed constraint

* fix typo

* fix typo

* add missing files, clean code

* update cocos/bullet version, remove unused file

* update package version

* update package lock

* fix issues
2022-11-14 10:15:45 +08:00
Yiwen d34ce17a70 PhysX backend use SphericalJoint as its Point2point implementation. (#13245)
* use the correct joint type in PhysX backend

* update
2022-11-10 08:44:18 +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
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
zhakesi c7761e5c19 middleware2d components rendering in native mode (#12788)
* middleware2d components rendering in native mode

* support spine/dragonbones set enable batch

* support spine rendering in batching mode

* get batcher2d instance from root

* process about with type conversion

* fix some code style

* use material hash to merge draw batch

* deal with fill z

* fix dragonbones fill z

* remove some code no used any more

* refactoring some code

* modify some code

* add free memory

* fix clang-tidy

* delete mesh-buffer-layout in destructor

* byte alignment
2022-09-20 13:31:33 +08:00
zhakesi a388541901 spine/dragonbones renderdata use rgba8 color format (#12619)
* add color4b format

* render-2d adapter color format

* spine dragonbones use simple color

* rename V3F_T2F_C4B

* use attributes to init mesh buffer

* remove Vertex2DFormat
2022-09-01 21:44:19 +08:00
zhakesi c48074b0ee fix middlware2d clip (#12605) 2022-08-30 13:39:55 +08:00
minggo 5778aab354 Merge branch 'v3.6.0' into merge_v3.6 2022-08-08 10:49:46 +08:00
bofeng-song 9c7df0123c context2d support shadow attribute at Android platform (#12332) 2022-08-08 10:14:59 +08:00
PP 1787c416a5 convert OpenDataContext template into es5 (#12334) 2022-08-04 19:08:13 +08:00
zhakesi a6909e876f fix spine tint (#12263) 2022-07-29 11:12:17 +08:00
zhakesi dc91a469ae use native middleware buffer (#12233)
* use native middleware buffer

* fix clang-tidy

* fix clang-tidy

* set useLinkData as meshBuffer's property

* refactoring some code

* set 2d.ini

* fix word component

* fix clip middleware2d

* ...

* function attributes to getAttributes
2022-07-28 19:00:30 +08:00
ChiaNing c538fd6d18 change Renderable2d name (#12213)
* change Renderable2d name

* misc

Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com>
2022-07-27 14:25:14 +08:00
Santy-Wang 07facb9bf1 optimize memory (#12157) 2022-07-23 15:28:25 +08:00
zhakesi e18e900162 support spine/dragonbones use local native batcher2d (#12141)
* support spine/dragonbones use local native batcher2d

* avoid tiled map use local

* render-entity add set use local

* modify some code

Co-authored-by: zhakesi <zhakesi@foxmail.com>
2022-07-22 12:54:15 +08:00
timlyeee fc4f024327 update documentations of reflection, bridge and jsbBridgeWrapper (#12097) 2022-07-21 18:31:30 +08:00
Ling Zhan 2fcd242b18 fix physx create terrain height out of range (#13252) (#12100) 2022-07-21 10:35:44 +08:00
minggo 3c264e53ac Revert "V3.6.0 reflection refact (#12096)" (#12102)
This reverts commit 5b9b98f759.
2022-07-20 17:02:17 +08:00
timlyeee 5b9b98f759 V3.6.0 reflection refact (#12096)
* Move reflection and bridge implementation from jsb to native

* remove from jsb.d.ts

* remove jss
2022-07-20 15:32:15 +08:00
Zhang mingzhen 12625f09d8 RenderDrawInfo code sorting (#12055)
* remove blendHash and DrawInfoAttrLayout

* remove code in cpp

* remove blend hash in ts

* remove blendhash of middleware in ts

* remove rebundant code

* remove stencilStage in drawinfo

Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
2022-07-19 13:35:54 +08:00
yangchao 3973cf0a0c fix : video player state show error (#11992) 2022-07-16 17:50:27 +08:00
zhakesi 775d2b43cc set buffer size for middleware (#12013) 2022-07-15 14:21:55 +08:00
ChiaNing eeb210d55b fix ui render custom material bug (#11989)
Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com>
2022-07-14 17:28:27 +08:00