Commit Graph

10174 Commits

Author SHA1 Message Date
ChiaNing b85a367309 fix label bug (update UV when texture change) (#8041)
* fix label bug (update UV when texture change)

* Circular reference fix
2020-12-28 20:41:22 +08:00
Santy-Wang 77925094f2 avoid waiting too long when fps is is low (#8040) 2020-12-28 19:40:01 +08:00
Yun Hsiao Wu d2bb41a1d7 adapt gfx changes (#8019) 2020-12-28 17:23:06 +08:00
Leslie Leigh (李的序) f9cc7387f2 Add AnimationState.current, AnimationState.ratio (#8037) 2020-12-28 16:24:45 +08:00
Santy-Wang 45b452d392 refine 3.0 dragon-bones native sdk (#8035) 2020-12-28 16:19:07 +08:00
Knox e075f81f45 Fixed 2D particle system not rendering sprite frame reporting an error. (#8033)
* Fixed 2D particle system not rendering sprite frame reporting an error.

* fix eslint

* fix eslint

* refine code

* fix eslint
2020-12-28 14:12:20 +08:00
Leslie Leigh (李的序) 0dd04b4d3f Accessibility & Linting fix for AnimationState (#8034)
* Accessibility & Linting fix for AnimationState

* Update

* Update
2020-12-28 11:53:47 +08:00
ChiaNing 66555423da ui pass refactoring (#8024)
* ui pass refactoring

* native fix & blend hash update

* doc update
2020-12-26 18:42:14 +08:00
Knox e801634278 improve web view code (#8030) 2020-12-26 17:58:54 +08:00
ChiaNing 4461eb1d12 DynamicAtlas support (#8017)
* DynamicAtlas support

* CI fix
2020-12-26 14:28:30 +08:00
Leslie Leigh (李的序) 4d2b741a4a Bump typescript@4.1.3 (#8028) 2020-12-26 14:07:32 +08:00
Leslie Leigh (李的序) 886ead9842 Optimize WASM binary path emit (#8027) 2020-12-26 13:48:13 +08:00
Santy-Wang 75d8b8add2 Lint asset manager (#8002)
* lint asset manager and refine d.ts

* refine

* refine d.ts
2020-12-25 20:43:44 +08:00
PP 9fd8e6be28 optimize jsb.deivce.getDeviceOrientation (#8007) 2020-12-25 17:27:29 +08:00
jiaxin.lai d169d90713 support constraints auto-scaling (#8015)
* lint

* cannon constraint support auto-scaling

* fix kinematic/static body

* tweaks

* remove onLoad that was not necessary

* ammo constraint support auto-scaling

* physx joint refactor

* using fastRemoveAt
2020-12-25 16:36:18 +08:00
媛媛 e318e60827 support label and description for categories (#8022)
* support category

* remove module-division

* update

* revert .fbx.meta
2020-12-25 15:53:34 +08:00
jiaxin.lai 29a71884c1 fix tween when property equals 0 (#8018)
* fix tween when property equals 0

* more check

* tweaks
2020-12-25 15:44:19 +08:00
Leslie Leigh (李的序) 2756594747 Profiler -> Run Stats (#8021)
* Profiler -> Run Stats

* Update

* Update
2020-12-25 15:23:49 +08:00
cary 368fe4ca94 Set depthStencilAttachment store to discard. (#8016) 2020-12-25 14:36:47 +08:00
Leslie Leigh (李的序) 6b5a9b413a Features I18N (#8020) 2020-12-25 12:57:51 +08:00
jiaxin.lai 717fc2d73f destroy image on jsb (#8011) 2020-12-25 10:28:07 +08:00
PP 81182a87f8 adapt videoPlayer on OPPO (#8013) 2020-12-25 09:55:17 +08:00
JoneLau fc62709146 remove padding display, and fix safeMeasureText code hint (#8012) 2020-12-24 19:23:07 +08:00
echoooooo dabc6f2188 fix: _initEvents() called twice (#8010) 2020-12-24 19:12:04 +08:00
Santy-Wang ad4bff3988 Restructure Module (#7968)
* module restructure

* refine

* restructure module

* merge

* revert

* fix ci

* update import path of unit-test

* split 2d and ui

* add more module

* change audio adapter

* rename primitive

* config wechat plugin

* merge

* add category config

* merge

* merge
2020-12-24 19:07:26 +08:00
cary f15be6fe1e Modify the forward rendering process and remove UIFlow. (#7940) 2020-12-24 16:09:31 +08:00
jiaxin.lai 0dc393b884 3d physx (#8005)
* support physx physics engine

* tweaks

* stash contact event

* update @cocos/physx

* basic event impl

* stash

* support BYTEDANCE

* stash

* stash

* fix inertia

* PhysX mesh collider

* PhysX static trimesh geometry

* PhysX terrain collider

* add kinematic

* bytedance plane collider

* bytedance v2

* support trigger

* bytedance triangle mesh support

* raycast filter

* raycast support

* stash all

* stash

* center of mass

* stash

* stash fixed joint

* stash

* stash

* physx hinge joint

* physx distance joint

* tweaks

* tweaks

* bytedance raycast

* tweaks

* update mass

* tweaks

* tweaks

* joint

* stash

* bytedance adapters

* tweaks

* stash

* apply force/impulse

* add updateEventListener

* Fixed some loose usage

* add getShapeFlags/getShapeMaterials

* tweaks

* optimize bytedance adapter

* fix isStaticsOrKinematic

* support cylinder & cone

* contact normal

* update @cocos/physx to 1.0.0-beta.5

* rigid body tweaks

* add syncAfterEvents

* hinge constraint

* filter static - static

* ammo refactor

* cannon refactor

* ammo p2p constraint refactor

* update @cocos/ammo to 1.0.8

* lint ammo

* more lint

* docs

* tweaks

* avoid direct use globalThis
2020-12-24 13:45:03 +08:00
owen f811378b7f 3.0 spine native sdk adapter (#7999) 2020-12-24 10:25:34 +08:00
troublemaker52025 8a57007acb fix repeatedly created camera errors (#8006)
* fix repeatedly created camera errors

* protected map.geter()

* update
2020-12-23 19:17:50 +08:00
Leslie Leigh (李的序) a069eeca2f Optimize shader sources build (#7998)
* Optimize shader sources build

* Linting

* HTML5, WeChat branch

* Comment
2020-12-23 16:29:58 +08:00
Leslie Leigh (李的序) aa3cf70c04 Fix @cocos/build-engine: enumerate-dependent-chunks error (#8004) 2020-12-23 15:36:25 +08:00
Leslie Leigh (李的序) 1c9f4b44f7 Optimize ESLint CI: exclude deleting changes and non code file (#8003) 2020-12-23 13:31:53 +08:00
troublemaker52025 17c4946b66 Canvas split 2D camera (#7987)
* update

* update

* update

* update

* fix eslint error

* update

* update

* Add protection mechanism

* fix pr

* fix pr

* createCamera() changed public

* revert

* revert

* update

* fix  remove camera component error

* update

* update
2020-12-22 18:36:30 +08:00
pandamicro 9b75d50b1b Improve game mainLoop safety (#7796)
* Improve game mainLoop safety

* Fix ci

* Fix ci

* Fix game pause state set

* Fix game init timing

* Fix camera component imports

* Fix eslint warnings

* allow dangling underscores

* Fix more warning
2020-12-22 18:19:40 +08:00
yeshao2069 9c61746852 fix bug : when the page window changes, the content in the widget will not change (#7988)
* fix bug :

when the page window changes, the content in the widget will not change

* update

when the page window changes, the content in the widget will not change

* update

fix error

* update

Optimized writing
2020-12-22 11:48:54 +08:00
Knox 9a85d48a37 improve onLoadedMetadata in jsb-videoplayer (#7993) 2020-12-22 11:43:59 +08:00
Santy-Wang c92fe2d81e fix release issue in editor (#7997) 2020-12-22 11:27:47 +08:00
cary db5eafc4a9 Fix the problem of inaccurate calculation of curve interpolation. (#7994)
* Fix the problem of inaccurate calculation of curve interpolation.

* fix eslint error
2020-12-22 10:31:37 +08:00
PP aa631d81b2 support loading subpackage on Bytedance platform (#7995) 2020-12-22 10:24:08 +08:00
黄森斌 8f84a26320 update terrain doc link (#7985) 2020-12-21 15:57:41 +08:00
Santy-Wang e141dd2537 Revert "Optimize wasm fetching (#7979)" (#7992)
This reverts commit 52c710934e.
2020-12-21 15:19:18 +08:00
媛媛 22343ac441 change the default value of multi in render config from true to false (#7991) 2020-12-21 15:01:56 +08:00
Leslie Leigh (李的序) 52c710934e Optimize wasm fetching (#7979) 2020-12-18 18:33:50 +08:00
江战 1bff13636c [3.0] rename dragonbones to dragon-bones (#7984)
* rename dragonbones -> dragon-bones

* add files
2020-12-18 18:29:03 +08:00
Santy-Wang 477ca2cb5f Revert "Canvas split Camera (#7955)" (#7983)
This reverts commit d0e7e6d9a4.
2020-12-18 14:47:09 +08:00
JoneLau e267479e41 optimized layout (#7970)
* optimized layout

* type If none, do nothing
2020-12-18 14:08:21 +08:00
Leslie Leigh (李的序) 6e547e22fb Revert spine's export; optimize StatsQuery (#7982)
* Revert spine's export; optimize StatsQuery

* Update version
2020-12-18 11:48:21 +08:00
troublemaker52025 d0e7e6d9a4 Canvas split Camera (#7955)
* revert

* fix eslint ci

* fix ci

* update

* update
2020-12-18 11:12:53 +08:00
黄森斌 a803f7e618 update some internal asset files version (#7981) 2020-12-18 10:53:06 +08:00
Knox 3bcd7b339b improve video player code (#7980)
* improve video player code

* refine code
2020-12-18 10:51:18 +08:00